mostly filebased Content Presentation System
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

4 лет назад
12345678910111213141516171819202122232425262728293031
  1. Menus in freaCMS
  2. ================
  3. Menus generally follow the form
  4. <ul>
  5. <li class="">
  6. <a href="" class="">NAME</a>
  7. <SUBMENU />
  8. </li>
  9. </ul>
  10. they get configured by defining their name plus language inside the global nav array:
  11. [nav.MENU_NAME.LANG]
  12. directory.index=NAME
  13. directory.sub1=NAME
  14. directory.sub2=NAME
  15. another_directory=NAME
  16. 'index' makes it possible assign a name to a site with sub pages. Therefore 'index' is not a valid foldername inside a path to a page.
  17. for links, that point outside of the website (i.e. external links) inside a menu, the entry becomes:
  18. some_unique_key=NAME := URL
  19. this makes it impossible to use the string ":=" inside a menu item name. Earlier versions of freaCMS did not have this limitation. It was not possible to mix external and internal links in the same menu though. And the definition was hardcoded. I consider this new approach better.