cms_selflink in footer?

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
Der Rudi
Forum Members
Forum Members
Posts: 56
Joined: Wed May 17, 2006 7:42 pm

cms_selflink in footer?

Post by Der Rudi »

Hi,

Busy setting up a site with 0.12.2 multilingual from katon (well done btw) and use my own footer tag to allow different languages. Do not yet use pretty urls, so all urls are 'nasty' looking like www.domain.tld/index.php?page=home&lan=en for now.

I want to use links in the footer like 'contact', 'legal', 'sitemap' etc. These of course need to be generated in accordance with cmsms settings, so wanted to use the cms_selflink in the footer but that does not work.

in my footer tag I have something like this: Sitemap; when the page including footer is displayed this comes out as www.domain.tld/={cms_selflink href='sitemap'}, which is clearly not what I want.

Anyone a suggestion how to do this? Would like to keep on using my footer tag; I know that coding it into the content or template page probably will work as expected, but want to avoid that if possible.

BTW this is my {multilingual_vt_footer} tag code (simplified):
$l=$_GET['lan'];
switch ($l):
case 'nl':
  echo 'Nederlands | Sitemap';
  break;
case 'en':
  echo 'Engels | Sitemap';
  break;
default:
  echo 'Default | Sitemap';
endswitch;

which gets inserted in the template as such:

 
{multilingual_vt_footer}
 
 
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm

Re: cms_selflink in footer?

Post by petert »

it's

Code: Select all

{cms_selflink href='sitemap'}
not

Code: Select all

{cms_selflink href=\'sitemap\'}
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
Post Reply

Return to “CMSMS Core”