![]() |
Widget: Latest Articles In Section
1 Attachment(s)
Latest Articles In Section What is does: vBCMS only has one option for latest articles and that is all sections and categories. This widget will allow you to display the latest articles in a specific section. Change Log: 1.0 - Initial Release 1.1 - Updated to allow more than one section & display published date. 1.2 - Small update, no need to update unless you are using a table prefix. 1.3 - Added full page text if no previewtext row exists. 1.4 - Updated to not show unpublished articles. 1.5 - Updated read more link to look more vBulletin related. 1.6 - Small change to fix 4.0.2 [ATTACH] showing in text. Installation:
When clicking on your section you should see something like this: The number after ? in this case 11 is your section id. Can I enter more than one section id? Yes simply change $section = '11' to something like $section='11, 12, 13' Code to copy(make sure you change $section and $limit!) PHP Code:
https://vborg.vbsupport.ru/attachmen...1&d=1265896582 For Category Mod See Here: https://vborg.vbsupport.ru/showthread.php?t=232440 |
not working database error
|
Thank you very much OcR Envy, works perfectly.
Any chance to get one for most viewed and one for most commented articles per sections and/or categories? =) |
Quote:
Quote:
1.2 Updated - Small update for people using a table prefix should resolve any database errors. |
my box show nothing id have to change in my id
i use vbseo |
Quote:
There are other ways to find the Section ID. Go to your AdminCP-vBCMS-Section Manager. Hover over the section you want. The link should look like this: Code:
http://www.domain.com/admincp/cms_content_admin.php?do=filter§ionid=116&contenttypeid=17 |
Hi,
whats the 150px image for? It also seems like that the preview text code does not work :( |
OcR Envy, there's a way to print the section, subsection and/or categories from the article in the widget?
Thanks =) |
I also got an error.
I changed the section to one of my sections HTML Code:
Parse error: syntax error, unexpected $end in /usr/www/users/saj716/a_customxxxxxxxxx/forum/packages/vbcms/widget/execphp.php(171) : eval()'d code on line 44 |
Could u make it automatically get the section ID from the section clicked?
|
All times are GMT. The time now is 12:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|