Open link inside Joomla, not PHP file

A multipurpose module, plugin and component

Open link inside Joomla, not PHP file

New postby rihcardo » Wed Oct 19, 2011 5:23 am


I have searched all the forum and really didnt find an answer for a simple problem I think.
I have a script that contains a query to the db and redirect you to a form edition page.
I just wanted the redirect page been inside joomla. Until now I tried module, component or jumi plugin and couldnt load the next page inside Joomla, always loading a file. Here is a part of the script with the link:
<a href="{includes/php/horas.php?&id=<?php echo $id ?>"><img src="includes/php/horasrh/edit.png" width="15" height="15"/></a></td>.

Appreciate some help! Thank you!
Posts: 1
Joined: Wed Oct 19, 2011 5:08 am

Re: Open link inside Joomla, not PHP file

New postby shavertech » Thu Oct 20, 2011 8:40 pm

<a href="includes/php/horas.php?id=<?php echo $id ?>">

This is linking to something in the includes/php folder. If you want to use Jumi to open this file within Joomla, copy the file to your Joomla / Jumi directory:

Now you can either link directly to the file:
<a href="index.php?option=com_jumi&fileid=3&id=<?php echo $id ?>">
(changing the fileid number to whatever your 'horas.php' file happens to be)

Or you can make a menu item to Jumi Application, and link it that way, for example:
<a href="horas-jumi-page?id=<?php echo $id ?>">
Posts: 41
Joined: Tue Oct 18, 2011 11:41 am

Return to Jumi

Who is online

Users browsing this forum: No registered users and 5 guests