0
Welcome Guest! Login
0 items Join Now

How to get rid of the displayed articles on front page..

  • Re: How to get rid of the displayed articles on front page..

    Posted 17 years 3 months ago
    • Alme, when someone clicks on the "Latest News," It is going to need that mainbody...

      I am not sure I can help you with this, there are too many factors. Removing the mainbody from the home page is easy. Removing it from ALL pages is easy (although it doesn't make sense), but to have it show in certain instances... The nest suggestion I would make is to create two templates and hook them together so they use the same CSS, and remove the mainbody from one and leave it in the other...

      BUT, That is not something I could help do over a forum. I would actually need to be paid to do something like that, because it can be tricky.

      If you know enough, then do it yourself, and just apply the template with the mainbody to the pages (menu items) that need it...

      Or, alternatively, perhaps someone else on the forum can help you do that...

      I am sorry I cannot be more help on this.
    • --
      Heather M. Claus
      www.nookienotes.com/index.php <--- in development
    • Alme's Avatar
    • Alme
    • Jr. Rocketeer
    • Posts: 39
    • Thanks: 0

    Re: How to get rid of the displayed articles on front page..

    Posted 17 years 3 months ago
    • Ok Heather Claus I understand.Thank you very much for ur help.If u could help me just to align the position of user 3 with left and right as shown in the picture.

      For the mainbody please send me a Pm with the price and banking details.

      Thank you
    • Prana's Avatar
    • Prana
    • Sr. Rocketeer
    • Posts: 147
    • Thanks: 0

    Re: How to get rid of the displayed articles on front page..

    Posted 15 years 11 months ago
    • "How to get rid of the displayed articles on front page" :arrow:

      I'm looking for a solution to this for 1.5

      Thanks.
    • www.shape-able.com
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: How to get rid of the displayed articles on front page..

    Posted 15 years 11 months ago
    • Prana wrote:
      "How to get rid of the displayed articles on front page" :arrow:

      I'm looking for a solution to this for 1.5

      Thanks.

      Please post this question in the forum for the template you are using.
    • Thanks,
      jim
  • Re: How to get rid of the displayed articles on front page..

    Posted 15 years 10 months ago
    • Hey Gang,
      I have a similar issue. Fairly new to all of this so didn't quite understand how this worked.

      I would like to remove the main content area from just the homepage. I have attached a file and my code. Can someone give my a hand please

      Thanks

      <?php
      /**
      * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
      * @license GNU/GPL, see LICENSE.php
      * Joomla! is free software. This version may have been modified pursuant
      * to the GNU General Public License, and as distributed it includes or
      * is derivative of works licensed under the GNU General Public License or
      * other free or open source software licenses.
      * See COPYRIGHT.php for copyright notices and details.
      */

      // no direct access
      defined( '_JEXEC' ) or die( 'Restricted access' );
      ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
      <html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
      <head>
      <jdoc:include type="head" />

      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template.css" type="text/css" />
      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />
      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('backgroundVariation'); ?>_bg.css" type="text/css" />
      <!--[if lte IE 6]>
      <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
      <![endif]-->
      <?php if($this->direction == 'rtl') : ?>
      <link href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template_rtl.css" rel="stylesheet" type="text/css" />
      <?php endif; ?>

      </head>
      <body id="page_bg" class="color_<?php echo $this->params->get('colorVariation'); ?> bg_<?php echo $this->params->get('backgroundVariation'); ?> width_<?php echo $this->params->get('widthStyle'); ?>">
      <a name="up" id="up"></a>
      <div class="center" align="center">
      <div id="wrapper">
      <div id="wrapper_r">
      <div id="header">
      <div id="header_l">
      <div id="header_r">
      <div id="logo"></div>
      <jdoc:include type="modules" name="top" />
      </div>
      </div>
      </div>

      <div id="tabarea">
      <div id="tabarea_l">
      <div id="tabarea_r">
      <div id="tabmenu">
      <table cellpadding="0" cellspacing="0" class="pill">
      <tr>
      <td class="pill_l">&nbsp;</td>
      <td class="pill_m">
      <div id="pillmenu">
      <jdoc:include type="modules" name="user3" />
      </div>
      </td>
      <td class="pill_r">&nbsp;</td>
      </tr>
      </table>
      </div>
      </div>
      </div>
      </div>

      <div id="search">
      <jdoc:include type="modules" name="user4" />
      </div>

      <div id="pathway">
      <jdoc:include type="modules" name="breadcrumb" />
      </div>

      <div class="clr"></div>

      <div id="whitebox">
      <div id="whitebox_t">
      <div id="whitebox_tl">
      <div id="whitebox_tr"></div>
      </div>
      </div>

      <div id="whitebox_m">
      <div id="area">
      <jdoc:include type="message" />

      <div id="leftcolumn">
      <?php if($this->countModules('left')) : ?>
      <jdoc:include type="modules" name="left" style="rounded" />
      <?php endif; ?>
      </div>

      <?php if($this->countModules('left')) : ?>
      <div id="maincolumn">
      <?php else: ?>
      <div id="maincolumn_full">
      <?php endif; ?>
      <?php if($this->countModules('user1 or user2')) : ?>
      <table class="nopad user1user2">
      <tr valign="top">
      <?php if($this->countModules('user1')) : ?>
      <td>
      <jdoc:include type="modules" name="user1" style="xhtml" />
      </td>
      <?php endif; ?>
      <?php if($this->countModules('user1 and user2')) : ?>
      <td class="greyline">&nbsp;</td>
      <?php endif; ?>
      <?php if($this->countModules('user2')) : ?>
      <td>
      <jdoc:include type="modules" name="user2" style="xhtml" />
      </td>
      <?php endif; ?>
      </tr>
      </table>

      <div id="maindivider"></div>
      <?php endif; ?>

      <table class="nopad">
      <tr valign="top">
      <td>
      <jdoc:include type="component" />
      <jdoc:include type="modules" name="footer" style="xhtml"/>
      </td>
      <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
      <td class="greyline">&nbsp;</td>
      <td width="170">
      <jdoc:include type="modules" name="right" style="xhtml"/>
      </td>
      <?php endif; ?>
      </tr>
      </table>

      </div>
      <div class="clr"></div>
      </div>
      <div class="clr"></div>
      </div>

      <div id="whitebox_b">
      <div id="whitebox_bl">
      <div id="whitebox_br"></div>
      </div>
      </div>
      </div>

      <div id="footerspacer"></div>
      </div>

      <div id="footer">
      <div id="footer_l">
      <div id="footer_r">
      <p id="syndicate">
      <jdoc:include type="modules" name="syndicate" />
      </p>
      <p id="power_by">
      <?php echo JText::_('Powered by') ?> <a href=" www.joomla.org ">Joomla!</a>.
      <?php echo JText::_('Valid') ?> <a href=" validator.w3.org/check/referer ">XHTML</a> <?php echo JText::_('and') ?> <a href=" jigsaw.w3.org/css-validator/check/referer ">CSS</a>.
      </p>
      </div>
      </div>
      </div>
      </div>
      </div>
      <jdoc:include type="modules" name="debug" />

      </body>
      </html>
  • Re: How to get rid of the displayed articles on front page..

    Posted 15 years 10 months ago
    • here is another screen shot of the effected area

Time to create page: 0.060 seconds