Remove Component or Feature Articles from front page in Joomla 2.5 rocket theme

1,413 views
Skip to first unread message

My Syber Sybersolutions

unread,
Jun 4, 2012, 10:06:12 AM6/4/12
to Gantry Framework for Joomla Users
Hi,

I need to figure out how to remove the component from the front page.
My client only wants modules on the front page. I have tried to
turning display component and main body to off but it still shows a
blank white space.

Thank you for your help.

Marcin Paczkowski

unread,
Jun 4, 2012, 10:23:08 AM6/4/12
to gantry-framework...@googlegroups.com
Hi

you can add in css file (like style.css) line

#rt-main .rt-block {padding-top:0; padding-bottom: 0}

but this will affect other pages as well.

Marcin
Wiadomość napisana przez My Syber Sybersolutions w dniu 4 cze 2012, o godz. 16:06:
> --
> You received this message because you are subscribed to the Google
> Groups "Gantry Framework for Joomla Users" group.
> To post to this group, send email to
> gantry-framework...@googlegroups.com
> To unsubscribe from this group, send email to
> gantry-framework-for-j...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/gantry-framework-for-joomla-users?hl=en
>
> Gantry Framework Homepage: http://www.gantry-framework.org

Saurabh Shah

unread,
Jun 4, 2012, 7:15:22 PM6/4/12
to gantry-framework...@googlegroups.com
You need to check with view and also can add condition if it's home page or not and based on that you need to remove that space from homepage.
For removing the article you need to set your page with featured articles and then it will remove all from homepage.
Code :

<?php
$menu = & JSite::getMenu();
if ($menu->getActive() == $menu->getDefault())
{
     //echo 'This is the front page';
}
else
{
?>
<div> do want you want here </div>
<?php } ?>
--
Thanks and regards,
Saurabh Shah
http://www.designstudio16.com/

Mobile : +91 9970931101

Contact Me LinkedIn Facebook Twitter
Chat Google Talk/ shahsaurabh164 Skype/ saurabh.ds16 |
saurabh.cloudaccess.net




Chris Schultz

unread,
Oct 25, 2012, 4:17:48 PM10/25/12
to gantry-framework...@googlegroups.com
HI Saurabh,

Where do I insert this code?  If you could be very specific, that would be helpful.

Thank you!

> To unsubscribe from this group, send email to

> For more options, visit this group at
> http://groups.google.com/group/gantry-framework-for-joomla-users?hl=en
>
> Gantry Framework Homepage: http://www.gantry-framework.org

--
You received this message because you are subscribed to the Google
Groups "Gantry Framework for Joomla Users" group.
To post to this group, send email to

To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/gantry-framework-for-joomla-users?hl=en

Gantry Framework Homepage: http://www.gantry-framework.org
Reply all
Reply to author
Forward
0 new messages