0
Welcome Guest! Login
0 items Join Now

SOLVED HTML & CSS question - h1 tag for titles

    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: SOLVED HTML & CSS question - h1 tag for titles

    Posted 17 years 2 months ago
  • Re: SOLVED HTML & CSS question - h1 tag for titles

    Posted 17 years 2 months ago
    • For anyone interested in SEO I have just implemented the JooFox additions that allow you to use the content item alias to create a page title tag and also a H1 header module.

      You have to first update the admin template then install the title mambot and the header module. Works ok for me.

      As the front page is a special case I use the global title to set the frontpage and the content alias for all other pages.

      Get them at www.antoniodeluca.info/

      Cybersmyth
    • solarian's Avatar
    • solarian
    • Jr. Rocketeer
    • Posts: 28
    • Thanks: 0

    Re: SOLVED HTML & CSS question - h1 tag for titles

    Posted 16 years 8 months ago
    • hello, in my 1.5.1 Joomla with Replicant tmpl I could not foung an /components/com_content/content.html.php file.
      can anybody tell me how to solve this?
      tnx
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: SOLVED HTML & CSS question - h1 tag for titles

    Posted 16 years 8 months ago
    • In 1.5, you'd best do this in the template via something called template overrides.

      It's pretty complicated if you don't understand php but you can get the general idea from the Beez template that came packaged with J1.5

      The Beez template overrides also strip out all J tables... so you end up with a completely tableless template.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
  • Re: SOLVED HTML & CSS question - h1 tag for titles

    Posted 16 years 7 months ago
    • teletrance wrote:
      hello, in my 1.5.1 Joomla with Replicant tmpl I could not foung an /components/com_content/content.html.php file.
      can anybody tell me how to solve this?
      tnx

      I accomplished this yesterday. Here is the code I am using now: lines 10-17


      <td class="contentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>" width="100%"> <h1>
      <?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
      <a href="<?php echo $this->article->readmore_link; ?>" class="contentpagetitle<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
      <?php echo $this->escape($this->article->title); ?></a>
      <?php else : ?>
      <?php echo $this->escape($this->article->title); ?>
      <?php endif; ?> </h1>
      </td>


      The file you need to modify is the default.php in the Article directory.

      Here is the path: /components/com_content/views/article/tmpl/default.php
  • Re: SOLVED HTML & CSS question - h1 tag for titles

    Posted 16 years 1 week ago

Time to create page: 0.059 seconds