boxturt Posted March 31, 2003 Posted March 31, 2003 Hi, I'm using the advanced guestbook on my site. Because I'm using frames the guestbook falls out of navigation. How do I (or can I) add a 'back-button' to the guestbook page? Thanks. Quote
mtimmer Posted March 31, 2003 Posted March 31, 2003 Hi Boxturt, You can quite easily edit the source code and add a back button on top, where you see the other navigation items 'sign the guestbook' and 'administration'. These you can find in page body.php. Suggestion: add code <a href="java script:history.go(-1)">back</a>. But if you're using frames, why not load the guestbook in the content frame, and keep the navigation in the navigation frame? (example: Fairbrook House> choose guestbook) Quote
boxturt Posted March 31, 2003 Author Posted March 31, 2003 Thanks. Each content page needs a snippet of script for the submenus to load into conent frame, or for the menu to work at all. I tried that last night and tried <a href="java script:history.go(-1)">back</a> this morning after seeing your post but I keep getting the following: Warning: fopen(./templates/body.php) [function.fopen]: failed to create stream: Permission denied in /home/boxturt/public_html/forum/lib/admin.class.php on line 180 Warning: fwrite(): supplied argument is not a valid stream resource in /home/boxturt/public_html/forum/lib/admin.class.php on line 181 Warning: fclose(): supplied argument is not a valid stream resource in /home/boxturt/public_html/forum/lib/admin.class.php on line 187 My permissions are set at 755. Is that not correct? Quote
mtimmer Posted March 31, 2003 Posted March 31, 2003 as a matter of fact: the same happens to me when I try to edit the files using the application itself. What I did to edit the pages: - I downloaded the pages - updated them using dreamweaver - uploaded them again But I admit: there must be an easy way to make the pages editable using the guestbook template manager itself. Anyone who can give the answer? Quote
boxturt Posted March 31, 2003 Author Posted March 31, 2003 That worked - the 3rd time. Very, very odd. Thank you. I'm still curious as to why it wouldn't work through admin though. BTW - there's a very nice Brel song with your name - but I bet you knew that! Quote
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.