• Home
  • Get help
  • Ask a question
Last post 4 hours 24 min ago
Posts last week 191
Average response time last week 1 hour 50 min
All time posts 68187
All time tickets 10530
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1057 – Follow up to ticket #1050

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 25 September 2015 04:13 UTC
sabroso
 Hi,

I tried the

$nonSef = Sh404sefHelperUrl::sortUrl($nonSef);


in my system plugin, but the Sh404sefHelperUrl was not recognised and gave a fatal error.

However since I'm hard coding the nonSef URL I copied the format from the sh404SEF tables in teh database, as follows:

$new_nonSEF = 'index.php?option=com_k2&Itemid=250&id='.$art->id.'&lang=en&view=item';


Is that the right order ?

thanks
Friday, 25 September 2015 08:30 UTC
wb_weeblr
Hi

Well if your system plugin is placed before the sh404SEF one, then the autoloader has not been enabled yet, so this would explain that and changing the plugin orders should solve it.

Otherwise, it's basically alphabetical order on the name of the variable, with the exception of "option", which always comes first, so what you're doing there looks good.

Rgds
 
Friday, 25 September 2015 13:51 UTC
sabroso
changing the order worked, thanks!
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.