Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Oct 2007
    Posts
    107
    Plugin Contributions
    0

    Default Re: HELP!!! Strange things happening

    Further to my last post...

    I don't seem to have /includes/templates/classic/tpl_header.php file..

    Or at least not where you say it should be. When I get to /includes/templates/classic, my only options then are /includes/templates/classic/css or /includes/templates/classic/images.

    I knew I should have stuck e bay.... I almost understand how that works, just sick of giving the greedy self serving pigs all my money in fees.

    Please feel free at any point to tell me I'm too dumb to have an online shop, I won't be offended.

    Arkie...

  2. #12
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: HELP!!! Strange things happening

    You can do it! It just takes a little time to go thru the learning curve of how
    Zen Cart works, and for the light bulb to go on over your head.

    Zen Cart pulls what it needs from the template_default, if it's missing in
    your template. So you'll find that file in template_default/common.

    You really should be setting up your template overrides as you go along,
    instead of altering the files in the classic template folder. When you have
    to upgrade, you'll have a nightmare on your hands. Been there...done that.

    Read up on setting up your custom template/overrides here:
    https://www.zen-cart.com/tutorials/i...hp?article=142

    And here:
    https://www.zen-cart.com/tutorials/i...hp?article=143

    Print out the chart, it'll help to visualize where you can place a custom template folder.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  3. #13
    Join Date
    Oct 2007
    Posts
    107
    Plugin Contributions
    0

    Default Re: HELP!!! Strange things happening

    Ok....seem to be taking one step forward and two steps back at the moment.

    I have created a custom template as describe in the tutorial and I think I understand the purpose of this.

    However, I'm now at a loss as to what php files to edit to change things like 'tagline' and 'logo' etc. Also as and when I discover what files to edit, where do I save them too? I assume they don't go in the new cutom template folder I have just created?

    Help!!!

    Thanks
    Arkie...

  4. #14
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: HELP!!! Strange things happening

    They absolutely do go in your new custom template folder (e.g. "your_template"). The file path to your custom copy should be identical to the filepath under /template_default/ except with /your_template/ instead of /template_default/.

    There will be language files to copy and edit for text changes. They work a little differently - you *add* /your_template/ just before the filename in the path. So /includes/languages/english.php becomes /includes/languages/your_template/english.php and /includes/languages/english/header.php becomes /includes/languages/english/your_template/header.php (these are both files you will want to edit.)

    Use the /classic/ folders as guides - anywhere you see a /classic/ folder, you can have a /your_template/ folder next to it.

  5. #15
    Join Date
    Oct 2007
    Posts
    107
    Plugin Contributions
    0

    Default Re: HELP!!! Strange things happening

    Thanks Glen

    I may need to digest that info for a couple of days and see if it makes sense.

    Whilst waiting for you wonderful people to reply, I started having a play again and everything was going wonderfully well until I tried to edit an english.php file so I could change the titles in the information box.

    Could you please look at my website and tell me exactly what huge error I just made...

    www.arkwrightandgladys.com

  6. #16
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: HELP!!! Strange things happening

    You are hopefully using the override system and if so delete the english.php file there and grab a new copy and try this again

    Insue that you only edit what is between the single quotes retaining them intact.
    Zen-Venom Get Bitten

  7. #17
    Join Date
    Oct 2007
    Posts
    107
    Plugin Contributions
    0

    Default Re: HELP!!! Strange things happening

    Oh if only I had discovered the override system before jumping in with both feet and causing chaos...

    And YES I know I need a good slap for being so stupid, if you don't mind I'll get my wife to hit me, at least that way I know how hard I'm going to get hit.

    So in the absence of using the override system, is there anything else I could do?

  8. #18
    Join Date
    Oct 2007
    Posts
    107
    Plugin Contributions
    0

    Default Re: HELP!!! Strange things happening

    At this stage in the proceedings I would happily take very simple instructions on how to delete everything and start all over again.

    I had someone install zen cart for me, so I didn't even get to find out how to do that bit either.

    Arkie....

  9. #19
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: HELP!!! Strange things happening

    Do you have an unzipped copy of the ZC version you're using on your computer?
    (Hope it's 1.3.7.1!) If so, upload a clean copy from there of the english.php file to your server at includes/languages.

    And while you're there, make a custom folder (your_template_name), and
    upload a copy of english.php into it. Then go to includes/templates and make
    a custom folder (your_template_name), and copy all file folders/files (css,
    images, common, template_info.php that you've been working on) to it. Open template_info.php and change the name to your template name:

    $template_name = 'Classic Contemporary Green';

    Go to Admin/Tools/Template Selection and select your new template. Then
    go to Admin/Tools/Layout Boxes Controller and reset the sideboxes.

    Now...BINGO! You've got your overrides well on the way.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h moved to new host/server and 2 things happening
    By DarkAngel in forum General Questions
    Replies: 21
    Last Post: 2 Apr 2015, 09:37 AM
  2. Strange thing happening on Products Information Page
    By Nick1973 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Jul 2009, 03:15 PM
  3. Strange thing happening to my prices!
    By crystal-vysion in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Mar 2007, 03:48 PM
  4. Strange thing happening to my Header Background !
    By jaz1974 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 26 Dec 2006, 01:27 PM
  5. Weird things are happening in 1.2.5
    By kevinm2 in forum General Questions
    Replies: 2
    Last Post: 30 Sep 2006, 04:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR