Content plugin not appear on Frontpage?
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- JSYMedia
- Joomla! Enthusiast
- Posts: 123
- Joined: Fri Aug 25, 2006 2:40 am
- Location: Largo, FL
- Contact:
Content plugin not appear on Frontpage?
Is it possible to insert a plugin (or module?) into an article and not have that plugin display on the front page?
When I display my 5 most recent articles on the front page in a blog layout, the Adsense plugin is displaying the 5 Google ads inserted within each article.
I'm aware I can insert the plugin code below the Readmore but I want the ad to be right-aligned at the beginning of each article.
I've seen this done on Wordpress blogs but can't seem to figure out how to do it within Joomla.
I have been using this plugin:
http://extensions.joomla.org/extensions ... e-ads/5022
When I display my 5 most recent articles on the front page in a blog layout, the Adsense plugin is displaying the 5 Google ads inserted within each article.
I'm aware I can insert the plugin code below the Readmore but I want the ad to be right-aligned at the beginning of each article.
I've seen this done on Wordpress blogs but can't seem to figure out how to do it within Joomla.
I have been using this plugin:
http://extensions.joomla.org/extensions ... e-ads/5022
Tampa Joomla web design at http://JSYMedia.com.
- sone12
- Joomla! Champion
- Posts: 5446
- Joined: Wed Oct 11, 2006 1:12 pm
- Location: Kristiansand, Norway
- Contact:
Re: Content plugin not appear on Frontpage?
I will guess that you can just hide it from the frontpage with use of css. " display:none"
Kristian P. Granrud
- JSYMedia
- Joomla! Enthusiast
- Posts: 123
- Joined: Fri Aug 25, 2006 2:40 am
- Location: Largo, FL
- Contact:
Re: Content plugin not appear on Frontpage?
Thanks for the reply.
Uhm....., any idea where that css would be added?
There isn't a front page css file, is there? Just not sure how to implement that. Using Joomla 2.5.4.
Uhm....., any idea where that css would be added?
There isn't a front page css file, is there? Just not sure how to implement that. Using Joomla 2.5.4.
Tampa Joomla web design at http://JSYMedia.com.
- sone12
- Joomla! Champion
- Posts: 5446
- Joined: Wed Oct 11, 2006 1:12 pm
- Location: Kristiansand, Norway
- Contact:
Re: Content plugin not appear on Frontpage?
Is your frontpage a featured page? If so, take a look at the source code and see the difference between that and the full article page.
E.g in a featured view the content can be wrapped inside a div named "blog-featured". Ofcouse it also can be something else, if your template got overrides.So if you puts the ads inside a div you can choose to hide it on the frontpage.
E.g in a featured view the content can be wrapped inside a div named "blog-featured". Ofcouse it also can be something else, if your template got overrides.
Code: Select all
<div class="blog-featured">
Code: Select all
.blog-featured .ads{display:none;}
Kristian P. Granrud
- JSYMedia
- Joomla! Enthusiast
- Posts: 123
- Joined: Fri Aug 25, 2006 2:40 am
- Location: Largo, FL
- Contact:
Re: Content plugin not appear on Frontpage?
Yes, all articles being displayed on the frontpage are featured.
http://mylifeneeds.com
The page code on my frontpage indicates this div class already exists that encompasses all featured frontpage articles:
I am using the plugin 'Modules Anywhere' to insert the 'Phoca Google Adsense Easy' module into articles. Within the 'Phoca Google Adsense Easy' module there is a css field for custom css. Is there any way to insert some code there to stop display on the 'rt-blog _frontpage' div? I don't think so but thought I would ask. I've given the 'Phoca Google Adsense Easy' a Module Class Suffix of:
I've tried inserting css code into the Gantry css (where it seems to need to go) without any luck. Just not sure where and what css to insert where. Sorry for the cluelessness.
http://mylifeneeds.com
The page code on my frontpage indicates this div class already exists that encompasses all featured frontpage articles:
Code: Select all
rt-blog _frontpage
Code: Select all
_phoca-adsense
Tampa Joomla web design at http://JSYMedia.com.
- JSYMedia
- Joomla! Enthusiast
- Posts: 123
- Joined: Fri Aug 25, 2006 2:40 am
- Location: Largo, FL
- Contact:
Re: Content plugin not appear on Frontpage?
Anyone???
Tampa Joomla web design at http://JSYMedia.com.
- sone12
- Joomla! Champion
- Posts: 5446
- Joined: Wed Oct 11, 2006 1:12 pm
- Location: Kristiansand, Norway
- Contact:
Re: Content plugin not appear on Frontpage?
I have looked at your site. I dont see any ads that are included in the articles at all? All ads I see is in a moduleposition below the Mailing List module.
Kristian P. Granrud
- JSYMedia
- Joomla! Enthusiast
- Posts: 123
- Joined: Fri Aug 25, 2006 2:40 am
- Location: Largo, FL
- Contact:
Re: Content plugin not appear on Frontpage?
I've been trying so many things and didn't have the plugin inserted. I now have it on the Earl Nightengale article located on the front page. Thank you for your help, Kristian.
Tampa Joomla web design at http://JSYMedia.com.
- sone12
- Joomla! Champion
- Posts: 5446
- Joined: Wed Oct 11, 2006 1:12 pm
- Location: Kristiansand, Norway
- Contact:
Re: Content plugin not appear on Frontpage?
This will probably not work...the name is bad...its a space above the _
Btw...If the name had been correct I guess it would work. E.g this code will work as I can see, but that will probably have effect on every page with blog layout.
Code: Select all
.rt-blog _frontpage iframe{display:none!important;}
Code: Select all
.blog-wrapper iframe{display:none!important;}
Kristian P. Granrud
- JSYMedia
- Joomla! Enthusiast
- Posts: 123
- Joined: Fri Aug 25, 2006 2:40 am
- Location: Largo, FL
- Contact:
Re: Content plugin not appear on Frontpage?
After much trial and error, I finally figured it out.
Install this plugin: http://extensions.joomla.org/extensions ... -ads/16027
Configure the plugin using the "Content top ads" by inserting your full Google ad code. Then add to the "css for ''top content'' ads container" field.
This plugin only displays the ads on the article view page and therefore not on Joomla 2.5 Featured/front page view. Set it up once and it inserts the ad into all articles. Brilliant.
Thanks again for your help.
Install this plugin: http://extensions.joomla.org/extensions ... -ads/16027
Configure the plugin using the "Content top ads" by inserting your full Google ad code. Then add
Code: Select all
float:right
This plugin only displays the ads on the article view page and therefore not on Joomla 2.5 Featured/front page view. Set it up once and it inserts the ad into all articles. Brilliant.
Thanks again for your help.
Tampa Joomla web design at http://JSYMedia.com.