PDA

View Full Version : Trouble linking to raid pages through Joomla


Lailoken
03-23-2007, 05:37 PM
I'm actually not sure where the problem lies because this involves a few different applications, but I figured this would be a good place to start.

I'm using Joomla! 1.0.8 and phpraid 3.0.9.2. I got a module called Phpraid Events that shows the latest raids. I've hacked the Wrapper component so that I can link to specific URLs and I'm trying to make it so that you can click on the link in the module and it takes you to the raid's page, opening up in a Wrapper frame.

I've hacked the module script so that it links to a specific raid page, but if I click on the link it opens up in the wrapper frame as a blank raid form. If I change it so that it links to the raid page, but not in a wrapper frame then it works fine. An example of the wrapper URL linking to a specific raid page would be:

www.yourwebsite.com/index.php?option=com_wrapper&Itemid=47&page=view.php?mode=view&raid_id=200

which should open up the url "www.yourwebsite.com/phpraid/view.php?mode=view&raid_id=200 inside the frame.

I have a suspicion that the problem is in the URL.

Batard
03-28-2007, 12:47 AM
Try escaping the ?, & and = in the query string for view.php

Turn:

www.yourwebsite.com/index.php?option=com_wrapper&Itemid=47&page=view.php?mode=view&raid_id=200

Into:


www.yourwebsite.com/index.php?option=com_wrapper&Itemid=47&page=view.php%3Fmode%3Dview%26raid_id%3D200

I know it looks cryptic, but
%3F -> ?
%3D -> =
%26 -> &

What's most likely happening is the browser isn't sure which query string goes where...

Let me know if this works,

-Batard.

mickey
06-04-2007, 02:51 AM
If anyone interested. I made a joomla component of Phpraid...

Just PM me if you want to have a look. ::)

Regards,
Mickey.

shimaro
07-13-2007, 07:48 AM
I PM'd you, but no answer.
Need phpraid joomla's component very much..

weshley
02-20-2008, 03:20 PM
would like to see it as well very intresting