Search found 7 matches

by philonor
Fri Apr 05, 2013 1:24 pm
Forum: Developers Discussion
Topic: Development: Smarty function depending on cms_selflink
Replies: 2
Views: 2601

Re: Development: Smarty function depending on cms_selflink

I solved the problem by checking for the existence of the depending function and - if it was not declared - including it via require_once: function.cms_xyz.php if(!function_exists('smarty_function_cms_selflink')) { require_once('function.cms_selflink.php'); } function smarty_function_cms_xyz(...) { ...
by philonor
Fri Apr 05, 2013 1:20 pm
Forum: Developers Discussion
Topic: forge project creation
Replies: 1
Views: 1786

forge project creation

Hi, I tried to create a forge project and got the "successfull created" message. Still I can't see the project in forge on my page as a "assigned project". When retrying to create the project, it says that it's name has been taken already. So the project itself exists. Any ideas?...
by philonor
Thu Apr 04, 2013 9:29 am
Forum: Feature ideas
Topic: cms_selflink return href
Replies: 6
Views: 6026

Re: cms_selflink return href

I tried to alter the cms_selflink function:
See the feature request.
by philonor
Wed Apr 03, 2013 10:35 am
Forum: Feature ideas
Topic: cms_selflink return href
Replies: 6
Views: 6026

Re: cms_selflink return href

Thanks for your reply! This works fine, yes. But since "text-ident: -9999px" forces the browser to render a 9999px box, I prefer using a span inside. I think a "href only" option would be a good option for several purposes. What if the produced markup does not meet the requiremen...
by philonor
Wed Mar 27, 2013 12:37 pm
Forum: Feature ideas
Topic: cms_selflink return href
Replies: 6
Views: 6026

cms_selflink return href

The cms_selflink tag offers the argument href to only return the href-value itself. Unfortunately, this works only when specifying an page alias or id like: {cms_selflink href='page-xyz'} I'd like to have always an option to only return the href value: {cms_selflink alias='page-xyz' returnhref='1'} ...
by philonor
Tue Oct 23, 2012 7:26 am
Forum: Developers Discussion
Topic: Development: Smarty function depending on cms_selflink
Replies: 2
Views: 2601

Development: Smarty function depending on cms_selflink

Hi, currently I'm trying to develop a module replacing all external links by an internal link to a "goodbye" page. To generate this goodbye page link, I'm calling cms_selflink, because I want the module to be sustainable. That requires the cms_selflink smarty function to be loaded before m...

Go to advanced search