Nucleus toolbar in comments [plugin v. 0.2]
This version is outdated. Please follow the link to version 0.3.
This is a small addition to the version 0.1 that includes two usability features:
- This version uses custom made buttons instead of admin area buttons. It is not a big change though Nucleus buttons work strange.
- This version includes two stylesheets ("screen" and "print" medias) available through skinvar.
Nucleus toolbar in comments [plugin v. 0.1]
This version is outdated. Please follow the link to version 0.3.
A hack may work but I won't like it ever. Taiga hunters always leave food and fire stock for those who will come to the outpost later. If one does some coding he\she shall leave maintainable code for those who will be in charge later on.
So, here follows a conventional Nucleus plugin to replace the hack.
Читать дальше → ^ TOP
Nucleus toolbar in comments [hack]
This hack is outdated. Please follow the link to plugin version 0.3.
If a site is running Nucleus, items and comments are quite different entities. In particular, one can embed HTML to items both manually and using built-in add\edit form buttons. Nothing like that is available for comments where HTML markup is converted to text. Some plugins do exist to support fancy text but none of them provides for experience similar to add item \ add link functions available for items.
This hack was implemented to address this this request which somehow attracted my attention.
Читать дальше → ^ TOP
Правильная форма множественного числа слова "комментарий" [plugin]
Русский язык отличается бОльшим разнообразием грамматических форм, чем английский. Из-за этого предлагаемая Nucleus модель использования слова "комментарий" - единственное \ множественное число - плохо подходит для русскоязычных сайтов. Выход - хак, но хаки лично я не люблю, потому что о них нужно все время помнить. Поэтому для себя я написал маленький плагичик, который выбирант правильную грамматическую форму в зависимости от количества комментариев.
Плагин создает TemplateCommentVar <%WordCommentsRU%>, которая выдает слово "комментарий" в правильной грамматической форме с учетом их (комментариев) количества для текущей записи.
Читать дальше → ^ TOP
Из KRa: VBA FileDialog vs вызов SHBrowseForFolder для выбора каталога
Если Вы ищите информацию об использовании объекта FileDialog в VBA, то она здесь. А если информацию о FileSearch, то, например, здесь.
У Microsoft и KB и MSDN написаны понятным языком и в открытом доступе. Теперь даже и по русски ...
А здесь написано о мелкой мелочи : что делать если код должен работать и с Office XP, где FileDialog есть, и с Office 2000, где FileDialog нет.
Читать дальше → ^ TOP
