Форумы / Cotonti / Development / Siena list tags and other tags, and some questions

tensh
#1 27.04.2012 13:26

Hi;

Is there a tag in Siena that shows category path, usable in breadcrumbs?

Also, is there a tag like in Genoa, which shows parent category {PHP.LIST_PARENT}?  Was very useful to show active css of a menu.

BTW, is it intended that in menu placeholders there's only html parsed, not special tpl tags? It would be nice if TPL tags would be parsed as well, it would allow to place cfg menus with some flexibility inside.

As for extrafields, there's a setting "parser" (default or none). Can it be that there will be additional html parser, and switching this setting on would create e.g. textareas with the ckeditor html editor? Would be so nice to have html extrafields with this editor in admin menu, e.g. in structure extrafields.

by now I achieved it in a fast way, by adding this code in system/admin/tpl/admin.structure.tpl (inbetween OPTIONS section):

<script>
$(document).ready(function(){
        $('textarea').addClass('editor');
        });
</script>
Отредактировано: tensh (27.04.2012 13:32, 11 лет назад)
Kingsley
#2 27.04.2012 14:41
#34126 tensh: BTW, is it intended that in menu placeholders there's only html parsed, not special tpl tags? It would be nice if TPL tags would be parsed as well, it would allow to place cfg menus with some flexibility inside.
 

the cotonti url thingy ({PHP|cot_url('page','c=blabla')} doesn't work in there either..

GHengeveld
#3 27.04.2012 15:58

I suggest you just 'hardcode' your menu structure in header.tpl/footer.tpl. In menu cfg tags don't work because the menu is a tag itself and CoTemplate won't parse tags twice (tag within tag).

tensh
#4 27.04.2012 22:05

Hmm, how can I add the transliterate array to urls in Siena so that special language chars aren't added? I have the default Siena nice urls settings...

Trustmaster
#5 28.04.2012 05:18

Any example of what you want to achieve?

May the Source be with you!
tensh
#6 28.04.2012 07:19

cotonti.com/ścieżka/cośtam => cotonti.com/sciezka/costam ... nevermind, I found it :) now it's a language file.

Kingsley
#7 28.04.2012 10:43
#34128 GHengeveld:

I suggest you just 'hardcode' your menu structure in header.tpl/footer.tpl. In menu cfg tags don't work because the menu is a tag itself and CoTemplate won't parse tags twice (tag within tag).

Or use normal urls in the menus.. :)