[Solved]Login menu error

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Mon Apr 26, 2010 9:44 am
Hi guys,
i would to used 2 templates for different pages. I duplicate a template directory, i renemed the directory name and all paths on templateDetails.xml
Code: Select all
...   <name>gk_corporate2_2</name>

            <creationDate>23/04/2010</creationDate>

            <author>Robert Gavick - GavickPro</author>

            <authorEmail>[email protected]</authorEmail>

            <authorUrl>http://www.gavick.com</authorUrl>

            <copyright>Copyrighted Commercial Software</copyright>

            <license>Proprietary - GavickPro eClub members only</license>

            <version>1.0.0</version>

            <description>

                           <![CDATA[ <link rel="stylesheet" type="text/css" href="../templates/gk_corporate2_2/options/style.css" />

                                    <script type="text/javascript" src="../templates/gk_corporate2_2/options/script.js"></script> ...


but there's an error on login menu, do you know why this error?

I'm sorry my elementary english, have a nice day,michele

;)
User avatar
Fresh Boarder

GK User
Tue Apr 27, 2010 5:49 pm
what about the error - some error is showing or sth like this ?
User avatar
Administrator

GK User
Tue Apr 27, 2010 6:16 pm
dziudek wrote:
what about the error - some error is showing or sth like this ?


Hi, dziudek,
the login menu is replaced by 1 1 1 when i use the second template.

thanks,michele
:)
User avatar
Fresh Boarder

GK User
Tue Apr 27, 2010 6:18 pm
did you duplicate also language file - please name it en-GB.tpl_corporate2_2.ini
User avatar
Administrator

GK User
Tue Apr 27, 2010 6:39 pm
dziudek wrote:
did you duplicate also language file - please name it en-GB.tpl_corporate2_2.ini


dziudek, it work, thank you so much :)
User avatar
Fresh Boarder

GK User
Mon May 03, 2010 9:40 pm
Great. Thank you!
User avatar
Fresh Boarder

GK User
Tue May 11, 2010 11:53 pm
Getting the same as below:-
(I have tried the renaming of the .ini file)

nonsonobradpitt wrote:
dziudek wrote:
what about the error - some error is showing or sth like this ?


Hi, dziudek,
the login menu is replaced by 1 1 1 when i use the second template.

thanks,michele
:)
User avatar
Fresh Boarder

GK User
Wed May 12, 2010 12:11 am
but it must works - maybe you've set wrong name ?
User avatar
Administrator

GK User
Wed May 12, 2010 10:42 pm
No, name is exactly as stated earlier in thread.
User avatar
Fresh Boarder

GK User
Thu May 13, 2010 12:16 am
rftcco wrote:
No, name is exactly as stated earlier in thread.


Basically the steps are this (check if you forget anything or if you didn't rename well:

Example: Creating Corporate2_2 template files:

- Copy ../gk_corporate2/ directory with all files to some location.

- Rename "gk_corporate2" to "gk_corporate2_2"

- From the joomla language directory, get the "en-GB.tpl_gk_corporate2.ini" file and paste inside the "gk_corporate2_2" folder.

- Rename "en-GB.tpl_gk_corporate2.ini" to "en-GB.tpl_gk_corporate2_2.ini"

- Open templateDetails.xml and rename:

Code: Select all
<name>gk_corporate2</name>

to
Code: Select all
<name>gk_corporate2_2</name>


- Also on same file, rename:

Code: Select all
<language tag="en-GB">en-GB.tpl_gk_corporate2.ini</language>

to
Code: Select all
<language tag="en-GB">en-GB.tpl_gk_corporate2_2.ini</language>


- Compress file with .zip format and install using Joomla Installer as a normal template.

Cheers ;)
User avatar
Platinum Boarder

GK User
Wed May 19, 2010 12:27 am
I am still not getting this! I only have the one template, all named as the original template name, I have not duplicated it, but am still getting the "1"s showing if I use the "Log in" area.
User avatar
Fresh Boarder

teitbite
Thu May 20, 2010 1:23 pm
Hi

Can I please see the site with this 111 in Log in ?
User avatar
Moderator

GK User
Thu May 20, 2010 4:07 pm
http://www.bestbusinessgroup.co.uk/

Do you need admin log in?
User avatar
Fresh Boarder

teitbite
Sun May 23, 2010 3:20 pm
Hi

I think there is a wrong place translation for GK_LOGIN at language files, but if the site will use only one language plaease edit file templates/gk_corporate2/layouts/blocks/toolbar.php line 56

Code: Select all
         <a href="<?php echo $this->baseurl(); ?>index.php?option=com_user&view=login" id="btn_login"><?php echo ($userID > 0) ? JText::_('GK_LOGOUT') : JText::_('GK_LOGIN'); ?></a>




And change the text for GK_LOGOUT and GK_LOGIN manualy.
User avatar
Moderator


cron