% in the URL
Permalink
How can I get % in the URL?
I have searched and tried a lot but can't find an answer to my problem.
I need it to translate words from norwegian to google readable text.
I have searched and tried a lot but can't find an answer to my problem.
I need it to translate words from norwegian to google readable text.
Hi morten7,
I am not sure about your problem, but the given link may help you, so try this
http://www.concrete5.org/documentation/developers/helpers/urls...
I am not sure about your problem, but the given link may help you, so try this
http://www.concrete5.org/documentation/developers/helpers/urls...
'Helper : URLs' is not the right thing, but thanks.
I have found that I can remove the line
alias = alias.replace(/[^0-9A-Za-z-]/gi
in concrete/elements/collection_add.php
and get the % in the page slug field, but it is removed when I hit Add Page and look at the real URL.
I have found that I can remove the line
alias = alias.replace(/[^0-9A-Za-z-]/gi
in concrete/elements/collection_add.php
and get the % in the page slug field, but it is removed when I hit Add Page and look at the real URL.
What happens if you just paste the Norwegian characters (unencoded) into the slug field -- concrete5 might change them to "percent codes" for you (haven't tested this though so I'm not sure if it works).
Otherwise it will probably require some hacking, either of the system code or going into the database and manually updating fields.