The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Template Code Help
I have created a new widget but, I want to have the nice little box around the widget... What is the code I need for a new template to have the nice little rounded corner box around my widget?
I tried taking the vbcms_widget_static_page template code a getting rid of some of the stuff in there but, I can't make it work.. |
#2
|
||||
|
||||
Did you try looking at the template vbcms_widget_searchwidget_page ? It is used around the Recent Blog Posts widget and has the rounded corners and nice box.
|
#3
|
|||
|
|||
That is what I meant to say I was using (sorry) but, I can't seem to figure out what to take out so that my advert code (in the widget) will show up in the box. Right now I just get a blank box...
|
#4
|
||||
|
||||
And what is showing up in the page source? Is anything there? Did you configure your widget? I don't really know from what you wrote exactly what you are trying to do and what you have done to accomplish it.
|
#5
|
|||
|
|||
Here is the template I wrote or more or less edited from vbcms_widget_searchwidget_page
Code:
<div class="cms_widget"> <div class="block"> <div class="cms_widget_content"> </div> </div> </div> When I configured the code in the widget it was just a basic script code that loads an ad from another page. Looks similar to the ad on the left hand side of the page... |
#6
|
||||
|
||||
What 'type' of widget did you create? And exactly what did you enter in the Configure box?
|
#7
|
|||
|
|||
I created a static html widget and used the below code in the configuration...
|
#8
|
|||
|
|||
center is deprecated element
http://www.w3.org/TR/REC-html40/pres....html#h-15.1.2 |
#9
|
||||
|
||||
If you replace that code with just "hello", do you see anything? When troubleshooting, it's always best to figure out where you are going wrong and the first thing you want to find out is if it is seeing your input at all.
|
#10
|
|||
|
|||
nope...
not yet... The ad works without the template... though |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|