Page 1 of 1

[SOLVED] cms_selflink from MicroTiny not working

Posted: Sat May 11, 2013 10:41 am
by Dutch_guy
I am using Module Generator for some modules I made.

If I have a wysiwyg textarea as field and I want to insert a link to an
internal page within the website, the link will not work on the frontend of the
website.

In the source of the website, the link will show like this: <a
href="{cms_selflink href='contact'}"> instead of showing the working link.

On normal pages linking to an internal page works perfectly. But with the wysiwyg field of the module generator it doesn't.

I have also posted this as a bug in Module Generator several weeks ago but haven't had any response.

Re: [Module Generator] cms_selflink from MicroTiny does not

Posted: Sat May 11, 2013 11:16 am
by Dutch_guy
Just got it fixed by changing my template.

Changed the field from:

{$item->omschrijving_nl}

to:

{eval var=$item->omschrijving_nl}