The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
CMS- Insert code between articles in home page - any help?
I would like to insert ad code between articles in main content in the home page.
So, for example, tell the CMS that after article preview 1, 4 and 8 insert adsense code. Any help where and how has this to be done? The preview will be something like this (CMS Home page): HEADER PREVIEW ARTICLE 1 <code inserted> PREVIEW ARTICLE 2 PREVIEW ARTICLE 3 PREVIEW ARTICLE 4 <code inserted> PREVIEW ARTICLE 5 PREVIEW ARTICLE 6 PREVIEW ARTICLE 7 PREVIEW ARTICLE 8 <code inserted> PREVIEW ARTICLE 9 PREVIEW ARTICLE 10 So i would like to know which is the template to edit and the contitional to tell, after preview_articles (1,4,8) insert <this adsense code> Thanks !!! |
#2
|
|||
|
|||
any idea?
Thx!!! |
#3
|
||||
|
||||
The previews are spit out in template vbcms_content_article_preview so perhaps you can add something to the bottom of that.
|
#4
|
|||
|
|||
Yes, thanks, I have tried this, but the problem is how to say that I want that code only after article_preview 1,5,9,...
At the moment it shows in all article_previews, i need a condition to show only after the article_preview positions I want. Thanks for your response! |
#5
|
|||
|
|||
any idea?
|
#6
|
||||
|
||||
I really don't know without digging into the code more.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|