Topic Closed
Juri-S
9 Posts
20.1K Downloads
1 Themes

 

Hi
 
How can I directly in a template appeal a plugin ("eg, Random Quotes").
 
Something like gpOutput::GetAllGadgets(); but it should show only one specific plugin.
 
Please help.
10 years ago#3310

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

.

Edited: 10 years ago#3312

Juri-S
9 Posts
20.1K Downloads
1 Themes

 

Hello Stano
 
Thank you for your answer.
 
Have now tried your proposing, and it does not work.
 
Do you have an idea how I can show it.
10 years ago#3313

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

I am sorry Juri I wasted your time.

Good solution is bellow.

Also thanks Josh, good to know, that is useful :-)

Edited: 10 years ago#3314

Josh S.
2K Posts
306K Downloads
16 Themes
18 Plugins

There is actually a method of doing this built into gpEasy. Here's how it's done

<?php
 $addon_content = gpOutput::Fetch('Gadget','Simple_Blog');

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><body>

...

<?php echo  $addon_content; ?>
 

 

10 years ago#3319

Juri-S
9 Posts
20.1K Downloads
1 Themes

Hi Josh S.

This is exactly the solution I was looking for. Now everything works as it should be.

Thank you.

Stano
Thank you for taking time for myself.

Edited: 10 years ago#3408

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register