adding a 'back' button adding a 'back' button
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

adding a 'back' button

Started by Lisa (Loving Lynam), April 04, 2005, 03:24:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lisa (Loving Lynam)

I want to add a button to have my visitors to my picture page be able to click it to go back to my webpage. Where would I insert the code?

jpaffett

In the themes/mytheme/template.html file.

Casper

or in themes/yourtheme/theme.php
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

tomrock

This is how I did it editing the Rainy Day theme -- I'll bet others are similar. I copied what was there and pasted this above:

<!-- BEGIN home Added by THR 3/31/05-->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="http://yoursite.com" title="Return to yoursite.com">Yoursite Home</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END home -->


Works like a charm.

kegobeer

When you add a table cell to an existing table, you have to make sure that all other rows contain the new number of table cells.  For example, if you have a table with 3 rows, and each row has 4 cells, and you add one more cell to row 2, you must now add another cell to rows 1 and 3, or have one of the cells span two columns (colspan).

Did you do this?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots