I'm a newbie and need a bit of help. I want to add a "related sites" sidebox to my template. I'm using the standard yget template. I see that the sidebox instructions are in sidebar.tpl, so I duplicated the line
Code:
{assign var=sidebar_module value="sidebar_stories_u"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
sidebar_stories_u to related_sites
Found the sidebar_stories_u.tpl file in the sidebar_modules directory, so I duplicated that to related_sites.tpl
Changed the contents of that (sidebar_stories_u.php) to related_sites.php.
Then, I duplicated sidebar_stories_u.php and named it related_sites.php.
So now, in related_sites.php, I changed the PLIGG_Visual_Top_Today to PLIGG_Related_Sites and added the lines
Code:
//<SECTION>MAINPAGE</SECTION><ADDED>0.5</ADDED> PLIGG_Related_Sites = "Related Sites"
Now, I would expect to see two boxes of Top Today items, but one with the label "Related Sites". Does anybody know what I've done wrong? Is there an easier way to add another box? Once I fix the box heading issue, how can I replace it with static HTML to just link to a site?
Thanks for any and all suggestions!
Steve




Linear Mode

