A free components from skorp.royy.net

A free components from skorp.royy.net

Download arrow Forum
Joomla
Welcome, Guest
Please Login or Register.    Lost Password?
link from a cloud (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: link from a cloud
#352
jmsixt (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
link from a cloud 1 Year, 10 Months ago Karma: 0  
When we click on a word link in a cloud, a search page is displayed.
I would like to have a search page with the same module displayed that the previous one with the cloud.

To do that the only way I found is to have in the final search url the same parameter "Itemid" than the original one in the page with the cloud.

I've try to patch the cloud module and component to do that but with no success.

Anyone having a solution for that ?
 
Logged Logged  
  The administrator has disabled public write access.
#354
skorp (Moderator)
Moderator
Posts: 206
graph
User Offline Click here to see the profile of this user
Re:link from a cloud 1 Year, 10 Months ago Karma: 6  
Hi!

Here is a patch that adds "Set Itemid" option.
Download

Skorp
 
Logged Logged  
 
Project site: www.joomla.royy.net
------------------------------------------------------------
"Anyone who has never made a mistake has never tried anything new."
Albert Einstein

  The administrator has disabled public write access.
#355
jmsixt (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:link from a cloud 1 Year, 10 Months ago Karma: 0  
It's not exactly what I want.

The parameter is now ok in the generated cloud (I had also succeded with that point, adding not a fixed ItemId but the ItemId of the original page).

What is not working is that this ItemId is not propagated to the search page.

I try to give an example:

URL of the original page where the cloud is generated:

localhost/index.php?option=com_content&a...t=blog&id=8&Itemid=11

One link in the cloud:

localhost/index.php?option=com_rafcloud&...any&sid=847&Itemid=11

URL of the resulting search page when clicking on the link:

localhost/index.php?searchword=mail&...mp;option=com_search

I want that URL to be:

localhost/index.php?searchword=mail&...tion=com_search&Itemid=11
 
Logged Logged  
  The administrator has disabled public write access.
#356
jmsixt (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:link from a cloud 1 Year, 10 Months ago Karma: 0  
I've merge my original patch that takes the Itemid in the originating page
with yours.

The two options are possible, but if you fix the Itemid the other is without effect.

I've also made a patch for the search component (file controller.php to replace existing one in /components/com_search/).
This patch is also needed if you choose option "Internal link" for the module parameter "SEF Urls"

jmsixt
File Attachment:
File Name: mod_raf_cloud-3c7383e317bb9b621c064c3b193d71d0.zip
File Size: 6478
 
Logged Logged  
  The administrator has disabled public write access.
#358
skorp (Moderator)
Moderator
Posts: 206
graph
User Offline Click here to see the profile of this user
Re:link from a cloud 1 Year, 10 Months ago Karma: 6  
Hi!

This problem occurs only in Joomla 1.5.x.
Thank you for sharing this code.

Skorp
 
Logged Logged  
 
Project site: www.joomla.royy.net
------------------------------------------------------------
"Anyone who has never made a mistake has never tried anything new."
Albert Einstein

  The administrator has disabled public write access.
Go to top


Joomla Templates by Joomlashack