View Full Version : How to edit/add the print/pdf/email buttons?
Mullet
05-02-2006, 11:03 AM
Hi there,
I am trying to add another [ back ] button, but I need/want it at the top right of the page, next to or below the PDF Print E-mail buttons that are on every content page by default. Can anyone help me with this?
Regards,
Mullie.
Hieu Nguyen
05-02-2006, 01:05 PM
Hi Mullet,
Which template do you need to make the button to be like that? In most case, you can try to play around with the "[B]Absolute Position". For example:
.back_button {
font-size: 11px;
position: absolute;
top: 100px;
right: 5px;
}
Please note that this technic required some CSS knowledge and also depends on which template you are using. In some case, doing that will make the layout of your template messed up.
Give me the link to your site, may I help you in this case!
Mullet
05-02-2006, 02:09 PM
Hi Hieu,
JA Pluto - is the template
we have been mucking around in the css already, will redo the site once everything is 100%
weblink is here (http://www.hotcon.co.za). The main problem I am getting is the Default /Wide Screen Resolution. So when I set it up manually and press on the wide, it (my back button) will end up half way in the page. Yet when I put that html in its only in the static content and not in the actual page, maybe if you could point me to where the others(print/pdf/email) are setup?
thanks for the help thus far.
regards,
Mullie.
Mullet
05-02-2006, 02:28 PM
Ok now I got it to stay on the right by adding <div class="back_button">
<a href='javascript:history.go(-1)'>
[ Back ] </a>
</div>
I know its really weird ;) yet it worked, but what doesnt work is the javascript, it keeps trying to get to http://hotcon.co.za/javascript:history.go(-1) I dont know enough about this to understand whats happening here :) hence why we chose this template and joomla, but I have been asked to get this back button sorted, is there a propper way of doing it, because I really don't think that segment of code I used is the "correct" way.
Any ideas will be more than welcome.
regards,
Mullie.
Ha Le-Viet
05-03-2006, 02:27 AM
Hi Mullie,
You can use this instead:
<a href='#' onclick="javascript:history.back();">[ Back ]</a>
Hope this help.
Regards,
Ha Le-Viet.
laphiz
12-07-2006, 12:02 PM
hi,
i m a new bie here. i want to edit the [Back] and [Next] button text. where can i find this code
<div class="back_button">
<a href='javascript:history.go(-1)'>
[ Back ] </a>
</div>
I want my own text here.I tried much to find it but in vain.
Any help would be appriated.
Regards
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.