Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2011
    Posts
    39
    Plugin Contributions
    0

    Default Add Lines Before and After "Congratulations You've Succesfully Installed..."

    Using the template folder overrides and editing the index.php file I've changed the text of "Congratulations You've Successfully Installed Zen Cart" etc. with

    Welcome to My Company Name's Online Store

    Now I'd like to add a blank line or two after this text to separate it from Welcome Guest! Would you like to log yourself in?

    I would also like to add spacing around the "Welcome Guest" greeting as well.

    How can I accomplish this? What HTML characters are needed? I've Googled for awhile and no joy.

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

    Default Re: Add Lines Before and After "Congratulations You've Succesfully Installed..."

    Insert this where you want to add lines
    Code:
    <br />
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: Add Lines Before and After "Congratulations You've Succesfully Installed..."

    Quote Originally Posted by kobra View Post
    Insert this where you want to add lines
    Code:
    <br />
    Where would I put it? Here's the line from index.php

    define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&reg; E-Commerce Solution.');

    I've tried it in a couple of places and I get 500 error or a blank page.

    [sorry to bother you with the most elementary coding questions...]

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

    Default Re: Add Lines Before and After "Congratulations You've Succesfully Installed..."

    Try adding here and adjust for what you want as far as blank lines before or after
    Code:
    define('HEADING_TITLE', '<br /><br />Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.<br /><br />');
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Mar 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: Add Lines Before and After "Congratulations You've Succesfully Installed..."

    Quote Originally Posted by kobra View Post
    Try adding here and adjust for what you want as far as blank lines before or after
    Code:
    define('HEADING_TITLE', '<br /><br />Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.<br /><br />');
    Bingo! So in this instance line breaks must be inserted within the ' '

    Many thanks.

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

    Default Re: Add Lines Before and After "Congratulations You've Succesfully Installed..."

    So in this instance line breaks must be inserted within the ' '
    To be parsed yes - in any "define" text it has to be within the pair of single quotes
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. blank page after trying to remove "Congratulations, You have successfully installed..
    By writerguysd in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 May 2010, 05:20 AM
  2. Deleting "Congratulations!" and "Welcome Guest!" Lines
    By Drewster in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 22 Jan 2008, 05:47 AM
  3. Removing "Congratulations! You have successfully installed your Zen Cart"
    By robert_harper_2000 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 4 Nov 2007, 11:20 PM
  4. REMOVE "Congratulations! You have successfully installed.."
    By the2003s in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Jun 2007, 06:53 PM
  5. Removing "Congratulations! You have successfully installed..." with Apple Zen
    By missmolotov in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Apr 2007, 02:21 PM

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