kkeefe Posted March 3, 2009 Posted March 3, 2009 Does anyone know If or How I can add an autoresponder form on the index page (front page of catalog in the Welcome section). When I tried adding it, I got errors, fixed one, then got another. Thanks for your help. :)
germ Posted March 3, 2009 Posted March 3, 2009 If you're tring to put it in the language file define for TEXT_MAIN like this: define('TEXT_MAIN', 'Blah blah blah<br> <your java script> <br> More blah blah blah'); Try rewriting it like this: define('TEXT_MAIN', <<<END Blah blah blah<br> <your java script> <br> More blah blah blah END ); In the second method you don't "escape" the apostrophes (\'), so it's much more user friendly. If that's not it you'll have to post your code. :) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
kkeefe Posted March 3, 2009 Author Posted March 3, 2009 If you're tring to put it in the language file define for TEXT_MAIN like this: define('TEXT_MAIN', 'Blah blah blah<br> <your java script> <br> More blah blah blah'); Try rewriting it like this: define('TEXT_MAIN', <<<END Blah blah blah<br> <your java script> <br> More blah blah blah END ); In the second method you don't "escape" the apostrophes (\'), so it's much more user friendly. If that's not it you'll have to post your code. :) Thanks a BUNCH. I'll get back on here if it doesn't work, but it makes since. I tried the first way, got errors! Your help is much appreciated. Have a great day.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.