0
Welcome Guest! Login
0 items Join Now

Grunge Help

  • Grunge Help

    Posted 14 years 2 months ago
    • How can i move news title from orginal place to "Frontpage Arcticle" in grunge ?

      See image

      This image is hidden for guests.
      Please log in or register to see it.
  • Re: Grunge Help

    Posted 14 years 1 month ago
    • Need help
    • Shawn F's Avatar
    • Shawn F
    • Sr. Rocketeer
    • Posts: 105
    • Thanks: 0

    Re: Grunge Help

    Posted 13 years 9 months ago
    • I know this is a rather old post, however, I'd like to do the same thing.
    • Shawn F's Avatar
    • Shawn F
    • Sr. Rocketeer
    • Posts: 105
    • Thanks: 0

    Re: Grunge Help

    Posted 13 years 9 months ago
    • Scratch that. Found where to make the changes.

      Open File: templates/rt_grunge_j15/html/com_content/frontpage/default.php

      Line: 19
      <div class="sectiontitle"><?php echo $this->escape($this->item->section) ?></div> 
      <h1 class="title"><?php echo $this->escape($this->item->category) ?></h1>

      Change to:
       
      <div class="sectiontitle"></div> 
            <?php if ($this->item->params->get('show_title')) : ?>
                   <h1 class="title<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">
             <?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
                    <a href="<?php echo $this->item->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>"><?php echo $this->escape($this->item->title); ?></a>
               <?php else :
                                  echo $this->escape($this->item->title);
                endif; ?>
                 </h1>
            <?php endif; ?>

      Same file - Line: 41
      <div class="sectiontitle"><?php echo $this->escape($this->item->section) ?></div> 
                                  <h1 class="title"><?php echo $this->escape($this->item->category) ?></h1>

      Change to:
      <div class="sectiontitle"></div> 
                                  <?php if ($this->item->params->get('show_title')) : ?>
                                      <h1 class="title<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">
                                      <?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
                                      <a href="<?php echo $this->item->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>"><?php echo $this->escape($this->item->title); ?></a>
                                      <?php else :
                                          echo $this->escape($this->item->title);
                                      endif; ?>
                                      </h1>
                                  <?php endif; ?>

      Open File: templates/rt_grunge_j15/html/com_content/frontpage/default_item.php

      Line: 27
      <?php if ($this->item->params->get('show_title')) : ?>
          <h2 class="contentheading<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">
              <?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
                  <a href="<?php echo $this->item->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>"><?php echo $this->escape($this->item->title); ?></a>
              <?php else :
                  echo $this->escape($this->item->title);
              endif; ?>
          </h2>
          <?php endif; ?>

      Change to:
      <? /*   
          <?php if ($this->item->params->get('show_title')) : ?>
          <h2 class="contentheading<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">
              <?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
                  <a href="<?php echo $this->item->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>"><?php echo $this->escape($this->item->title); ?></a>
              <?php else :
                  echo $this->escape($this->item->title);
              endif; ?>
          </h2>
          <?php endif; ?>
         */
      ?>

      I've included the two modified files as well. As always MAKE A BACKUP!

Time to create page: 0.060 seconds