The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
first post vbcms
how can i insert ads only at 1st article of every cms page.
something like insert ads at 1st post of the thread. what condition code should i use at the vbcms_page template ? thanks. |
#2
|
|||
|
|||
any help?
|
#3
|
||||
|
||||
You should be able to add it to the vbcms_content_article_page template. That is the template that shows the article and then the list of comments.
|
#4
|
|||
|
|||
Quote:
Eg. -- cms 1st article of the page -- -- ads -- -- cms 2nd article of the page -- -- cms 3rd article of the page -- -- cms 4th article of the page -- . . . |
#5
|
||||
|
||||
Oh, I was thinking you wanted it on the article page, not on the section page. The section page would be template vbcms_content_article_preview, for the individual previews, but I think if you are listing them in one column, then it is template vbcms_content_section_type1 that spits them out. If you look in that, you can see this:
HTML Code:
<vb:if condition="$id != 1"> cms_separator</vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|