The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
CMS Widget question
Hi, I have a simple Static HTML widget showing in the sidebar of my CMS.
I have a number of pages of articles, but only want it to display on page 1, so it's on only displayed on one SINGLE page (I.E: just the homepage) Is there a way of doing that? |
#2
|
||||
|
||||
Since you set a layout for a section, if you don't want the articles to have the same layout as the Home section, then put them in a different Section and give it a layout without that widget.
|
#3
|
|||
|
|||
The issue I have is that I want the widget to show on
http://www.domain.com/content.php but not on: http://www.domain.com/content.php?page=2 http://www.domain.com/content.php?page=3 http://www.domain.com/content.php?page=4 http://www.domain.com/content.php?page=5 etc. Do you see what I mean? |
#4
|
|||
|
|||
Once you create a new section in the "admincp --> section manager", you may assign the new section a new layout.
1.) Pre-create a new section layout via the "admincp -> Layout Manager". This will contain your new or different widgets. 2.) Create new section in the admincp. 3.) Assign content to this new section. (Make sure it is published). 4.) Select your 'Articles' or 'Home' tab and select your new section. 5.) Now select via the 'pencil' and edit the section layout. Note - On an existing section you can also assign a different layout. Use the 'Pencil' editor on the section page. This is what @Lynne was referring too, I just expanded it. |
Благодарность от: | ||
evelynpriscilla |
#5
|
|||
|
|||
Thanks both for your help, but perhaps I'm not making clear what I'm trying to do. I don't want to customise a different section. I'm trying to customise pages of the same section
My homepage shows the latest 12 articles in my CMS. There are multiple pages to my homepage showing the rest of the articles. The user navigates to the other pages using the tool at the bottom of the page (pictured below). I just want to ensure that the widget only appears on p.1 of the CMS (i.e. the homepage), and not the other 6 pages. Does that make sense? Sorry if it already did and I'm just widely misinterpreting your replies. Attachment 148908 |
#6
|
|||
|
|||
I see what you are looking for. There is an old post on vBulletin.org where I show how to do something similar (simply modify the widget code, I think). Let me see if I can find it. If not, I will re-post as soon as I have the time. Glad you took the time to clarify the question.
|
#7
|
|||
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|