Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Add Lines Before and After "Congratulations You've Succesfully Installed..."

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

Started by powrwrap on 6 Jun 2013, 9:09 PM · Views: 1,292

Results 1 to 6 of 6
6 Jun 2013, 9:09 PM
#1
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Post #1 by powrwrap

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.

7 Jun 2013, 1:14 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Insert this where you want to add lines

<br />

Zen-Venom Get Bitten

7 Jun 2013, 2:56 PM
#3
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Post #3 by powrwrap

kobra:

Insert this where you want to add lines

<br /> ```

Where would I put it? Here's the line from index.php

define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart® 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...]

7 Jun 2013, 3:26 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #4 by kobra

Try adding here and adjust for what you want as far as blank lines before or after

define('HEADING_TITLE', '<br /><br />Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.<br /><br />'); 

Zen-Venom Get Bitten

7 Jun 2013, 3:53 PM
#5
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Post #5 by powrwrap

kobra:

Try adding here and adjust for what you want as far as blank lines before or after

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.
7 Jun 2013, 6:32 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #6 by kobra

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