Hi.
I want to add another box (like the about pligg) box on the right side of the side, with my own text.
So how do I do that????
Thank you
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| How do I add another about pligg box???? |
| |||
|
I'm not clear about step: Quote:
and if I do the rest of your instructions I see the new box on the right side, however the whole site gets misaligned... Am I doing something wrong??? |
| ||||
|
My apologies, I had copied my adding an adsense instructions and forgot to change the file name to mycontent.tpl. You can find these instructions on thread: http://www.pligg.com/forum/showthread.php?t=5013 All you would have to do is replace the adsense code with the code you want in your box. Again sorry for the confusion. OneLessThang |
| |||
|
Ok, I must be doing something wrong, because I keep getting the same misalignment problem. here is what I did; In templates>yget>sidebar>modules 1. Create new file adsense.tpl 2. Cut and paste code needed for sidebar module into adsense. Code: <div class="tlb">
{php}
echo "<span><img src=\"".my_pligg_base."/templates/yget/images/expand.png\" onClick=expandcontent(this,'s1') ></span> ";
{/php}
<a href="#">Sponsored Links</a>
</div>
To place your Add here, please contact us.
Thank you
</div>
1. Open sidebar.tpl file in 2. Add this line of code where ever you want the side bar to show up templates>yget>sidebar>modules Code: {config_load file="/libs/lang.conf"}
{if $user_authenticated ne true} {* show only if NOT logged in *}
{assign var=sidebar_module value="about_box"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{/if}
{checkActionsTpl location="tpl_sidebar_top"}
{if $user_authenticated ne true} {assign var=sidebar_module value="login"}{include file=$the_template_sidebar_modules."/wrapper2.tpl"} {/if}
{assign var=sidebar_module value="sidebar_stories_u"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{assign var=sidebar_module value="sidebar_stories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{assign var=sidebar_module value="categories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{if $enable_tags eq 'true'} {assign var=sidebar_module value="tags"}{include file=$the_template_sidebar_modules."/wrapper.tpl"} {/if}
{assign var=sidebar_module value="rss"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{assign var=sidebar_module value="adsense"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
What am I doing wrong????? |
| ||||
|
Change this Code: <div class="tlb">
{php}
echo "<span><img src=\"".my_pligg_base."/templates/yget/images/expand.png\" onClick=expandcontent(this,'s1') ></span> ";
{/php}
<a href="#">Sponsored Links</a>
</div>
To place your Add here, please contact us.
Thank you
</div>
Code: <div class="tlb">
{php}echo "<span> <a onclick=\"new Effect.toggle('ads','blind', {queue: 'end'}); \"> <img src=\"".my_pligg_base."/templates/yget/images/expand.png\"> </span>"; {/php}
<a href="#">Sponsored Links</a>
</div>
<div id="ads">
To place your Add here, please contact us.
Thank you
</div>
__________________ I accept donations for my time helping users like you on the forum and IRC. |
| The Following 2 Users Say Thank You to kbeeveer46 For This Useful Post: | ||
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pligg integration with SMF Forum | autoinc | Modification Tutorials | 64 | 05-19-2008 02:22 AM |




Linear Mode

