0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Firebug HTML Editing Help

  • Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • See attached pic. I would like to edit the link when someone clicks the 'Create an Account'. Where can I find the highlighted line so I can edit it? I can't seem to figure out what file it is kept in. Help is appreciated. Site is www.gamebabbler.com

      This image is hidden for guests.
      Please log in or register to see it.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • Turn off RokGZipper and it will be easier to see which file to edit.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • I turned off RokGZipper, but I still can't find the file location. Which file is the HTML located for the above question? I need to edit this line:

      <a href="/component/user/register">Create an account</a>
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 956
    • Volunteer

    Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • Joomla-Root/templates/rt_zephyr_j15/html/mod_login/default.php

      line 73 to 76

      <li>
      <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register' ); ?>">
      <?php echo JText::_('REGISTER'); ?></a>
      </li>
  • Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • Thanks, but where did you see this path on firebug? Can you provide a screen shot possibly?

      Joomla-Root/templates/rt_zephyr_j15/html/mod_login/default.php
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 956
    • Volunteer

    Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • ... that path is created dynamically by the joomla framework. So ther is no chance to see that line in Firebug. But you could replace that with an absolute path if you want to ...
  • Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • I just want to be able to find the right files to edit without having to ask every time that's all. I see the file locations to edit CSS using firebug, but the HTML doesn't seem to be as easy...for example, firebug shows something different compared to the code you showed me.

      firebug shows this: <a href="/component/user/register">Create an account</a>

      vs.

      <li>
      <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register' ); ?>">
      <?php echo JText::_('REGISTER'); ?></a>
      </li>
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 956
    • Volunteer

    Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • Firebug can't do what you want ...
    • Adamck's Avatar
    • Adamck
    • Elite Rocketeer
    • Posts: 546
    • Thanks: 2
    • Web Developer, IT Assistant, Graphics design, App Developer

    Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • You cant see the HTML before the browser has ran the html.

      The HTML you want is server side and the HTML you see in firebug has already ran and is now client side.

      Its like wanting to see PHP before its loaded without FTP or server access, it wont let you!

      Most the files you will want to edit are in obvious locations (if your familiar with the layout of the files and folders) OR if you google it, its usually answered on the Joomla forums or on here.

      Your not really supposed to hack core joomla files, but i know sometimes you have no choice, just remember to repeat these hacks when you upgrade Joomla, or they will be overwritten!
    • Kiss my RSS
  • Re: Firebug HTML Editing Help

    Posted 13 years 8 months ago
    • thanks to all, i appreciate the information.

Time to create page: 0.111 seconds