17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1227 Views |
-
need help w blog widgets

25 March 2008 at 4:54am
hi smart ppl,
i'm a total newbie w ss, and w programming... but determined to figure out what i need to in order to get this stuff working. My blog widgets are showing up in my secondary navigation, which would likely be fine if i was using the standard SS template, but since i'm not, it really doesn't work! the prob is that i'm not sure which file controls the placement of blog widgets, or how, exactly, the placement is controlled... can someone point me in the right direction?
the site i'm in the midst of converting to work w SS is:
http://www.theafricaprojecttz.com/thanks for your help!!
Kellie
-
Re: need help w blog widgets

25 March 2008 at 8:50am
Hi there -
the individual template files that control the rendering of widgets are sapphire/templates/WidgetHolder.ss and sapphire/templates/WidgetArea.ss
If you wanted to customise it instead of using the defaults just put code like this in your templates:
<div id="Widgets">
<% control Widgets %>
<div class="myCustomWidgetArea">
<p class="widgetTitle">$Title</p>
$Content
</div>
<% end_control %>
</div> -
Re: need help w blog widgets

27 April 2008 at 12:28am
Hi,
I have just copy and pasted the bit about "<% control Widgets %?>" - but it does not work. Can you put this in <template>/template/Page.ss?
| 1227 Views | ||
|
Page:
1
|
Go to Top |

