Jump to content

Inserting a link break.


Sync^

Recommended Posts

Hello.

 

I know this is my first post, but I've only recently involved myself with PHP and so haven't really had any need for such a forum before, so I apologise for it looking as if I'm going to get up and leave the moment I get an answer. That aside is my issue.

 

I'm currently working on an e-commerce website which is being powered by Zen Cart, located at the following address: http://www.cxite.net/

 

Now as you load the website you are presented with an index file, located on that page is a section of text, which is as follows:

 

"Welcome Guest! Would you like to log in?

Acute.net is a new on line stockist of Game Time Codes, the variety of which is numerous and we hope to include titles such as Eve-Online and World of Warcraft."

 

What i want to try and achieve is to insert a line break between the first and second line, so the first sentence is separate from the second sentence. I have included the index.php file is responsible for the layout, or so I think it is.

 

Hoping someone could provide me with some insight into how I would go about this. Any response is much appreciated and I look forward to hearing from someone.

 

Regards

Grant

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/152481-inserting-a-link-break/
Share on other sites

Hello, attached is your index.php file with the added line break.

 

I changed this line:

  define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log in</a>?');

 

to this:

  define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log in</a>?<br />');

 

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.