Zen Cart Logo
Forums / General Questions / Classic Vs Default template

Classic Vs Default template

Locked

Views: 3,143

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
2 Aug 2006, 3:05 AM
#1
getreload avatar

getreload

New Zenner

Join Date:
Jul 2006
Location:
Singapore
Posts:
44
Plugin Contributions:
0

Classic Vs Default template

Hi all zenners;

I have been working on zen for almost 3 weeks now, it has been great but slow with many trials and errors.

I have tried the classic and the default template, I have notice that it is much easier to use the classic especially when you want to position flash (swf) without any problems because it is table based. I read some post here that mention to use the default template instead of the classic as it may not be supported in the future:cry: . May I have your views/opinion on this matter.

Thanks.

https://www.getreload.com - get your business reloaded

2 Aug 2006, 3:39 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Classic Vs Default template

the current classic template is in place as a backwards compatible template, it was there to show people how to upgrade from 1.2

The template default is actually alot easier to use,
you can actually just pick up <div> </div> and move them

it also uses 1 stylesheet for overall design,
remember which ever way you go to use the correct over ride structure

Zen cart PCI compliant Hosting

2 Aug 2006, 4:08 AM
#3
getreload avatar

getreload

New Zenner

Join Date:
Jul 2006
Location:
Singapore
Posts:
44
Plugin Contributions:
0

Re: Classic Vs Default template

Thanks, I will fiddle around with it some more.

My main problem with default template which I did not encounter with the classic is when I place my flash (swf).

In classic: When I place my flash (swf) and have Deamweaver 8 correct the activeX so that it won’t show the “click to activate and use control” it works fine.

In default: When I correct the activeX, my flash won’t show at all. It will only show if I do not correct the activeX.

My website https://www.getreload.com is currently using the default template (NightFall theme).

Your views are greatly appreciated. Thanks.

https://www.getreload.com - get your business reloaded

2 Aug 2006, 4:24 AM
#4
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Classic Vs Default template

There is a post here on how to use javascript to avoid the click to start IE problem here:

http://www.zen-cart.com/forum/showthread.php?t=34807

