PDA

View Full Version : Removing Widget after home page?


Eruantien
01-05-2011, 03:45 PM
Okay, so on my site, I have a video widget that automatically plays a video when you come to the site. When a user then navigates to an article on the CMS, the widget is still there and thus replays. Is there a way to only get the widget to play on the home page?

My thanks in advance.

Lynne
01-05-2011, 04:07 PM
One option is to put all your articles in another section with a different layout. Otherwise, if you are going to leave your articles in the same section, and thus using the same layout, you will need to create a custom template for the widget (enter the template name on the Configure screen) and put a condition around it to only show it on the first page. Or, if this is a php widget, then you can just use php to do that. What you do depends on the type of widget you are using.

Eruantien
01-05-2011, 04:13 PM
Thanks Lynne. When I go to make a new section, it just puts it under my only section (by default). I am not sure how to do the other option you presented as I am not a developer.

Lynne
01-05-2011, 04:20 PM
I know making a new section puts it under the original section. But, you may set a new layout for that new section that doesn't include the video widget.

Eruantien
01-05-2011, 04:22 PM
Thanks Lynne! You're awesome as usually.

--------------- Added 1294251878 at 1294251878 ---------------

I'm not see the option to set each sub-section's layout. Can you point me in that direction?

Lynne
01-05-2011, 04:34 PM
Go to the section, hover over the section title, click the edit pencil.

I would suggest reading the CMS documentation - http://www.vbulletin.com/forum/content.php/151-How-To-CMS

Eruantien
01-05-2011, 04:39 PM
Thanks Lynne!