turn off SEF for wrapper?
- gk1
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 9 months ago #2138
by gk1
that's unfortunately way beyond my skill set... Had a quick look around but found mostly mambo related stuff, and given things have moved on a bit since, I would have no clue about making sure all is as it should be .... am using joomla 1.0.13...
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
16 years 9 months ago #2141
by Saka
Emir Sakic
www.sakic.net
A component built for Mambo 4.5 would work just as well.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
16 years 9 months ago #2142
by Saka
Emir Sakic
www.sakic.net
I just come to think of a way you could input custom parameters in a component: use a query string.
For example, instead of having a link like:
sefRelToAbs("index.php?option=com_wrapper&task=view&Itemid=32&trid=145&tr=Bellingham-to-Bridport&un=northy");
do this:
sefRelToAbs("index.php?option=com_wrapper&task=view&Itemid=32")."?trid=145&tr=Bellingham-to-Bridport&un=northy";
It will give you the URL like:
www.4x4earth.com.au/wrapper/?trid=145&tr...o-Bridport&un=northy
The parameters from the query string will now be passed to the component and registered as GET variables as usual.
For example, instead of having a link like:
sefRelToAbs("index.php?option=com_wrapper&task=view&Itemid=32&trid=145&tr=Bellingham-to-Bridport&un=northy");
do this:
sefRelToAbs("index.php?option=com_wrapper&task=view&Itemid=32")."?trid=145&tr=Bellingham-to-Bridport&un=northy";
It will give you the URL like:
www.4x4earth.com.au/wrapper/?trid=145&tr...o-Bridport&un=northy
The parameters from the query string will now be passed to the component and registered as GET variables as usual.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.