That is an IE issue not a Zen issue and the tutorial works perfectly ( you can see it in place at http://azpoolplans.com ) which is based on template default as are all sites that I work on.

Hope that helps!

When the world gets in my face I say Have A Nice Day.

2 Aug 2006, 6:37 AM
#5
getreload avatar

getreload

New Zenner

Join Date:
Jul 2006
Location:
Singapore
Posts:
44
Plugin Contributions:
0

Re: Classic Vs Default template

Yup, I totally agree with you that it is an IE issue not zen, thanks for the link I will implement it tonight.

Many thanks to you and Merlinpa1969.:thumbsup:

https://www.getreload.com - get your business reloaded

2 Aug 2006, 12:20 PM
#6
kallel avatar

kallel

New Zenner

Join Date:
Apr 2006
Location:
Bournemouth UK
Posts:
48
Plugin Contributions:
0

Re: Classic Vs Default template

I used the default template to base my template on and have hit a brick wall when it comes to one area ... how to place the swf files into the pages in zen cart, I have tried numerous searches but still getting nowhere.

Here is the problem the site owner has a logo that consists of a jpeg image 592px wide by 165 px high and two swf files to the right of this.

I have placed the logo jpeg in place no problem, just cannot figure out how to place the two swf files to the right of the logo. So that it matches his existing site.

Existing site can be seen at:

https://www.definitivecvworld.co.uk

Clicking on ebooks gives link to zen (still work in progress) would also like to be able to use same background image instead of plain white.

Can anyone give me a few pointers to try, please

TIA

Best Regards

Keith


I,m getting there, slowly but eZENtually

.

2 Aug 2006, 1:41 PM
#7
getreload avatar

getreload

New Zenner

Join Date:
Jul 2006
Location:
Singapore
Posts:
44
Plugin Contributions:
0

Re: Classic Vs Default template

Hi TinaS,

I have read the link and created the .js file but in which file do i paste the "<script src="includes/templates/blue_strip/jscript/paragone.js"></script>" and in which part of that particular file? thanks

https://www.getreload.com - get your business reloaded

2 Aug 2006, 1:49 PM
#8
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Classic Vs Default template

Getreload : That is the part that is calling your flash hun - so instead of the <embed src...." code you would use that javascript.

So if you are wanting the flash in your header it would go in includes/templates/YOUR_TEMPLATE/tpl_header.php

Finding the exact location as far as line or anything - I am sure you will see it - you got this far :thumbsup:

Kallell : I would create a new wrapper for the flash items in my css and use those wrappers to place the flash where it should go. Or you could use the taglineWrapper (if you aren't using the tagline in the site) and put the flash in there using the tagline wrapper to control where they place.

Hope that helps

When the world gets in my face I say Have A Nice Day.

2 Aug 2006, 2:37 PM
#9
kallel avatar

kallel

New Zenner

Join Date:
Apr 2006
Location:
Bournemouth UK
Posts:
48
Plugin Contributions:
0

Re: Classic Vs Default template

Hi TinaS

Don't understand what you mean by wrapper & tagline, ( not a web designer or developer) all these terms are alien to me. Have tried to use CSS Viewer in FF to try and figure it out. Can see mainwrapper and header wrapper, but not tagline.

Also opened MyTemplate.css in Crimson Editor but with over 400 lines of code not sure what I'm looking for.

Best Regards

Keith


I,m getting there, slowly but eZENtually

.

2 Aug 2006, 2:40 PM
#10
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Classic Vs Default template

Which template did you use as your base for your template ?

It would be easier to write your own wrapper if you can't find the tagline entries in your css.:huh:

EDIT ------

OOOPS dumb ass attack - sorry Kallel - you stated you used the default.

In the orginal css you should see #tagline and #taglineWrapper. Unless you removed the defines while you were customizing.

When the world gets in my face I say Have A Nice Day.

2 Aug 2006, 2:46 PM
#11
kallel avatar

kallel

New Zenner

Join Date:
Apr 2006
Location:
Bournemouth UK
Posts:
48
Plugin Contributions:
0

Re: Classic Vs Default template

No Probs.

did not remove any defines.

Best Regards

Keith


I,m getting there, slowly but eZENtually

.

2 Aug 2006, 2:57 PM
#12
kallel avatar

kallel

New Zenner

Join Date:
Apr 2006
Location:
Bournemouth UK
Posts:
48
Plugin Contributions:
0

Re: Classic Vs Default template

Just did search in Crimson Editor found:

At Lines 181 - 186

#tagline {
color:#000000;
font-size: 2em;
text-align : center;
vertical-align: middle;
}

But search returned:

Cannot find the string #taglineWrapper

Also searched for this in the original css file with the same response.

Best Regards

Keith


I,m getting there, slowly but eZENtually

.

2 Aug 2006, 3:14 PM
#13
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Classic Vs Default template

Kallel what version of zen are you using?

Zen cart PCI compliant Hosting

2 Aug 2006, 3:24 PM
#14
kallel avatar

kallel

New Zenner

Join Date:
Apr 2006
Location:
Bournemouth UK
Posts:
48
Plugin Contributions:
0

Re: Classic Vs Default template

1.3.0.2 (full fileset)

Best Regards

Keith


I,m getting there, slowly but eZENtually

.

2 Aug 2006, 3:27 PM
#15
getreload avatar

getreload

New Zenner

Join Date:
Jul 2006
Location:
Singapore
Posts:
44
Plugin Contributions:
0

Re: Classic Vs Default template

Hi TinaS;

Finally got it thanks amillion:lol: . wohoo!!!!

I was wondering if it is possible to align the flash to the center or to your left? thanks again.

https://www.getreload.com - get your business reloaded

2 Aug 2006, 3:37 PM
#16
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Classic Vs Default template

Getreload - I believe it can bo moved using the css wrapper that it is enveloping it - if you left the #logoWrapper in there and it is wrapping your flash you can use :

#logoWrapper{ text-align:center;} to center it or
#logoWrapper {float:left;} to bring it to the left.

Also make sure your wrapper has the margins and padding set to 0.

Thirdly look for the tagline info in your tpl_header.php file as it may cause weird results if you aren't using it - there is an extra div that is left over when it processes the if statement for #tagline as we discovered last nite on another thread.

Glad you got it working for you!

When the world gets in my face I say Have A Nice Day.

2 Aug 2006, 4:02 PM
#17
getreload avatar

getreload

New Zenner

Join Date:
Jul 2006
Location:
Singapore
Posts:
44
Plugin Contributions:
0

Re: Classic Vs Default template

TinaS - thanks for all your help, will try and figure it out tomorrow. Wow it is midnight already :wacko:

Once again - thanks amillion.

https://www.getreload.com - get your business reloaded