lang=0 not working when using cms_selflink dir

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Sendlingur
Forum Members
Forum Members
Posts: 62
Joined: Wed Aug 08, 2018 4:59 pm

lang=0 not working when using cms_selflink dir

Post by Sendlingur »

I'm using {cms_selflink dir } in a template to display next/prev links.

The documentation says to get rid of the "Previous page:" and "Next page:" you should use lang=0, but that's not working at all.

Here is what it says in the docs "lang - Display link-labels ("Next Page"/"Previous Page") in different languages (0 for no label.) Danish (dk), English (en) or French (fr), for now."

this how my code looks like

{cms_selflink lang=0 dir='prev' title=''}

I've also used lang="0", lang="fr", lang='0', lang='fr', etc.

Nothing seems to work to get rid of the "Previous page:" and "Next page:".

Any suggestions?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1619
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: lang=0 not working when using cms_selflink dir

Post by DIGI3 »

Use label='', e.g.:

Code: Select all

{cms_selflink dir='prev' label=''}
I've updated the docs site to remove the lang parameter, I think it must have been deprecated some time ago as it's not in the tag help file. For different languages I'm assuming it uses the translation file now.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”