Getting correct url for an article or category - Joomla! Forum - community, help and support
i trying incorporate third party content ([spam]) page , need able create url joomla article or category used part of pagination.
i can work article (with sef on), part of pagination link use following code article;
i not able work if have sef off, correct code use works or without sef on.
the next thing category link, page category not article.
i not able category pagination work, getting no category error. code using is;
again need work in both sef , non sef mode
once both article , category codes working need check (if article use article code, else use category code) if page article use article code, or if category use category code.
cheers , advice
gw
i can work article (with sef on), part of pagination link use following code article;
code: select all
jroute::_(contenthelperroute::getarticleroute($article->slug, $article->catid));i not able work if have sef off, correct code use works or without sef on.
the next thing category link, page category not article.
i not able category pagination work, getting no category error. code using is;
code: select all
jroute::_(contenthelperroute::getarticleroute($item->slug, $item->catslug));again need work in both sef , non sef mode
once both article , category codes working need check (if article use article code, else use category code) if page article use article code, or if category use category code.
cheers , advice
gw
lol why mention of [spam] considered spam. general info , not particular store.... on zealous mods maybe?
anyway on topic, can me actual request?
thanks
anyway on topic, can me actual request?
thanks
Comments
Post a Comment