Saturday, 01 November 2014 09:47
beggarly

execute plugin in article displaying in Globalnews module

Groups your news by sections or by categories

execute plugin in article displaying in Globalnews module

Postby kyle.ledbetter » Tue Jul 14, 2009 12:09 am

Hi, we use and love the Global News plugin on our homepage and always recommend it to our members.

Is there any way to hack it so it will execute the Joomla! plugins from the articles being displayed?

Best,
-Kyle
JoomlaPraise.com
kyle.ledbetter
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Tue Jul 14, 2009 12:04 am

Re: execute plugin in article displaying in Globalnews module

Postby atramo » Fri Sep 11, 2009 8:22 pm

Hi, Kyle. If I understand (sorry, my English is poor ..), you are interested in handling also the plugins (ex. for playing videos) in the preview of articles.
If this is the case, I solved this problem by adding a parameter (plugins, a radio button) in the mod_globalnews.xml file and a few new rows in helper.php file.
Maybe is not the best solution (for example, if plugins are used, I choose to display only title and introtext) but you can easily improve it.
You can see the effect here, in the "Highligths" module; I used it to display videos.
I will attach the two files helper.php (I haved to rename it helper.txt) and mod_globalnews.xml .
HTH, Andrea.
helper.txt
(16.01 KiB) Downloaded 453 times

mod_globalnews.xml
(11.99 KiB) Downloaded 439 times
atramo
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Fri Sep 11, 2009 7:59 pm


Return to Global News



Who is online

Users browsing this forum: No registered users and 1 guest