Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,098
    Plugin Contributions
    0

    Default Re: Trying to add text above footer

    Are you using Cherry zen template ...

    If so, your_template is cherry_zen
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  2. #12
    Join Date
    Jun 2010
    Location
    The great midwest... Well, okay, it's not so great, but I'm stuck here!
    Posts
    189
    Plugin Contributions
    0

    Default Re: Trying to add text above footer

    yes, i'm using cherry zen. thanks
    I DID IT, I actually built a working cart, with the help of so many of you, Stevesh, Schoolboy, RescoCCC, to name a few. I just take one bite out of the elephant at a time and try to keep my sense of humor...

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,013
    Plugin Contributions
    25

    Default Re: Trying to add text above footer

    Post the section of the file where you added your text, with a few lines above and below for context.

    If you edited the /template_default/ version of the file and there is a /cherry_zen/ version of the same file, the /template_default/ version will never be used. You have to edit and save the file in your custom template folder.

  4. #14
    Join Date
    Jun 2010
    Location
    The great midwest... Well, okay, it's not so great, but I'm stuck here!
    Posts
    189
    Plugin Contributions
    0

    Default Re: Trying to add text above footer

    first i uploaded it to root/includes/templates/template_default/templates and it didn't show up

    then i went to root/includes/templates/cherry_zen/common - but there was no index file - so i tried inserting the default file i had edited there anyway, no luck - i even tried renaming it to template_cherry_zen and that didn't work either.

    here's what i did - 'i'm showing 4 lines above where i inserted it, actual insertion was on line 88

    <?php
    $show_display_category->MoveNext();
    } // !EOF
    ?>

    <p>A trusted, proven distributor, our company etc.</p>
    </div>
    I DID IT, I actually built a working cart, with the help of so many of you, Stevesh, Schoolboy, RescoCCC, to name a few. I just take one bite out of the elephant at a time and try to keep my sense of humor...

  5. #15
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,013
    Plugin Contributions
    25

    Default Re: Trying to add text above footer

    I misspoke earlier - the file should go in /includes/templates/cherry_zen/templates/, the exact same location as the /template_default/ version is in.

  6. #16
    Join Date
    Jun 2010
    Location
    The great midwest... Well, okay, it's not so great, but I'm stuck here!
    Posts
    189
    Plugin Contributions
    0

    Default Re: Trying to add text above footer

    in cherry_zen templates i have the following files
    checkout confirmation
    checkout payment default
    checkout shipping default
    checkout success default
    modules attributes
    modules main product image
    modules product listing
    modules products all listing
    modules product new listing
    product info display
    time out default

    i have no index_default file in this folder

    so i took the index_default file that i edited from my default template file and put it in here, it didn't work.

    am i missing an index file in this includes/templates/cherry_zen/templates folder.
    I DID IT, I actually built a working cart, with the help of so many of you, Stevesh, Schoolboy, RescoCCC, to name a few. I just take one bite out of the elephant at a time and try to keep my sense of humor...

  7. #17
    Join Date
    Jun 2010
    Location
    The great midwest... Well, okay, it's not so great, but I'm stuck here!
    Posts
    189
    Plugin Contributions
    0

    Default Re: Trying to add text above footer

    i went back into my original cherry_zen files, and in my cherry zen includes/templates folder i see no index file.
    I DID IT, I actually built a working cart, with the help of so many of you, Stevesh, Schoolboy, RescoCCC, to name a few. I just take one bite out of the elephant at a time and try to keep my sense of humor...

  8. #18
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,013
    Plugin Contributions
    25

    Default Re: Trying to add text above footer

    Template folders should only hold copies of files that are different from default. If there is no custom version of a file, Zen Cart will use the default version. When you want to edit a default file, always save the edited copy in the same relative location in your custom folder structure.

  9. #19
    Join Date
    Jun 2010
    Location
    The great midwest... Well, okay, it's not so great, but I'm stuck here!
    Posts
    189
    Plugin Contributions
    0

    Default Re: Trying to add text above footer

    I went to bed, got up this morning and was able to put in the text on my main page easily. Amazing what a good night's sleep does for the thought process.

    What I did was this - I went to the root/includes/templates/cherry_zen/common, and edited the tpl_main_page.php template. I entered my information on line 88, just after <!-- end ContentMainwrapperb -->

    I'm posting exactly what I did in case someone else is having the same problem as me.

    I have one more tweak with this and it's finished. My text is showing up on every page and I don't know how to enter coding or where exactly to enter the coding so that it shows up on only the main page. If someone could tell me what coding I put to make it show up just on the main page, I would appreciate it.

    Thank you so much for all your help last night guys. You are all amazing! I'm a happy camper this morning, so glad to have that hurdle behind me!!!

    you can view my page at bigredworkweardotcom
    I DID IT, I actually built a working cart, with the help of so many of you, Stevesh, Schoolboy, RescoCCC, to name a few. I just take one bite out of the elephant at a time and try to keep my sense of humor...

  10. #20
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,013
    Plugin Contributions
    25

    Default Re: Trying to add text above footer

    You can add a PHP test for $this_is_home_page, but the better solution would be to put the content in tpl_index_default.php as you were doing first.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Centering Footer Text
    By sports guy in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 15 Mar 2011, 03:13 AM
  2. How to Add Text in Footer
    By Horrific_ending in forum General Questions
    Replies: 2
    Last Post: 8 Dec 2009, 08:51 PM
  3. Adding text to footer
    By Green333 in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 24 Oct 2008, 04:33 AM
  4. Footer text
    By isaacr25 in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2007, 05:45 AM
  5. Footer Text
    By CnTGifts in forum General Questions
    Replies: 2
    Last Post: 19 Nov 2007, 03:55 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
  •