Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-11-2006, 05:27 AM
Constant Pligger
 
Join Date: Nov 2006
Posts: 150
Thanks: 30
Thanked 15 Times in 11 Posts
Send a message via MSN to disier
Lightbulb Digital nature 3 Columns

almost done here is the test site http://meneame.tanibol.com but I need uno or any of you help me to put my second sidebar i use sidebar.tpl and sidebar2.tpl but i just can call sidebar.tpl

in pligg.tpl i use this:
Code:
		<div id="sidebar">
 	 	 {include file=$tpl_right_sidebar.".tpl"}
		 {include file=$tpl_left_sidebar.".tpl"}
		</div>
		<div id="sidebar2">
 	 	 {include file=$tpl_right_sidebar.".tpl"}
		 {include file=$tpl_left_sidebar.".tpl"}
		</div>
when i try to call sidebar2.tpl send me an error tell me how to fix this please.
Reply With Quote
  #2 (permalink)  
Old 12-11-2006, 01:12 PM
Pligg Donor
Pligg Version: SVN 1306
Pligg Template: yget - for themost part
 
Join Date: Jan 2006
Location: Knoxville, TN
Posts: 31
Thanks: 6
Thanked 10 Times in 6 Posts
Send a message via MSN to futurepioneer
you need to set smarty up to see it

open /libs/smartyvariables.php

find
$main_smarty->assign('tpl_right_sidebar', $the_template . '/sidebar');
add below it
$main_smarty->assign('tpl_left_sidebar', $the_template . '/sidebarleft');

(sidebarleft is whatever your other sidebar tpl file is called)

the code in the .tpl file should look something like

<div id="sidebar">
{include file=$tpl_right_sidebar.".tpl"}
</div>

<div id="sidebarleft"> {* this is css *}
{include file=$tpl_left_sidebar.".tpl"} {* this is smarty *}
</div>


You still need to set your CSS up for this to be placed right (or left) on the page

I am in a hurry - so forgive me if I have something wrong
Reply With Quote
The Following 2 Users Say Thank You to futurepioneer For This Useful Post:
  #3 (permalink)  
Old 12-11-2006, 02:37 PM
Constant Pligger
 
Join Date: Nov 2006
Posts: 150
Thanks: 30
Thanked 15 Times in 11 Posts
Send a message via MSN to disier
Talking

Quote:
Originally Posted by futurepioneer View Post
you need to set smarty up to see it

open /libs/smartyvariables.php

find
$main_smarty->assign('tpl_right_sidebar', $the_template . '/sidebar');
add below it
$main_smarty->assign('tpl_left_sidebar', $the_template . '/sidebarleft');

(sidebarleft is whatever your other sidebar tpl file is called)

the code in the .tpl file should look something like

<div id="sidebar">
{include file=$tpl_right_sidebar.".tpl"}
</div>

<div id="sidebarleft"> {* this is css *}
{include file=$tpl_left_sidebar.".tpl"} {* this is smarty *}
</div>


You still need to set your CSS up for this to be placed right (or left) on the page

I am in a hurry - so forgive me if I have something wrong
Thank you very much thats was the only part the i miss the smarty

THANK YOU, now is done http://noticias.tanibol.com
Reply With Quote
  #4 (permalink)  
Old 12-18-2006, 05:43 PM
New Pligger
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
I like the sidebar on the right. I want to do mine sort of like that.

Thanks for the inspiration.

Last edited by J5ONFIELD; 12-18-2006 at 06:12 PM..
Reply With Quote
  #5 (permalink)  
Old 12-18-2006, 05:53 PM
spheero's Avatar
Casual Pligger
 
Join Date: Dec 2006
Posts: 42
Thanks: 14
Thanked 7 Times in 5 Posts
I get this on FF2...

Reply With Quote
  #6 (permalink)  
Old 12-21-2006, 09:10 PM
Constant Pligger
 
Join Date: Nov 2006
Posts: 150
Thanks: 30
Thanked 15 Times in 11 Posts
Send a message via MSN to disier
Im working on that bug, UNU told me maybe is a open CSS that is causing the problem on firefox and Opera.
Reply With Quote
  #7 (permalink)  
Old 12-22-2006, 07:23 AM
unu unu is offline
Casual Pligger
 
Join Date: Nov 2006
Posts: 54
Thanks: 1
Thanked 25 Times in 9 Posts
Quote:
Originally Posted by disier View Post
Im working on that bug, UNU told me maybe is a open CSS that is causing the problem on firefox and Opera.
I posted the 3 column code in the "DN" thread
Reply With Quote
The Following User Says Thank You to unu For This Useful Post:
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Nobody Cares about Digital Nature Jake "Digital Nature" 9 12-06-2007 04:47 PM
Digital Nature to Pligg 9.5 erico "Digital Nature" 15 09-07-2007 02:26 AM
[Fixed] Digital Nature - problem of category Daidy Bug Report 6 02-16-2007 05:47 AM
Digital Nature: Clickable "Pligg" Logo? popo General Help 0 01-17-2007 01:59 PM
Digital Nature Official Forum kbeeveer46 "Digital Nature" 9 12-25-2006 12:24 AM


Search Engine Friendly URLs by vBSEO 3.2.0