Sync^ Posted April 4, 2009 Share Posted April 4, 2009 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 More sharing options...
flyhoney Posted April 4, 2009 Share Posted April 4, 2009 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] Link to comment https://forums.phpfreaks.com/topic/152481-inserting-a-link-break/#findComment-800802 Share on other sites More sharing options...
Sync^ Posted April 4, 2009 Author Share Posted April 4, 2009 Thanks for your response, it is much appreciated, unfortunatly it did not work. The changed index.php file made the '?' character appear on a new line once logged in, other than that the page stayed the same. Is there anything else it could be? Link to comment https://forums.phpfreaks.com/topic/152481-inserting-a-link-break/#findComment-800809 Share on other sites More sharing options...
Sync^ Posted April 4, 2009 Author Share Posted April 4, 2009 I've had a little play around and I've still had no luck, anyone able to shed any light on the situation? Link to comment https://forums.phpfreaks.com/topic/152481-inserting-a-link-break/#findComment-800827 Share on other sites More sharing options...
timmah1 Posted April 4, 2009 Share Posted April 4, 2009 Try this [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/152481-inserting-a-link-break/#findComment-800914 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.