Quote:
Originally Posted by Lynne
If the user has the permission to do so, there should be a Promote to Article link on the Blog entries.
As for the php article, I can give you my quick query that simply lists all the articles in one particle section. You can modify it to do what you want:
PHP Code:
$myquery2 =vB::$vbulletin->db->query_read_slave($myquery = "SELECT cms_nodeinfo.title AS title FROM cms_nodeinfo RIGHT JOIN cms_node ON (cms_node.nodeid=cms_nodeinfo.nodeid) WHERE cms_node.parentnode = 2 AND cms_node.contenttypeid = 18");
while ($myarts = vB::$vbulletin->db->fetch_array($myquery2))
{
$output .= $myarts['title']."<br />";
}
So, change parentnode to a different value for each section. (Also, verify that the contenttypeid for Articles should be 18 for your site.) That should at least get you started.
|
Sorry, I didn?t find how to do it.
I already changed the values but just get text from the title, but not content or images from the articles.
I don?t know about PHP, SQL or programming.
--------------- Added [DATE]1371772558[/DATE] at [TIME]1371772558[/TIME] ---------------
Well, after research a lot, I find this one:
https://vborg.vbsupport.ru/showthread.php?p=1949493
This solve that part. Just a question, is there anyway to have on this mod the same image for "read more" that in the rest of my sections?