Search found 10 matches

by piar
Thu Dec 16, 2010 10:55 pm
Forum: CMSMS Core
Topic: How to modify Smarty functions
Replies: 6
Views: 2353

Re: How to modify Smarty functions

Wishbone wrote: Have you tried clearing the cache from the admin panel?
Yes I have - as well as directly clearing templates_c - but this didn't help.

This is really strange that I can even remove file with escape modifier implementation and this modifier still works in templates  ???
by piar
Thu Dec 16, 2010 10:47 pm
Forum: CMSMS Core
Topic: How to modify Smarty functions
Replies: 6
Views: 2353

Re: How to modify Smarty functions

Wishbone - this is not that case. I do not have any question of how to make escape:htmlall works as escape:html - this is my modification. My question is rather to use of Smarty in cmsms. Is cmsms always using Smarty that comes with it or in some situation it uses Smarty provided by target host wher...
by piar
Thu Dec 16, 2010 9:59 pm
Forum: CMSMS Core
Topic: How to modify Smarty functions
Replies: 6
Views: 2353

Re: How to modify Smarty functions

My purpose is to change template modifier: |cms_escape:htmlall to behave like: |cms_escape:html This is very simple change in file I've mentioned. The original code is: function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'ISO-8859-1') {    switch ($esc_type) {        case 'html'...
by piar
Thu Dec 16, 2010 9:38 pm
Forum: CMSMS Core
Topic: How to modify Smarty functions
Replies: 6
Views: 2353

How to modify Smarty functions

Hi All! I would like to change a bit behaviour of one Smarty function (ie. it is smarty_modifier_escape in  cmsms/lib/smarty/plugins/modifier.escape.php). However modifying this source file does not seem to have any effect on web page. I've even added there some 'echo' instructions for debug purpose...
by piar
Sat Apr 04, 2009 11:36 am
Forum: CMSMS Core
Topic: Friendly URLs with internal links in <a href>-style
Replies: 2
Views: 1655

Friendly URLs with internal links in <a href>-style

Hello! CMS-linker link-style of TinyMCE on my site is set to -style. I decided to use this instead of {cms_selflink}-style because it is more intuitive for not very experienced users (anchors in editor box are in WYSIWYG and tags aren't). But after I've switched to SEO friendly URLs (with mod_rewrit...
by piar
Thu Mar 05, 2009 3:01 pm
Forum: [locked] CMSMS MLE fork
Topic: How to get working Statistics in MLE?
Replies: 5
Views: 3041

Re: How to get working Statistics in MLE?

What is exactly your problem? I'm using Statistics module on MLE and it works for me (but of course I don't get informations in which language page was opened).
by piar
Wed Mar 04, 2009 3:47 pm
Forum: CMSMS Core
Topic: [SOLVED] How to refer to Global Block between brackets
Replies: 2
Views: 947

Re: How to refer to Global Block between brackets

That helped me - thank you!
by piar
Wed Mar 04, 2009 3:14 pm
Forum: CMSMS Core
Topic: [SOLVED] How to refer to Global Block between brackets
Replies: 2
Views: 947

[SOLVED] How to refer to Global Block between brackets

Hi! For sure this has been already explained somewere here but I haven't found it. I just want to use content of global block as parameter value of one of standard tags. This of course doesn't work: {cms_selflink page="alias" text="{global_content name='translated_link_text'}"} H...
by piar
Sat Feb 28, 2009 11:54 am
Forum: CMSMS Core
Topic: [SOLVED] How to allow main content to be empty
Replies: 2
Views: 903

Re: [SOLVED] How to allow main content to be empty

Yes - this works good with that default content - thanks for help!
by piar
Sat Feb 28, 2009 8:54 am
Forum: CMSMS Core
Topic: [SOLVED] How to allow main content to be empty
Replies: 2
Views: 903

[SOLVED] How to allow main content to be empty

Hi! I've created a template with multiple content blocks. And I don't want to use there that default {content}. It is very easy to achieve - I just don't use that tag on my template. But when I create/edit a page and fill a content of all my content blocks cmsms enforce to put something also to that...

Go to advanced search