Omgili - forum search, search forums  
  

Discussions about comment node

Displaying 1 - 10 out of 10,171 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I wish all nodes of a certain type to have a rank (or at least be sortable in Views by this rank). This rank is a score based on different criteria: Voting API (5-star rating) average, Voting API number of votes, number of comments etc. Any suggestions...
Started by on , 4 posts by 4 people.  
Views can be a bit overwhelming ....
Start by looking at the views doc, and find some modules doing this and look at their code .
You would have to create your own views sort handler, where you calculate the ranking score and sort the nodes by that.
Please suggest some algorithm to find the node in a tree whose distance to its farthest node is minimum among all the nodes. Its is not a graph and it is not weighted.
Started by on , 6 posts by 6 people.  
Once you've Dijkstra'd every node, another scan will give) , where v is the....
node in turn, to find all the distances from that node to every other node; scan the resulting list to get the distance to the farthest node.
Presuming that I don't know the name of my base node or its children, what is the XPath syntax for "all nodes exactly one below the base node?" With pattern being an XmlNode, I have the following code: XmlNodeList kvpsList = pattern.SelectNodes(@"//")...
Started by on , 4 posts by 4 people.  
The two current answers are wrong: /*/* does not select all nodes that are children of ....
/*/* is saying "match every node that are exactly one below the base node.
In the XML document, no matter how deep into the hierarchy it is .
Ask your Facebook Friends
I am using auto node title which will generate the title of a node. However, this is not happening when I create a node using node_save. See below: function save_contact($firstName, $lastName, $email, $showErrors = false) { global $user; $edit = array...
Started by on , 3 posts by 3 people.  
Line 74 of *auto_nodetitle.module* return empty($node->auto_nodetitle_applied) && ($setting = auto_nodetitle_get_setting($node->type)) && !($setting == AUTO_NODETITLE_OPTIONAL && !empty($node.
Hi, I have a Treeview where on selecting a node the attributes and values has to be displayed in listbox. In treeView1_AfterSelect, the text parsing code depends on the textual representation for a node in the tree view, which can be changed at any time...
Started by on , 3 posts by 3 people.  
The usual solution is to store the XmlNode in the Tag property: TreeNode tn = new TreeNode(); tn.Text = name; tn.Tag = xmladdtreeNode; and in the AfterSelect... .
If I understand the question correctly you want to get back to the XmlNode when a TreeNode is selected .
I'm making a custom list of nodes and their comments. I'd like to be able to both constrain the number of nodes (easy: Items per page refers to nodes in this case) but also constrain the number of comments displayed per node (e.g. the 5 most recent): ...
Started by on , 3 posts by 3 people.  
You might need to do a combination of views and a little custom code to get the final result :/ according to the views developper here http://drupal.org/node/353872 is almost impossible to do in... .
I can't think of an easy way to do this in views alone .
Here's a question about repeated nodes and missing values. Given the xml below is there a way in XPath of returning (value2, null, value5) rather than (value2, value5)? I'm using an expression that looks like: /nodes/node[*]/value2/text() To retrieve ...
Started by on , 3 posts by 3 people.  
Values = nodes.collect do |node| node.at_xpath/node">....
Put the collected values into the # "values" array.
Xml) # Get an array of nodes nodes = doc.xpath('/nodes/node') # For each node, get its value.
I wanted to test the following code (which works fine for a non-null list) to see what would happen in the case of an empty list (in which case the head would be null). hence the code which applies to filling the list is commented out.. But for some strange...
Started by on , 4 posts by 4 people.  
Allocate head before insertion : node * head = new node; memset(head, 0, sizeof(node));.
Than standard output, as the error stream is not buffered .
I'm translating my C# code for YouTube video comments into PHP. In order to properly nest comment replies I need to re-arrange XML nodes. In PHP I'm using DOMDocument and DOMXPath which closely corresponds to C# XmlDocument. I've gotten pretty far in ...
Started by on , 5 posts by 4 people.  
"\n"; /....
In your example, the parent node of $importnode is null, because it has been imported;getNamedItem("href")->nodeValue .
Just use $domNode->parentNode; to find the parent node.
So it does have parent_node property.
I have a web.sitemap like this: <siteMapNode url="~/Default.aspx" title="Home" description="" > <siteMapNode title="Node 1" description=""> <siteMapNode url="" title="Node 1-1" description="" /> <siteMapNode url="" title="Node 1-2...
Started by on , 3 posts by 3 people.  
To skip a SiteMapsDataSource you can skip the root node....
ShowStartingNode property to false (and, as noted in the comment above, decrement" runat="server" ShowStartingNode="false" /> Of course, this only works for the root node.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost