Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Text_greeting_guest

    I messed up-

    apparently if you remove the text defining a variable it breaks it- so i restored teh file and I can't fix it

    my index now just states "TEXT_GREETING_GUEST"

    Is there a setting somewhere that defaults to just this? i have been searching the dev tool for a while and can't find it/ I figured reloading the backed up file would fix it but it didn't

  2. #2
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Text_greeting_guest

    looking- looks right from what i can see.....

    {
    define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
    }
    else
    { define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
    }

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Text_greeting_guest

    The URL of your site?

  4. #4
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Text_greeting_guest


  5. #5
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Text_greeting_guest

    following the tutorial now to make my own to seperate from the predifined stuff- hopefully that resolves some of this

  6. #6
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Text_greeting_guest

    i broke it again- how does the override work?

  7. #7
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: Text_greeting_guest

    Take a look at this FAQ - http://www.zen-cart.com/forum/faq.ph...r&titlesonly=0

    Also, look at the sticky threads at the top of this section of the forum (first steps).

    Other good material in the FAQ and Wiki. As you create override folders, only put in files that you actually edit. Best to start with template_default rather than Classic if using 1.3+. Don't forget to edit template_info and then turn on the custom template in the Admin.

    Best wishes

  8. #8
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Text_greeting_guest

    This Over-ride process would be 300% easier by just doing an override folder. Call it override- and any contents there would take precedence. this process is used in other applications and modding in games.

    but that's my 2 cents- working on this process

    thanks all

  9. #9
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Text_greeting_guest

    discovery-

    Regarding the HEADING etc that show up-
    be careful what you use as your php/text editor. some editers can break the code

  10. #10
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: Text_greeting_guest

    Quote Originally Posted by DragoTPE
    This Over-ride process would be 300% easier by just doing an override folder. Call it override- and any contents there would take precedence.
    Perhaps I have misunderstood your post but the template override does exactly what you just said. When a file is present in the override folders, overrides the default file.

    You can use any name you want for you custom template.

    If I have misunderstood your post, which seems likely, please enlighten me.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to remove TEXT_GREETING_GUEST?
    By thestampnomad in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Aug 2009, 03:11 AM
  2. Text_greeting_guest
    By csfound in forum General Questions
    Replies: 2
    Last Post: 8 Jul 2007, 10:46 PM
  3. TEXT_GREETING_GUEST issue
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Dec 2006, 10:22 AM
  4. text_greeting_guest
    By g0d4lm1ty in forum General Questions
    Replies: 5
    Last Post: 30 Sep 2006, 11:12 PM

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