discover a string in a URL - Joomla! Forum - community, help and support


hi - trying adapt code found in topic
http://forum.joomla.org/viewtopic.php?f=466&t=311714&start=0
to work sef urls turned on - seems search url com_yourcomponnt breaks when sef on.
( code included @ bottom of post )

what plan discover string url , make work way

i planning on using juri:: url bit of novice , dont know how make search string in url, rather entire url

any or suggestions on appreciated

code: select all

the hardcoded version works me.

1.edit application.php

2.find
code:
// fallback template


3.before line insert:
code:
if (jrequest::getvar('option')=='com_comprofiler'){
$template = 'template's name';
}


it should work now.

update - got sorted - didnt have sef - still havent gotten bottom of sef rewrites not affecting code





Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support