The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi everybody.
I was wondering if it was possibile, in some way, to configure CMS Front Page Primary Content in order to fetch articles ONLY from e selectable subset of sections. I look for informations, finding several threads on vbulletin.com: For instance: this one or this one this one is the most interesting... Anyway, it seems (even after a long trial session with my vbulletin installation) that's it's not possible: you can choose to display article from ALL subsections, or to display articles only from current section. Is it correct? Does anybody the same issue and already tried to create a mod for this or now in which file the query is written, in order to perform such "exclusion" directly in code? Thanks --------------- Added [DATE]1283836783[/DATE] at [TIME]1283836783[/TIME] --------------- Found it. The query is performed in file packages/vbcms/collection/content/section.php Adding the condition "AND node.parentnode NOT IN (SectionID_List)" to ON clause, it works. |
#2
|
|||
|
|||
![]()
Hi scarex,
Can you please explain a bit more how you fixed it? What change should I make in the section.php file? Where should I make it? Thanks in advance, Robert |
#3
|
|||
|
|||
![]() Quote:
Before $sql statement, I declared the following variable PHP Code:
PHP Code:
|
#4
|
|||
|
|||
![]()
Could you be more specific plz. How to exclude f.e. "section 19" to be listed from cms home?
|
#5
|
|||
|
|||
![]()
Ok, so this removes the whole section, not just from the CMS home.
anyone else any suggestion on how to not display a certain section on the CMS index, but do allow the section to be viewed? |
#6
|
|||
|
|||
![]()
I would really REALLY to exclude certain sections from aggregating on the main CMS page..
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|