twistedstar Posted October 2, 2009 Posted October 2, 2009 Right I have problems and dont seem to be getting the site further because of these matters. ANY HELP GRATEFUL PLZ OK I need to place links via buttons wihich will direct to another page/s on my site but stil keeping the product price/options in. I would like to place images inside an about us page. Not sure on coding on this one or where its to be placed? I have no idea on these and cant seem to find any other posts regarding these I am not asking you to do it for me but to advise on what pages need to be edited or added or eveb add on required. Quote
germ Posted October 3, 2009 Posted October 3, 2009 Generic image link code: <tr> <td align="center"><?php echo tep_image(DIR_WS_IMAGES . '[b][color="#FF0000"]IMAGE NAME HERE[/color][/b]', '[b][color="#FF0000"]MOUSEOVER TEXT HERE[/color][/b]'); ?></td> </tr> Change the text in RED to match what it is you want to display. Generic "link to another page on your site" code: <tr> <td align="center"><?php echo '<a href="' . tep_href_link([b][color="#FF0000"]PAGE NAME HERE[/color][/b]) . '">' . tep_image_button('[b][color="#FF0000"]BUTTON IMAGE NAME HERE[/color][/b]', '[b][color="#FF0000"]MOUSEOVER TEXT HERE[/color][/b]') . '</a>'; ?></td> </tr> Change the text in RED to match what it is you want to display. Where it says PAGE NAME HERE you should use entries from /includes/filenames.php if applicable (like FILENAME_DEFAULT) And you might need to change the HTML parts (the table row & data tags). Quote 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 >
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.