FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

separate 2nd level menus , Wysiwyg for page body

Feed 1 posts, 1 voices

Avatar
1 posts

Hi I find Frog VERY cool because it is simple enough for common people without deep knowledge into php or html, but still makes it possible to use own php in each page which I find like a great thing for more advanced users or developers.

1) What I miss or did not find is a way to use this for multilanguage websites, lets say I want to have the site in english, german, slovak then I need one small menu somewhere to display the language menu (ok this one could be handmade in main layout but better would be some function like “all 1st level pages”) and then something like function to show menus only for 2nd level pages of current 1st level page (language)… is there some simple way I did not find yet?
(using url rewrite then i could have pages like /en/home/, /en/contacts/, /de/home/, /de/kontakt/ and so on …)

2) maybe it would be grat to provide some basic wysiwyg javascript feature for editing page body – at least header, subheader, paragraph + some user-definable span classes (specially for the “dumb” users without any deeper knowledge this would be great option to use instead of learning markdown or other syntax new to them)

 
Avatar
1 posts

ok sorry for dumb question, just found the great snippet for submenus

<?php foreach($this->find(‘sk’)->children() as $menu): ?> <li><?php echo $menu->link(); ?></li>
<?php endforeach; ?>

however I still miss the wysiwyg feature :-(

Frog is great! Green Rulez! :-)