Enable / Disable featured articles on frontpage

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Nov 26, 2012 9:17 pm
Reply with quote
Report this post
Even though I have 3 featured articles none of them shows on the frontpage. I've looked in templates settings-Basic settings (where the setting is supposed to be) but nothing there :shock: . So I wonder... where is the enable/disable setting-option?
User avatar
Expert Boarder

GK User
Tue Nov 27, 2012 9:03 am
Reply with quote
Report this post
Please go to template directory and open file layouts/default.php, then find this part from line 137 :

Code: Select all
<section id="gkMainbody">
               <?php if(($this->layout->isFrontpage() && !$this->API->modules('mainbody')) || !$this->layout->isFrontpage()) : ?>
                  <jdoc:include type="component" />
               <?php else : ?>
                  <jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
               <?php endif; ?>
            </section>


and replace with :

Code: Select all
<section id="gkMainbody">
               <?php if(($this->layout->isFrontpage() && !$this->API->modules('mainbody')) || !$this->layout->isFrontpage()) : ?>
                  <jdoc:include type="component" />
               <?php endif; ?>
               <jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
            </section>
User avatar
Platinum Boarder

GK User
Tue Nov 27, 2012 9:48 pm
Reply with quote
Report this post
There are still no articles on the frontpage.
User avatar
Expert Boarder

GK User
Wed Nov 28, 2012 10:23 am
Reply with quote
Report this post
Could you send me ftp details and admin access ? Please use PM and remember to include forum topic link in message.
User avatar
Platinum Boarder

GK User
Wed Nov 28, 2012 3:26 pm
Reply with quote
Report this post
bkrztuk wrote:Could you send me ftp details and admin access ? Please use PM and remember to include forum topic link in message.

I just found out there was a module published in the mainbody-position that caused the problem. Unpublishing that module makes the frontpage-article appear.
User avatar
Expert Boarder


cron