Forums / Addon Templates / Lavender Template Support Thread

Lavender Template Support Thread

Views: 81,373

Results 201 to 220 of 263
12 May 2009, 5:18 AM
#201
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Lavender Template Support Thread

I have created a new set of Lavender buttons closely modelled upon the old, but using the Arial font as the original font seems unknown.

However the total .zip file is bigger than permitted to upload here.

With just the buttons the .zip is 94kb, but with an .rtf (2kb) and an editable Adobe Illustrator .ai file (255kb), the .zip increases to 348Kb.

I would like to share but what is one to do?

12 May 2009, 8:15 AM
#202
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Lavender Template Support Thread

dw08gm:

I would like to share but what is one to do?
Package up and submit to ZenCart as a mod - - maybe call it "Lavender Alternate Button set"

Zen-Venom Get Bitten

13 May 2009, 5:53 AM
#203
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Lavender Template Support Thread

kobra:

Package up and submit to ZenCart as a mod - - maybe call it "Lavender Alternate Button set"

Done.

Titled "Lavender Buttons 2".

Enjoy.

23 May 2009, 3:54 AM
#204
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

Hello,

I have been trying to figure this out. I'm new to this so I don't really know how this works. But how can I change the home link? And how can I add links to that?

Thanks in advance!

24 May 2009, 5:05 PM
#205
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Lavender Template Support Thread

You can (how I have come to loathe those two aforesaid words) add a link using the standard html <a href> command, together with php code.

For a start (subject to your template overrides), look at the files in includes/template/common/ such as tpl_main_page.php, tpl_header.php and tpl_footer.php files.

Also check the defines in includes/langages/english/english.php. I linked the catalog main heading to the index page for my shop.

Generally, use the Admin > Tools > Developers Tool to help you find which files, code or define to change, and also to hunt the different php codes that might be used.

Another excellent but seldom mentioned tool is the Reference Addon Module, which will help you quickly find settings in Admin.

Also use your browser's View Source Code (eg in Firefox, View > Page Source) to check page structures.

Practice makes perfect. Hope this helps.

26 May 2009, 1:54 AM
#206
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

When I went to includes/template/common/ all I saw was tpl_header.php

And I still can't figure out how to add change/add a link.

26 May 2009, 2:16 PM
#207
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Lavender Template Support Thread

There are several places possible for a home page link, including at the very top of a page next to the login, in your breadcrumb, in your tabs menu, in your catalogue or other sidebox.

To find where something is, I usually follow the css trail, firstly by using View Source, then copying the relevant css tag to Developer Tool Kit to hunt the file that requires editing.

While this process may be a bit circuitous, it will open your eyes to the many ways and means of Zen Cart.

26 May 2009, 7:28 PM
#208
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

Ok. Thanks, I will give that a try.

Also, can I remove the "Powered by Zen Cart" since this is a custom template? Or do I have to leave it?

27 May 2009, 3:47 AM
#209
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

Ooops, forgot to ask one more thing. Where it says "Copyright © 2003-2006 Zen Cart" Can I remove that too, or do I have to leave it as it is? (Or change it to my own?)

27 May 2009, 7:03 AM
#210
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Lavender Template Support Thread

skiniemini:

Ooops, forgot to ask one more thing. Where it says "Copyright © 2003-2006 Zen Cart" Can I remove that too, or do I have to leave it as it is? (Or change it to my own?)
Yes you should change copyright to yours

Zen-Venom Get Bitten

27 May 2009, 3:41 PM
#211
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

Ok. Thanks for letting me know. But can you answer my other question to? Which was:

Can I remove the "Powered by Zen Cart" or do I have to leave it?

27 May 2009, 3:55 PM
#212
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

I get the following error:

Fatal error: Call to undefined function zen_get_new_date_range() in /includes/templates/lavender/sideboxes/tpl_categories.php on line 93

How can I fix this?

Thanks in Advance!

P.S. This happens when I enable sideboxes/categories.php

29 May 2009, 12:16 AM
#213
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

skiniemini:

I get the following error:

Fatal error: Call to undefined function zen_get_new_date_range() in /includes/templates/lavender/sideboxes/tpl_categories.php on line 93

How can I fix this?

Thanks in Advance!

P.S. This happens when I enable sideboxes/categories.php

Never mind I figured it out. I removed the whole line on line 93 and it worked.

29 May 2009, 11:05 AM
#214
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Lavender Template Support Thread

Be very careful when deleting code.

It is better to rem out bits of code using <!--...--> or // as appropriate.

And always make backups and document (however tedious) what you do, otherwise you could end up in all manner of strife.

30 May 2009, 12:15 AM
#215
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

dw08gm:

Be very careful when deleting code.

It is better to rem out bits of code using <!--...--> or // as appropriate.

And always make backups and document (however tedious) what you do, otherwise you could end up in all manner of strife.

I know....I was really cautious....And I made sure I backed up the file before I did that.

30 May 2009, 6:17 PM
#216
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

I was wondering how you could add a list of options to a certain product. Like if you have a product and you want the customers to be able to choose what they want on their product. How exactly would I do that?

Thank In Advance!

1 Jun 2009, 2:11 AM
#217
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Lavender Template Support Thread

skiniemini:

I was wondering how you could add a list of options to a certain product. Like if you have a product and you want the customers to be able to choose what they want on their product. How exactly would I do that?
Not really a template issue...A new question elsewhere would have gotten more response = = Attributes are what you seek
https://www.zen-cart.com/tutorials/index.php?article=57

Zen-Venom Get Bitten

1 Jun 2009, 6:11 AM
#218
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

Not really a template issue...A new question elsewhere would have gotten more response = = Attributes are what you seek
https://www.zen-cart.com/tutorials/index.php?article=57

Thanks for that link, I read through the whole thing, but how do I pair the attributes so they could only choose one? I can't figure it out! :dontgetit

Thanks In Advance!

1 Jun 2009, 8:40 AM
#219
skiniemini avatar

skiniemini

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Re: Lavender Template Support Thread

Ok, I need some help here. I'm getting the following error when I go to the My Account page:

Warning: Invalid argument supplied for foreach() in /includes/templates/template_default/templates/tpl_account_default.php on line 37

On line 37 there is this:
foreach($ordersArray as $orders) {

Now I think this is supposed to make it display the current orders, but since there are no current orders it just gives me this error. When there is an order this does not show. How can I fix this? I want it to say for example: No Current Orders

Thanks In Advance!
I Really Appreciate It!:D

23 Jul 2009, 10:16 AM
#220
cruzin avatar

cruzin

New Zenner

Join Date:
Dec 2008
Posts:
2
Plugin Contributions:
0

Re: Lavender Template Support Thread

Hi!
I am very new to this and I downloaded this template, thinking I could follow directions. Obviously that is not the case. I cannot for the life of me, figure out how to insert my header. Where does the image go. I have it in /includes/templates/lavender/images. It is named logo1.gif.

My biggest problem is the css stylesheet. Where do I make the necessary changes? I tried to follow the turorial in ZenCart Tutorials, but I'm just not getting it. I've saved it as logo1, but it saved as .txt not .php. Is this my problem? How do I save in .php? I uploaded it to /includes/templates/lavender/css and includes/languages/english.

Please guide me in the right direction. . .I hate 'STUPID', but right now that is exactly how I feel.

Thanks!
Gloria