-
-
Replied to
So how do...
> So how do I do it?
> Do I use site identity?
> Do I make a module for each kind of ad?
> Do I edit the theme?
> Do I edit something else?
>
> I want a half banner at the top.
> I want some smaller ads on either side.
> Maybe one somewhere in the center or at the
> end.- Create banner zone and put your banner there on Admin → Banners
- Put the on SI and enable the checkbox "Site ads and banners" and Publish checkbox
Example code to put in the Content area:Copy to clipboard<div style="margin-top: 2px; margin-right: 3px; position: absolute; top: 0; right: 0;">{banner zone=Firefox}</div>
For left/right column you can use another banner zone banners using the in custom module which you have to create on Admin → Modules.-
dogshed
> > So how do I do it?
>
> > Do I use site identity?
> > Do I make a module for each kind of ad?
> > Do I edit the theme?
> > Do I edit something else?
> >
> > I want a half banner at the top.
> > I want some smaller ads on either side.
> > Maybe one somewhere in the center or at the
> > end.
>
> # Create banner zone and put your banner there on Admin → Banners
> # Put the on SI and enable the checkbox "Site ads and banners" and Publish checkbox
>
> Example code to put in the Content area:Copy to clipboard<div style="margin-top: 2px; margin-right: 3px; position: absolute; top: 0; right: 0;">{banner zone=Firefox}</div>>
> For left/right column you can use another banner zone banners using the in custom module which you have to create on Admin → Modules.I got this:
Fatal error: Smarty error: in evaluated template line 1: syntax error: expecting '=' after attribute name 'top' (Smarty_Compiler.class.php, line 1555) in /home/dogshed/public_html/lib/smarty/libs/Smarty.class.php on line 1095Do we need the locations if we are using site identity?
-
dogshed
> > > So how do I do it?
> >
> > > Do I use site identity?
> > > Do I make a module for each kind of ad?
> > > Do I edit the theme?
> > > Do I edit something else?
> > >
> > > I want a half banner at the top.
> > > I want some smaller ads on either side.
> > > Maybe one somewhere in the center or at the
> > > end.
> >
> > # Create banner zone and put your banner there on Admin → Banners
> > # Put the on SI and enable the checkbox "Site ads and banners" and Publish checkbox
> >
> > Example code to put in the Content area:Copy to clipboard<div style="margin-top: 2px; margin-right: 3px; position: absolute; top: 0; right: 0;">{banner zone=Firefox}</div>> >
> > For left/right column you can use another banner zone banners using the in custom module which you have to create on Admin → Modules.
>
> I got this:
> Fatal error: Smarty error: in evaluated template line 1: syntax error: expecting '=' after attribute name 'top' (Smarty_Compiler.class.php, line 1555) in /home/dogshed/public_html/lib/smarty/libs/Smarty.class.php on line 1095
>
> Do we need the locations if we are using site identity?it needed id=something
I thought that was optional-
dogshed
> > > > So how do I do it?
> > >
> > > > Do I use site identity?
> > > > Do I make a module for each kind of ad?
> > > > Do I edit the theme?
> > > > Do I edit something else?
> > > >
> > > > I want a half banner at the top.
> > > > I want some smaller ads on either side.
> > > > Maybe one somewhere in the center or at the
> > > > end.
> > >
> > > # Create banner zone and put your banner there on Admin → Banners
> > > # Put the on SI and enable the checkbox "Site ads and banners" and Publish checkbox
> > >
> > > Example code to put in the Content area:Copy to clipboard<div style="margin-top: 2px; margin-right: 3px; position: absolute; top: 0; right: 0;">{banner zone=Firefox}</div>> > >
> > > For left/right column you can use another banner zone banners using the in custom module which you have to create on Admin → Modules.
> >
> > I got this:
> > Fatal error: Smarty error: in evaluated template line 1: syntax error: expecting '=' after attribute name 'top' (Smarty_Compiler.class.php, line 1555) in /home/dogshed/public_html/lib/smarty/libs/Smarty.class.php on line 1095
> >
> > Do we need the locations if we are using site identity?
>
> it needed id=something
> I thought that was optionalCopy to clipboard<div id=htb style="margin-top:2px; margin-right:3px; position:absolute; top:0;right:0; ">{banner zone=home top banner}</div>-
dogshed>dogshed
> > > > > So how do I do it?
> > > >
> > > > > Do I use site identity?
> > > > > Do I make a module for each kind of ad?
> > > > > Do I edit the theme?
> > > > > Do I edit something else?
> > > > >
> > > > > I want a half banner at the top.
> > > > > I want some smaller ads on either side.
> > > > > Maybe one somewhere in the center or at the
> > > > > end.
> > > >
> > > > # Create banner zone and put your banner there on Admin → Banners
> > > > # Put the on SI and enable the checkbox "Site ads and banners" and Publish checkbox
> > > >
> > > > Example code to put in the Content area:Copy to clipboard<div style="margin-top: 2px; margin-right: 3px; position: absolute; top: 0; right: 0;">{banner zone=Firefox}</div>> > > >
>
> > > > For left/right column you can use another banner zone banners using the in custom module which you have to create on Admin → Modules.
> > >
> > > I got this:
> > > Fatal error: Smarty error: in evaluated template line 1: syntax error: expecting '=' after attribute name 'top' (Smarty_Compiler.class.php, line 1555) in /home/dogshed/public_html/lib/smarty/libs/Smarty.class.php on line 1095
> > >
> > > Do we need the locations if we are using site identity?
> >
> > it needed id=something
> > I thought that was optional
>Copy to clipboard<div id=htb style="margin-top:2px; margin-right:3px; position:absolute; top:0;right:0; ">{banner zone=home top banner}</div>That didn't work either.
-
dogshed>dogshed
> > > > > > So how do I do it?
> > > > >
> > > > > > Do I use site identity?
> > > > > > Do I make a module for each kind of ad?
> > > > > > Do I edit the theme?
> > > > > > Do I edit something else?
> > > > > >
> > > > > > I want a half banner at the top.
> > > > > > I want some smaller ads on either side.
> > > > > > Maybe one somewhere in the center or at the
> > > > > > end.
> > > > >
> > > > > # Create banner zone and put your banner there on Admin → Banners
> > > > > # Put the on SI and enable the checkbox "Site ads and banners" and Publish checkbox
> > > > >
> > > > > Example code to put in the Content area:Copy to clipboard<div style="margin-top: 2px; margin-right: 3px; position: absolute; top: 0; right: 0;">{banner zone=Firefox}</div>> > > > >
> > > > > For left/right column you can use another banner zone banners using the in custom module which you have to create on Admin → Modules.
> > > >
> > > > I got this:
> > > > Fatal error: Smarty error: in evaluated template line 1: syntax error: expecting '=' after attribute name 'top' (Smarty_Compiler.class.php, line 1555) in /home/dogshed/public_html/lib/smarty/libs/Smarty.class.php on line 1095
> > > >
> > > > Do we need the locations if we are using site identity?
> > >
> > > it needed id=something
> > > I thought that was optional
> >Copy to clipboard<div id=htb style="margin-top:2px; margin-right:3px; position:absolute; top:0;right:0; ">{banner zone='home top banner'}</div>apostrophes around 'home top banner'
-
-
-
-
-
Gary Cunningham-Lee
Comments here should be about the documentation itself. For questions about how to use TikiWiki, etc., please post at http://tikiwiki.org/tiki-forums.php. More people will see the questions there.
-- Gary
So how do I do it?
Do I use site identity?
Do I make a module for each kind of ad?
Do I edit the theme?
Do I edit something else?
I want a half banner at the top.
I want some smaller ads on either side.
Maybe one somewhere in the center or at the
end.