Header Change

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-18-2009, 08:19 PM
New Pligger
 
Join Date: Apr 2009
Posts: 6
Hello,

I've looked everywhere but I keep finding posts from different versions. Also, I have attempted to modify the code and I got a bunch of error messages.

Header.tpl code I believe is this:

<div id="logo"><a href="{$my_base_url}{$my_pligg_base}">{#PLIGG_Visu al_Name#}</a></div>

That is "My Site" right? Okay, if I had a logo that takes up the entire width of the website, like 900x30 pixels or whatever, what should the code look like? because I tried doing this and I get fatal error messages. Thank you for your time.
Reply With Quote
  #2 (permalink)  
Old 04-19-2009, 03:57 AM
New Pligger
 
Join Date: Feb 2009
Posts: 1
HI,

<div id="logo"><a href="{$my_base_url}{$my_pligg_base}"><img src="{$my_pligg_base}/templates/{$the_template}/images/YOURLOGO.gif" width=900 height=30 border="0";><a href="{$my_base_url}{$my_pligg_base}"></a></a></div>

BR,
L
Reply With Quote
  #3 (permalink)  
Old 04-20-2009, 02:55 AM
Donor
 
Join Date: Jun 2007
Posts: 289
cool.. or you can use

style="width:900px;height:30px;border:none;"
Reply With Quote
  #4 (permalink)  
Old 04-23-2009, 06:23 AM
oobie11's Avatar
Constant Pligger
Pligg Version: 1.0
Pligg Template: Custom, wistie
 
Join Date: Apr 2009
Location: Monterey, CA
Posts: 148
hi, I changed my header and it works perfectly except that there is a space in front of it, I have tried to align the div tag to left or center, but it still has the space to the left of my logo. My logo is a table with a few links in it if that has anything to do with it. Thanks.
Reply With Quote
  #5 (permalink)  
Old 04-23-2009, 06:36 AM
oobie11's Avatar
Constant Pligger
Pligg Version: 1.0
Pligg Template: Custom, wistie
 
Join Date: Apr 2009
Location: Monterey, CA
Posts: 148
figured it out, had to make the padding for "logo" 0px in my styles.css file.
Reply With Quote
  #6 (permalink)  
Old 05-15-2009, 09:00 AM
New Pligger
 
Join Date: May 2009
Posts: 3
@lamp IT dint work some fatal error occurred and even after replacing code it din't work...
can anyone help
Reply With Quote
  #7 (permalink)  
Old 07-02-2009, 03:35 PM
New Pligger
 
Join Date: Jul 2009
Posts: 7
the same, I can't figure out what the problem is???the code is strange
Reply With Quote
  #8 (permalink)  
Old 07-02-2009, 03:50 PM
New Pligger
 
Join Date: Jul 2009
Posts: 7
no matter what i put in the code <I assume is HTML> it shows this error

Parse error: syntax error, unexpected '{' in /home/kulturop/public_html/saab/cache/templates_c/c_867a4b3de44b7e006ca3463f8b616092.php on line 33

****!
Reply With Quote
  #9 (permalink)  
Old 07-02-2009, 08:05 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.1.4
Pligg Template: Mainstream
 
Join Date: Jun 2009
Posts: 89
Send a message via Skype™ to MissDanni
The admin template editor seems to always give errors.

What I Do:

Download the header file to your PC and make the changes there and then upload back to your server.
Reply With Quote
  #10 (permalink)  
Old 07-02-2009, 09:03 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Quote:
Originally Posted by gzleus View Post
no matter what i put in the code <I assume is HTML> it shows this error

Parse error: syntax error, unexpected '{' in /home/kulturop/public_html/saab/cache/templates_c/c_867a4b3de44b7e006ca3463f8b616092.php on line 33

****!
Looks like you have an extra or missing bracket { in a .tpl file.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
Reply

Tags
logo

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change pligg 1.0 Header lipsmega Questions and Comments 5 09-20-2009 11:45 AM
Black collor change header thestandard template. MarioF Questions and Comments 2 08-08-2009 10:38 AM
how do i change text in header danfef Questions and Comments 2 07-04-2009 04:26 PM
How Change at header Pligg beta 9 Home newsinventory Questions and Comments 3 01-25-2009 05:47 PM
I like to change the header text , how can I change header in pligg templates ryukenden Questions and Comments 0 03-15-2008 01:59 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development