file path to edit html for "sign in" link

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Jul 06, 2013 7:50 pm
Reply with quote
Report this post
I want to find index.html file path for the startup template for joomla 3.0.

I found the html with firebug, but can't find the file on my server.

I want to change this:

Code: Select all
<div id="gkUserArea">
                          <a href="/index.php/template/users/registration-form" id="gkRegister">Sign In</a>
                          
                          <a href="/index.php/template/users" id="gkLogin">Login</a>
                       </div>


To this:

Code: Select all
<div id="gkUserArea">
                          <a href="/index.php/template/users/registration-form" id="gkRegister">Sign Up</a>
                          
                          <a href="/index.php/template/users" id="gkLogin">Login</a>
                       </div>


Where is the file path for index.html on my live server for the startup template?
User avatar
Senior Boarder

teitbite
Sat Jul 06, 2013 11:27 pm
Reply with quote
Report this post
Hi

I think You will find it in /layout/default.php
User avatar
Moderator

GK User
Mon Jul 08, 2013 10:44 pm
Reply with quote
Report this post
teitbite wrote:Hi

I think You will find it in /layout/default.php



Not at all, I know I can change the html file if you can tell me where it is at. The default.php file when I use notepad++ search can not find "sign in."

Again, where is the the landing page html file for the startup template?

This is frustrating only because I can find and edit it with firebug, but can't seem to find the file path.
User avatar
Senior Boarder

teitbite
Wed Jul 10, 2013 2:48 am
Reply with quote
Report this post
Hi

There is no HTML file. HTML code is being generated by php. The main file for it is /layout/default.php the code You are lookin for is this one:

Code: Select all
          <div id="gkUserArea">
             <?php if($this->API->get('register_link') && $userID == 0) : ?>
             <a href="<?php echo $this->API->get('register_url', 'index.php?option=com_users&view=registration'); ?>" id="gkRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
             <?php endif; ?>
             
             <?php if($this->API->modules('login')) : ?>
             <a href="<?php echo $this->API->get('login_url', 'index.php?option=com_users&view=login'); ?>" id="gkLogin"><?php echo ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT'); ?></a>
             <?php endif; ?>
          </div>
User avatar
Moderator


cron