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, there is additional CSS styling tags that need to go into the code...

      If you post your index.php file, I can take a look... or perhaps James knows off the top of his head.
    • --
      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
    • Sure here is my index.php . I'll appreciate if you cld help me.
      Thank you
  • Re: How to get rid of the displayed articles on front page..

    Posted 17 years 3 months ago
    • Alme, what I see is that for some reason you have TWO pathways in here. This is your code:
      &nbsp;  <?php if ($show_pathway == "true") : ?>
      &nbsp; &nbsp; &nbsp; <div id="pathway">
      &nbsp; &nbsp; &nbsp; &nbsp;  <?php mosPathway(); ?>
      &nbsp; &nbsp; &nbsp; </div>
      &nbsp;  <?php endif; ?>
      &nbsp;  <?php if ($option!="com_frontpage") : ?>
      &nbsp; &nbsp; &nbsp; <?php if ($show_pathway == "true") : ?>
      &nbsp; &nbsp; &nbsp; &nbsp;  <?php mosPathway(); ?>
      &nbsp; &nbsp; &nbsp; <?php endif; ?>
      &nbsp; &nbsp; &nbsp; <?php mosMainbody(); ?>
      &nbsp;  <?php endif; ?>

      Change it to this:
      <?php if ($option!="com_frontpage") : ?>
      &nbsp;  <?php if ($show_pathway == "true") : ?>
      &nbsp; &nbsp; &nbsp; <div id="pathway">
      &nbsp; &nbsp; &nbsp; &nbsp;  <?php mosPathway(); ?>
      &nbsp; &nbsp; &nbsp; </div>
      &nbsp;  <?php endif; ?>
      &nbsp;  <?php mosMainbody(); ?>
      <?php endif; ?>
    • --
      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
    • nope.. :( exactlly the same problem.Nothing changed :(
  • Re: How to get rid of the displayed articles on front page..

    Posted 17 years 3 months ago
    • 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
    • user 3.
      If I put it in user 2 the borders are biger and the title of the module is smaller than the borders.
  • Re: How to get rid of the displayed articles on front page..

    Posted 17 years 3 months ago
    • Ok, there is another div there that needs to be enclosed. Change this:
      <div id="page">
           <?php if ($show_pathway == "true") : ?>
                <div id="pathway">
                     <?php mosPathway(); ?>
                </div>
           <?php endif; ?>
           <?php if ($option!="com_frontpage") : ?>
                <?php if ($show_pathway == "true") : ?>
                     <?php mosPathway(); ?>
                <?php endif; ?>
                <?php mosMainbody(); ?>
           <?php endif; ?>
           <?php mosLoadModules('user2', -2); ?>
      </div>

      To this:
      <?php if ($option!="com_frontpage") : ?>
      <div id="page">
           <?php if ($show_pathway == "true") : ?>
                <div id="pathway">
                     <?php mosPathway(); ?>
                </div>
           <?php endif; ?
           <?php mosMainbody(); ?>
           <?php mosLoadModules('user2', -2); ?>
      </div>
      <?php endif; ?>
    • --
      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
    • cool looks like its working but the only problem is with the position.I took a screen shoot and u can see that is not aligned at the top meaning to be at the same line with left and right.

      Also another thing.with the other pages I'm using anly modules .The only component I have is the gallery.Is there a way I can remove the main body box from the lins so I can have just modules published?I hope u understand what I mean :)
    • Last Edit: 17 years 3 months ago by Alme.
  • Re: How to get rid of the displayed articles on front page..

    Posted 17 years 3 months ago
    • Hmmm. I don't have time to check the positioning today (project deadline), but are you saying you will NEVER use the mainbody?
    • --
      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
    • I might use the mainbody only for one or the max 2 components.The rest of the website is created by modules.

Time to create page: 0.069 seconds