Only display Email/Print icons in a full article view?

Your code modifications and patches you want to share with others.
Locked
eskimo30
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Sep 10, 2008 8:01 pm

Only display Email/Print icons in a full article view?

Post by eskimo30 » Thu Mar 12, 2009 7:55 pm

Hi all,

I hope I can explain this correctly.

Globally, I have the email/print/pdf icons turned off. I want them on some articles, so I've switched them on. But I would really love to be able to only see those icons when a full article is viewed, rather than beside the title of each article in a blog layout. Why I'm after this is a longer story, but only seeing the icons when clicking on the full article is an urgent priority.

Can anybody suggest a way to achieve this?

Thanks in advance!

werdin
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Thu Jan 03, 2008 12:23 pm

Re: Only display Email/Print icons in a full article view?

Post by werdin » Tue Mar 17, 2009 9:04 am

It's been a while since this posting... Is there a solution to this?

eskimo30
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Sep 10, 2008 8:01 pm

Re: Only display Email/Print icons in a full article view?

Post by eskimo30 » Tue Mar 17, 2009 2:25 pm

Not that I've found yet.

An alternative would be to shut everything off globally then manually load the icons where I want them in the articles where I need them to display. I don't know if there's anything that would allow me to call them like a module ( {loadposition icons} ) in my content.

Anyone?

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: Only display Email/Print icons in a full article view?

Post by mic » Tue Mar 17, 2009 3:02 pm

Look at the Joomla Extension Directory: http://extensions.joomla.org/
There are some which should do exactly what you want.
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team

allmylove
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Sep 14, 2007 7:54 pm

Re: Only display Email/Print icons in a full article view?

Post by allmylove » Thu Apr 01, 2010 6:52 pm

This is kind of old, but I was googling for the same solution and wanted to share what I ended up doing.

If we're talking 1.5 the only way I've been able to do this is by using CSS to hide all the icons in blog form. As long as you're specific it will still display in content. It's not a permanent fix but it does the trick.

Code: Select all

table.blog .buttonheading {display:none;}
Anyways going back to the original problem. This way you only have to turn them off for the ones you don't want printable.

egorman
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu May 06, 2010 5:40 pm

Re: Only display Email/Print icons in a full article view?

Post by egorman » Tue Jul 06, 2010 8:22 pm

This is great! Thank you!

I only wanted to allow printing to registered users. I was using the 'Register to read more...' and 'Show Unauthorized Links' attributes so now the print button only shows when they are logged in and after they click the read more button. (Like in this tutorial http://www.dart-creations.com/joomla/jo ... users.html)


Locked

Return to “Core Hacks and Patches”