PHPRunner and Joomla |
12/2/2009 12:33:29 AM |
PHPRunner Tips and Tricks | |
admin
This article explains how to integrate PHPRunner and Joomla. Tested with PHPRunner 5.x-6.2 and Joomla 1.5, 1.6, 1.7, 3.1. define( '_JEXEC', 1 );
defined('_JEXEC') or die('Restricted access'); $session = JFactory::getSession(); $sid = $session->getId(); ?> ... name="iframe" src="<?php echo $this->wrapper->url . "?sessionid=$sid"; ?>" width="<?php echo $this->params->get( 'width' ); ?>" ...
... $session = JFactory::getSession(); $sid = $session->getId(); if ($params0['src']) $params0['src'].="?sessionid=$sid"; if($url !='') { if(strpos($url,'http://';) === false) $params0['src'] = 'http://';.$url;
{iframe width="600" height="350" align="top" src="http://localhost:81/joomla17Project/menu.php" }{/iframe}
if($logged)
|
|
R
|
runey 12/2/2009 |
Excellent to see a tutorial for integration with Joomla <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=45881&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
admin 12/2/2009 | |
Runey, |
B
|
bfr 12/3/2009 |
Runey, thank you, I'll check that and update article accordingly.
|
hichem 12/3/2009 | |
I am a fan of Joomla as well but had to switch to ASPRunner. |
D
|
dsaunier 12/3/2009 |
"What is the next CMS we should integrate with?" |
S
|
salus1DevClub member 12/3/2009 |
There are a number of iframe plug-ins available which make it very easy to implement PHPRunner or ASPRunner solutions into WodPress sites... |
M
|
mlapl1 12/9/2009 |
Hello |
K
|
kharazm 12/16/2009 |
Thanks you very much for this article . |
admin 12/16/2009 | |
You can find it on Events screen in PHPRunner. |
B
|
biotechsun 12/16/2009 |
Dear Admin |
admin 12/30/2009 | |
Open login.php file in any text editor and find the following section: if($logged)
|
jwoker 2/2/2010 | |
Putting Moodle on the horizon would be nice. |
D
|
dsaunier 3/19/2010 |
There are a number of iframe plug-ins available which make it very easy to implement PHPRunner or ASPRunner solutions into WodPress sites...
|
E
|
ejosterberg 3/23/2010 |
According to number of votes we received via email here is the list of what we should implement next.
|
admin 3/23/2010 | |
B
|
bobdansei 3/26/2010 |
Eric, too late. http://www.asprunner.com/forums/topic/13467-phprunner-and-drupal/
|
L
|
lordkain2 3/26/2010 |
"What is the next CMS we should integrate with?" Wordpress no doubt ! That would be amazing. Any other supporters ? Thanks.
|
F
|
FunkDaddy 4/8/2010 |
you have my vote for a WordPress integration as well!!!! |
|
500474 4/9/2010 |
This article explains how to integrate PHPRunner 5.1 with Joomla 1.5.15. It should work the same way with other versions of PHPRunner and Joomla. The key to PHPRunner/Joomla integration is to display PHPRunner app in iframe. There are at least two ways to do so. We'll walk through both, step by step. 1. Wrapper extension (com_wrapper). Copy components/com_wrapper/views/wrapper/tmpl/default.php to templates/<your_template_here>/html/com_wrapper/wrapper/default.php. Default template in Joomla 1.5 is 'rhuk_milkyway' so you need to copy default.php to templates/rhuk_milkyway/html/com_wrapper/wrapper folder. . . . .
|
A
|
Astrid 10/19/2010 |
Does anybody have a solution for the following problem? PHP runner now works great with wrapper menu item and wrapper plugin. src="<?php echo $this->wrapper->url . "?sessionid=$sid"; ?>"
|
D
|
droogers 3/7/2011 |
Hello, |
F
|
FrankR 5/14/2011 |
Voting for integration with: |
M
|
Mwilson91325 5/23/2011 |
I am using Joomla 1.6 on a godaddy Linux hosting any updates on how Joomla and PHPRunner can use the same login?. I followed th example number one for the wrapper (This would be assume)but looks like joomla 1.6 is deferent. Also i would like not to keep changing it when we do Joomla updates (good point Runey) |
verbi 8/21/2011 | |
Hello, |
admin 8/21/2011 | |
Implemented a long time ago: |
P
|
pimpid 9/9/2011 |
I use wrapper extension to login by joomla pass to phprunner
|
admin 9/9/2011 | |
pimpid, |
K
|
kenlyle 9/27/2011 |
Would the team consider updating this integration for the latest, Joomla 1.7? I believe that the encryption of the passwords has changed. |
admin 9/27/2011 | |
Ken, |
G
|
GamezBeCJ 10/8/2011 |
I've successfully merged PHPRunner with a Joomla wrapper module as it is explained in this post. However, when I added Child Tables to the main table, the child table displays all the child records for each record on the parent table. |
G
|
GamezBeCJ 10/8/2011 |
I've successfully merged PHPRunner with a Joomla wrapper module as it is explained in this post. However, when I added Child Tables to the main table, the child table displays all the child records for each record on the parent table. I was wondering if anyone has experienced the same issue. I noticed that the child-master queries rely on GET to pass the reference on which child records to display. The 'hack' that is needed to login to PHPRunner using Joomla credentials, relies on modifying the URL to pick it up with a GET variable. Would this be overriding the normal PHPRunner mechanisms to pass information through GET?
|
D
|
Donald Ackley 1/2/2012 |
Ken, password encryption method is irrelevant here as we rely on built-in Joomla functionality here.
|
admin 1/2/2012 | |
Donald, |
D
|
Donald Ackley 1/3/2012 |
Donald, simple remove the code that relies on "gid" field. This code provides some extra functionality that is totally optional.
|
admin 1/4/2012 | |
Donald, |
K
|
kenny_robb 5/21/2013 |
I had this solution working wonderfully well up to the point that Joomla upgraded to v2.5 and the DB schema and how the session data was stored changed. usertype is no longer stored in a separate field, instead there is a lot of data stored in the "data" field. Anyone got any ideas how to make this work for Joomla 2.5? |
admin 5/22/2013 | |
Show us an example of what is stored in data field - probably I can suggest something. |
K
|
kenny_robb 5/22/2013 |
Table still Has Session_id, Client_id, guest, time, data, userid, username and usertype |
K
|
kenny_robb 6/3/2013 |
Went for a slightly different approach to get what I needed. Used the original code above and then simply did another query on other tables to get the information I needed using the uid that was in the session table. |
admin 6/7/2013 | |
kenny_rob, |
M
|
mmponline 6/14/2013 |
This integration is very helpful and I've used it with success. The main issue is still the Iframe. As most of you know, the Iframe does not work properly for search engine indexing. When a page is listed in Ex. Google and one clicks on it, it will open the PHPRunner page in a page with out the headers and footers and look of the page as it is shown in the page where the file is in the Iframe. |
S
|
simonedan 6/18/2013 |
Which php file is it exactly where |
admin 6/19/2013 | |
simonedaniele, |
O
|
oermops 7/2/2013 |
I may be missing something but I just tried the code above and PHPRunner isn't logging in automatically. All I can get after logging into Joomla is the PHPRunner login screen. I may have the Joomla and PHPRunner paths incorrect. I am using http://www.abc.com/joomla31 as the format for the Joomla path and www.abc.com/phprunner/menu.php as the PHPRunner path. Is there anything else missing? |
J
|
jdu001 10/30/2013 |
PHPRunner 6.2 and Joomla! 3.0.3 |
admin 10/31/2013 | |
It might be the problem with the fact you trying to apply Joomla 3.1 tutorial to Joomla 3.0.3 installation. It looks like it's trying to find defines.php file and not able to do so. |
A
|
angelcause 11/28/2013 |
I am using PHPRunner 6.2 and Joomla 3.1.1 Stable, I have added the below given code in the Wrapper menu but I am getting a error as below : define( '_JEXEC', 1 ); |
K
|
kenny_robb 1/1/2015 |
I have just upgraded my Joomla Site from 2.5x to 3.3.6 |
K
|
kenny_robb 1/1/2015 |
Ok the good news is that I rebuilt the project using V8 and cleared out the upload directory and uploaded all the files and it seems to be working. |
U
|
ustunsoz 4/27/2018 |
I am using Joomla 3.8.7 and successfully implemented as per the instruction. |