Forums / Templates, Stylesheets, Page Layout / Possible problem with Override System

Possible problem with Override System

Locked

Views: 2,273

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
13 Apr 2009, 7:55 PM
#1
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Possible problem with Override System

It is my understanding that the Override System should work for the following module file structure:

includes

modules
Your Template
I have added the following files structure:

includes

modules
Your Template
pages
popup_image > jscript_main.php
However, the original system file still functions. Also, as a test, if I rename the original file jscript_main.php to jscript_main.old the popup window fails even though I have added the additional override file structure.

All the other Override System structures I have used work fine.

Sawhorse
(below are the particulars of my site)

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

13 Apr 2009, 9:24 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Possible problem with Override System

There is no override capability for files in the folder includes/modules/pages - it's not a bug.

Neville
An assumption is what you arrive at when you get tired of thinking...

13 Apr 2009, 9:29 PM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Possible problem with Override System

Saw,
click free software add ons and search for override system

  1. select the overrides chart
  2. download the .zip
  3. unzip
  4. then print
  5. Very hand to see on a piece of paper the structure of the override system

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

13 Apr 2009, 10:43 PM
#4
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Possible problem with Override System

OK, I am a bit confused. Below is a copy of the Override System that I have.

The Override System -   [B]Wherever you see a folder named [B]"classic"[/B] you can safely add your own [B]/CUSTOM[/B] folder.
 
[B]includes[/B]
    languages
        classic
        CUSTOM[/B]
[B]         english[/B]
[B]             classic
            CUSTOM
            extra_definitions
                classic
                CUSTOM
            html_includes
                classic
                CUSTOM
            images
            modules
                order_total
                    classic
                    CUSTOM
                payment
                    classic
                    CUSTOM
                shipping
                    classic
                    CUSTOM
    modules
        classic
        CUSTOM[/B]
[B]         debug_blocks[/B]
[B]         order_total[/B]
[B]         pages[/B]
[B]         payment[/B]
[B]         shipping[/B]
[B]         sideboxes[/B]
[B]             classic
            CUSTOM
    templates
        classic
        CUSTOM
        template_default
 
Replace CUSTOM with your own folder name.[/B]
```I must be reading the graph incorrectly.  Is everyone saying that **pages** can not be replaced under **CUSTOM**?

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

13 Apr 2009, 11:08 PM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Possible problem with Override System

Yes, there is no override for "pages" as of now

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

13 Apr 2009, 11:12 PM
#6
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Possible problem with Override System

OK, I get it - pages are not under custom.

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

13 Apr 2009, 11:13 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Possible problem with Override System

Sww,
Yes, Great now you see the structure of the override system..

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

13 Apr 2009, 11:19 PM
#8
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Possible problem with Override System

Thanks for all the help.

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

13 Apr 2009, 11:23 PM
#9
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Possible problem with Override System

Saw,
You are most welcome

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2009, 1:58 AM
#10
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Possible problem with Override System

Read the read_me_onload.html file in the docs folder of your
downloaded Zen Cart distribution files. Maybe that can help you get to where you want to be.

14 Apr 2009, 2:10 AM
#11
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Possible problem with Override System

TShooters:

Read the read_me_onload.html file in the docs folder of your
downloaded Zen Cart distribution files. Maybe that can help you get to where you want to be. I never knew about this. Very, very interesting. Thank you for the info. By George I think I (now) got it.

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

14 Apr 2009, 2:20 AM
#12
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Possible problem with Override System

Also, there is not much information about the read_me_onload.html file process in the forum. However, you can look at http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Javascript for additional information.

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

14 Apr 2009, 3:36 PM
#13
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Possible problem with Override System

Quick rule of thumb... Anywhere you see a "classic" folder, you can create a folder for your custom template. If there's no "classic" folder, there's no override available.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

14 Apr 2009, 3:55 PM
#14
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Possible problem with Override System

afo:

Quick rule of thumb... Anywhere you see a "classic" folder, you can create a folder for your custom template. If there's no "classic" folder, there's no override available.

afo, that was the rule I was using, only I was looking at the wrong level. Pages is not under custom but on the same level as custom. I just interpreted incorrectly. The pdf graphic in the download section really shows the levels nicely.

Afo, normally I am not this dense. Thanks for your help.

Sawhorse

PS. What a great forum.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

14 Apr 2009, 7:06 PM
#15
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Possible problem with Override System

Great job on your template, Sawhorse! And your jewelry is gorgeous! :yes:

14 Apr 2009, 7:38 PM
#16
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Possible problem with Override System

TShooters thank you for the complements, but all the hand made jewelry is designed and made by my wife. :blush: All I do is photo, catalog, build, and run the site. Checked your good looking site and I can see you know all about hand made items.

Again thanks for the tip on using read_me_onload.html file.

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

15 Apr 2009, 1:05 AM
#17
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Possible problem with Override System

You're both very talented! Thanks..kudos to Clyde for great template contributions.

15 Apr 2009, 1:48 AM
#18
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Possible problem with Override System

Wow! The site is beautiful! Nice work! :thumbsup:

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey