Jump to content

Ivan Gretsky

Members
  • Posts

    1,484
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by Ivan Gretsky

  1. Thank you Soma, It worked like a charm. Now i am trying to understand how ) I want to add these classes just because i am trying to follow some css recomendations like SMACSS, OOCSS and BOM. They suggest not making those nested css rules, at least not making them too deep. If one uses ""ul ul ul" type of rules, he has to redefine each next level. So if not putting special classes in ul tags i would have went with "ul > li > ul" rules instead. Anyway, level placeholder could be used frequently. Of course i really suggest adding it to the core as i need it, but it is because i need it of course ) By the way, i couldn't find any documentation on those template strings and placeholders, which could be used in them. Please lead me to the light if you will.
  2. Thank you! Two pieces of code is much more than i could expect. I will try them out. I am aware of the importance of consistent urls. I want to use that function mostly while developing. The pages get renamed and i want urls to change accordingly. Simply renaming default "about" page requires that.
  3. I also have a need to shange the name after the page is saved. For me it is because i need to re-transliterate titles from russian language. I am coming from using Joomla. In that CMS you could delete the old alias (name in PW) and save the page. Then the alias would regenerated from the title field. In PW admin interfase if you delete the old name field you just cannot save the page. Is there an easy solution? Maybe a module adding a "regenerate from title" capability? It is a little thing but it annoys me, because i can't just type in a name like all you latin-writing people.
  4. Good day! Could you please suggest how to implement a structure like this: <ul class="nav-level1"> <li> <ul class="nav-level2"> <li> <ul class="nav-level3"> </ul> </li> </ul> </li> </ul> I guess the option should be something like: 'inner_tpl' => '<ul class="nav-level{ }">||</ul>'
  5. Testing this bugfix on XAMPP on Windows 8. The 1st level menu gets translated, but not the 2nd. Can we do something with it?
×
×
  • Create New...