Go to advanced search

by mize03
Fri Nov 23, 2012 10:11 am
Forum: General discussion
Topic: joomla plugin to control gpios
Replies: 3
Views: 1261

Re: joomla plugin to control gpios

Here is the finale plugin :-) php file: <?php defined('_JEXEC') or die; jimport('joomla.plugin.plugin'); class plgContentraspgpio extends JPlugin { public function onContentPrepare( $context, &$article, &$params, $limitstart=0 ) { //save the text of the article in txt $txt = $article->text; //all gp...
by mize03
Thu Nov 22, 2012 9:55 pm
Forum: General discussion
Topic: joomla plugin to control gpios
Replies: 3
Views: 1261

Re: joomla plugin to control gpios

Hey,

thanks for your reply.
You are right, that's a big security problem.

Today i solved my problem to install a plugin.
It is forbidden to use uppercase letters in the filenames and you must use a special php classname.

I will post the files after fixing the security problem.
by mize03
Wed Nov 21, 2012 7:50 pm
Forum: General discussion
Topic: joomla plugin to control gpios
Replies: 3
Views: 1261

joomla plugin to control gpios

Hello, i installed joomla on my raspberry pi and use WiringPi to control the gpios. I want a easy use of the gpios via joomla. So i manipulate an existing joomla plugin for my use and it works fine :-) When i write {gpio}23{/gpio} in the editor of joomla it creates a a button on the homepage to togg...

Go to advanced search