Support Forums

Modifying the default template in v4.

This is a discussion on Modifying the default template in v4. within the Templates, HTML, CSS, and Design Help forums, part of the General category; Mike N Toch, I got it. Once again thanks or you information. Charlie...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

This topic is closed.

This topic is closed to new replies.

 
Thread Tools Display Modes
Old 05-14-2008, 04:34 AM   #11
Junior Member
 
Join Date: Apr 2008
Posts: 29
Rep Power: 14
Charlie Broown is on a distinguished road
Default layout.tpl

Mike N Toch,

I got it. Once again thanks or you information.

Charlie
Charlie Broown is offline  
Old 05-19-2008, 06:33 PM   #12
Senior Member
 
Join Date: Oct 2006
Posts: 133
Rep Power: 23
manilaboy is on a distinguished road
Default

Quote:
Originally Posted by Mike-N-Tosh
The book is coming along slowly. There's a lot to cover with a script as powerful as 68c is.

As far as your issue with your "testing" template...
Make sure that you uploaded your revised layout.tpl file to your testing folder (I know it sounds basic, but we've all make simple mistakes before)

Try clearing out your templates_c directory (that's where the compiled smarty pages are kept)

Did you ever use the "purple" template and then change the template from the pulldown menu within that? If so, then you will need to delete the cookie file in your browser. It would be listed as yoursite and template.

Hope that helps,
-Mike
Hi Mike,

Any news about your real estate and other templates?
__________________
Mike D.
manilaboy is offline  
Old 05-20-2008, 06:22 AM   #13
Junior Member
 
Join Date: Apr 2008
Posts: 29
Rep Power: 14
Charlie Broown is on a distinguished road
Default Title and Footer

Hi. Mike. I followed your advice on changing the title. I had successfully changed the tile from 68 classifieds to myown. However, on Friday I saw the title changed from myown back to 68 cassifieds. I check the template and the template reads myown. I have have tryied to modify and retype the templete and save it. I then go to the web and the 68 classified name is still on the web. any suggestions?

Thanks.
Charlie Broown is offline  
Old 06-20-2008, 06:13 PM   #14
Senior Member
 
Join Date: Apr 2007
Posts: 100
Rep Power: 21
jj30 is on a distinguished road
Default

Hi

I have just tried to insert a logo instead of the text.

I thought I had copied it from the notes sheet, but I must have missed something.

I did it in dreamweaver, and hightlighted the code in yellow saying something with missing or incorrect.

I put the image, in the image folder. There was spaces in the title of the file, does that make a difference ?

Any common mistakes beginners make.

Thanks
jj30 is offline  
Old 06-20-2008, 07:11 PM   #15
Member
 
Mango's Avatar
 
Join Date: Mar 2007
Posts: 18
Rep Power: 19
Mango is on a distinguished road
Default

If there are spaces in the file and not in your layout then yes, this will cause an issue. They both need to be identical.
__________________
Regards,

Mango
v4.0.9
Mango is offline  
Old 06-21-2008, 03:29 AM   #16
Senior Member
 
Join Date: Apr 2007
Posts: 100
Rep Power: 21
jj30 is on a distinguished road
Default

Thanks

the file I put in the images I called Tt Header Logo.gif

And that is how I placed it.

I am going to try again, if it comes up incorrect I will post it on here to see if anyone can spot anything.

Many Thanks.
jj30 is offline  
Old 06-21-2008, 08:43 AM   #17
Senior Member
 
Join Date: Apr 2007
Posts: 100
Rep Power: 21
jj30 is on a distinguished road
Default

Any help would be most appreciated.


This is what I have inserted through dreamweaver, and it doesnt like it, rows 3,4 & 5 are highlighted in yellow and it says there is something incorrect.

<div id="logo">
{* This portion is the site title. The top left corner. *}
<a href="index.php" title="Transporter Transitions">
<img src=""{$smarty.const.URL}/templates/default/images/Tt header Logo.gif
width="400" height="75"
</div>

I have tried it with the 2nd line missing also, thou I am not sure if it is needed ?

Thanks
jj30 is offline  
Old 06-21-2008, 10:38 AM   #18
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

First off I would recommend changing the name of the image to not have spaces. Then you have some messed up html. It should be:
Code:
<div id="logo">
{* This portion is the site title. The top left corner. *}
<a href="index.php" title="Transporter Transitions">
<img src="{$smarty.const.URL}/templates/default/images/Tt header Logo.gif" width="400" height="75" />
</a>
</div>
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 06-21-2008, 11:26 AM   #19
Senior Member
 
Join Date: Apr 2007
Posts: 100
Rep Power: 21
jj30 is on a distinguished road
Default

Your a star.

I had the image apth and measurements on separate lines, for one

Its in now.

BUT !!

Now its half way under the blue big bar.

Do I have to change the row/column widths in CSS file.
or something.

I am getting there, just a little.

Many Thanks
jj30 is offline  
Old 06-21-2008, 09:27 PM   #20
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,324
Rep Power: 70
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

There's two things that you need to check/verify. In your html code for your logo image, you have it set to a height of 75 pixels. It sounds like your logo is greater than 75 pixels. Set it to the correct height.

Secondly, this is included in the "logo" div. Check your CSS stylesheet for the definition of the logo. Chances are that it is not set to the correct height to accommodate your logo image. Change it accordingly.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline  
Closed Thread

Tags
customization , howto , templates

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying the default template in v4. Mike-N-Tosh Templates, HTML, CSS, and Design Help 9 06-03-2009 05:51 AM
Template Default antboy Technical Support 1 03-10-2008 08:54 AM


All times are GMT -4. The time now is 11:24 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0