| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Anyone good at editing auth.tpl? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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.
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#2
|
|||||||
|
|||||||
![]() *bump*
Any advice? Please? ![]()
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#3
|
|||||||
|
|||||||
![]() No-one at all?
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() 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
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||
|
|||||||
![]() That's fine, but how do I make them appear in the centre of the Auth Login section?
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() They are nested inside a table. Normal html editing should be able to get what you want
( < td width="100%" valign="top" align="center"> )
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#7
|
|||||||
|
|||||||
![]() Ah, superb! Cheers!
![]() Then do I put </td> at the end?
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() It should already be there.. just add the align="center" part to the existing "< td "
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#9
|
|||||||
|
|||||||
![]() 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! ![]()
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#10
|
|||||||||
|
|||||||||
![]() 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.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
|||
X-Cart forums © 2001-2020
|