• Home
  • Get help
  • Ask a question
Last post 4 hours 45 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67862
All time tickets 10487
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.

#851 – PHP insertion of sh404SEF current URL & Page title

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.
Thursday, 13 August 2015 16:03 UTC
fff
 Hi,

Of course I am a big fan, but I look at the doc, but no info on that ...
I need to do a small custom HTML module with dynamic PHP insert of current page info, but I want it SEF.

What is the code to print the good (yours!) current page adress ?
And same question with the current page Title ?

Thanks a lot,
Fabrice
Thursday, 13 August 2015 17:21 UTC
wb_weeblr
Hi

This is not related to sh404SEF, so it'll never be in the documentation. There's a standard API for getting the SEF URL of a non-sef one:
JRoute::_('index.php?option=com....')


Rgds
 
Monday, 17 August 2015 06:31 UTC
fff
great
Thanks a lot
Fabrice
Monday, 17 August 2015 11:15 UTC
wb_weeblr
Hi

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

Rgds
 
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.