Monday, May 21st

Last update05:36:30 AM GMT

Font Size

Screen

Profile

Layout

Menu Style

Cpanel
Welcome, Guest
Username Password: Remember me

Install plugin twice on purpose!
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Install plugin twice on purpose!

Install plugin twice on purpose! 2 years, 7 months ago #2184

  • Nyssa
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hey all!

Is there any way to install a plugin twice? I have this awesome plugin - TweetMe - but I want to set it up next to the title in one section and set it up in the intro in another section. The reason being that the Review section of my site is run by Jreviews which has it's own layout, where the articles are just within the Joomla article section.

And yes, I did try the developers, but their only contact is through their forum, of which I signed up but then couldn't post anything!

Cheers muchly!

~Nyssa

Re:Install plugin twice on purpose! 2 years, 7 months ago #2186

  • dex
  • OFFLINE
  • Moderator
  • Posts: 779
  • Karma: 12
Hi Nyssa

You cant actually install the plugin twice, as such, you just use it twice.

But if you want to place it in two different spots depending on section, you might have to do something a bit clever with CSS.

Can you supply links so we can take a look?

Dex
Dex Randall
Joomla! web design and production
Sydney JUG organiser + joomla.org.au site admin
www.spikesystems.com.au
www.twitter.com/dexx

Re:Install plugin twice on purpose! 2 years, 7 months ago #2187

  • Nyssa
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Thanks for responding, dex!

It's on the top right on this page: www.awritergoesonajourney.com/index.php?...genre&Itemid=171

In the plugin parameters, you can set it to top or bottom, whether on the same line as the title or if it's within the intro, but I wanted two of them so I could set it in one area (where it is now) in the article, and further down in a review (because otherwise there's too much white space!)

Re:Install plugin twice on purpose! 2 years, 7 months ago #2188

  • dex
  • OFFLINE
  • Moderator
  • Posts: 779
  • Karma: 12
Dunno, sorry.
If it were me I would probably have to do a little light code editing. Altho if you re-named the plugin, you could perhaps install it twice.
Dex
Dex Randall
Joomla! web design and production
Sydney JUG organiser + joomla.org.au site admin
www.spikesystems.com.au
www.twitter.com/dexx

Re:Install plugin twice on purpose! 2 years, 7 months ago #2189

  • Partic
  • OFFLINE
  • Moderator
  • Posts: 340
  • Karma: 21
Dex is correct - I've had to do this once before to format the same thing as a plugin two different ways.

If it's a simple plugin, you need to edit the XML and the PHP files, and the main thing you need to change is the bit that goes between {} to trigger the plugin, as it needs to be called differently for each instance.
Patrick Jackson
www.kpsystems.com.au
Ask Anything Joomla and I'll helpfully tell you where to go

Re:Install plugin twice on purpose! 2 years, 7 months ago #2193

  • razz
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
I thought you could just go ahead and use a plugin in more than one article, kind of as easily as you can copy a module and give it a different name to use it in more than one place. ????
Lucky i saw this...

Re:Install plugin twice on purpose! 2 years, 7 months ago #2198

  • dex
  • OFFLINE
  • Moderator
  • Posts: 779
  • Karma: 12
Hi Razz

Yes you can use a plugin in multiple articles. But the settings will always be the same for the plugin in every article.

What Nyssa wants is for the plugin to sometimes work one way (display at the top) and sometimes another (display further down).

Dex
Dex Randall
Joomla! web design and production
Sydney JUG organiser + joomla.org.au site admin
www.spikesystems.com.au
www.twitter.com/dexx
  • Page:
  • 1
Time to create page: 0.47 seconds
You are here: Forum