![]() |
Anyone good at editing auth.tpl? (Sorted)
We've made new Register and Login gifs for the site, which are quite big compared to the standard X-Cart ones or the ones from the Template. Firefox puts the Register button under the Login button, but annoyingly enough IE doesn't, which makes the right-hand-side 'bar' far too wide, and it looks daft.
I want it to appear like it does on Firefox. I also want both buttons and the Link 'Recover Password' in the centre of that 'bar'. I've found out that it seems to be skin1/auth.tpl I have to edit to do these changes, but for the life of me can't see to get it to do it. Also, on the SpeedBar, I'm wanting to have Register and Login buttons there. Register was easy enough, but I've noticed that Login uses Javascript - does that mean I'd have to have the login & Password text bars up there also? Cheers. |
Re: Anyone good at editing auth.tpl?
*bump*
Any advice? Please? :( |
Re: Anyone good at editing auth.tpl?
No-one at all?
|
Re: Anyone good at editing auth.tpl?
It sounds like all you need to do is add a break "< br >" between where the two buttons are called.
Note; you will need to close in the spaces in the example |
Re: Anyone good at editing auth.tpl?
That's fine, but how do I make them appear in the centre of the Auth Login section?
|
Re: Anyone good at editing auth.tpl?
They are nested inside a table. Normal html editing should be able to get what you want
( < td width="100%" valign="top" align="center"> ) |
Re: Anyone good at editing auth.tpl?
Ah, superb! Cheers! :D
Then do I put </td> at the end? |
Re: Anyone good at editing auth.tpl?
It should already be there.. just add the align="center" part to the existing "< td "
|
Re: Anyone good at editing auth.tpl?
Ah, right! I'm a bit thick when it comes to code...
You're a star, it worked a charm. I had to remove two spaces ( ) otherwise the Register button was slightly to the right. Thank very much! :D |
Re: Anyone good at editing auth.tpl?
The template (.TPL) files are all basic html. One template may open a table, another template may add something to it (which it does in this case, it adds to authbox.tpl I think), and another template may close the table. By using the "Webmaster" mode you should be able to determine which templates are being used.
|
All times are GMT -8. The time now is 02:43 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.