yossic Posted February 11, 2003 Posted February 11, 2003 How do i add text? what script do i use? on contact_us.php Thanks, Yossi
mattice Posted February 11, 2003 Posted February 11, 2003 use the search button in the right upper corner of this screen. It does wonders ;) And you might want to checkout contributions section as that has some mods to display addresses and such. Also good start is http://guide.oscdox.com Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
CC Posted February 11, 2003 Posted February 11, 2003 Why not just do it in HTML? It doesnt all have to be code you know. If you just want to add the address and telephone number or something do it by HTML. There are contributions to do this dynamically, but really, how often do you change your address or telephone number etc??! CC.
yossic Posted February 12, 2003 Author Posted February 12, 2003 I tried adding text using html but i can not see anything why?
Guest Posted February 12, 2003 Posted February 12, 2003 In the contact.php file in your main shop folder, you need to add the following line: define('TEXT_MAIN', 'Your text here' ); You need to make sure you have a space before 'Your and after here' You need to make sure the text you add is between the two ' ' marks. you also need to ensure that any words containing the ' character (such as it's, where's, you're, etc) have a before the ' mark (it's becomes it's, etc) The text you add may be html, as long as it is within the ' ' marks Not doing all of the above will prevent any text you add from showing up. HTH
yossic Posted February 12, 2003 Author Posted February 12, 2003 i added the line and did all that you mentioned but it still does not function, i dont see anything
CC Posted February 12, 2003 Posted February 12, 2003 You dont have to do that at all... Just open the contact_us page with a program like DW MX if you have it, and put in your text. There is no magic formula. Make sure you are not putting your text in between php tags. Just make sure it is between cells etc. Then upload, cntrl & f5 and if you have done it right it will show. It is the most basic thing to do! All you are doing is adding text somewhere between the <html></html>. CC.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.