1: Главная           5: Продукция           6: Заказ           7: Сотрудничество           9: Контакты          
НОВОСТИ
Feb 22, 2012

С 22 февраля 2012 г. налажен выпуск блоков защиты мощностью 1500 Вт, 3000 Вт, 5000 Вт.

Jul 18, 2011

Уважаемые партнеры, рады сообщить Вам, что у компании Ноотехника-Воронеж  в г.Воронеже, появился надежный партнер - компания  "АльтЭнго". Подробности здесь

 

Jun 27, 2011

Внимание! Запущен в производство новый светодиодный светильник, подробности здесь

Jun 22, 2011

В продаже представлен PIR-модуль модель - BS008(SB0081) Подробнее здесь

Jun 22, 2011

С 22 июня 2011г в продаже представлен широкий спектр светодиодных светильников. Подробнее здесь




links
Главная » Tags » User-defined tags


One of the little known features of CMS Made Simple is the User Defined tag. Basically, this allows you to write PHP code inside the Admin Panel. Use the 'Add User Defined Tag' button in Extensions/User-defined tags in the Admin Panel, write some code, and then insert into a template or page with {newpluginname}. Simple!

As an example, I've put together a one line plugin that will show your current User Agent information (which browser you're using). The output is right here: CCBot/1.0 (+http://www.commoncrawl.org/bot.html).

If you're not looking at the source, all that is in the page is a {user_agent}. To see how this code works, edit the user_agent tag in the Extensions/User-defined tags page of the admin.

This is a VERY powerful feature if used right. Remember, user defined tags do not get cached, therefore, scripts to rotate ad banners and such will work just fine. Note also that tags code have to be written without opening < ? php and ending ? > tags.





Online консультация по всем вопросам: icq#808840 моб.тел. +79107320303
статистика

© 2008, Ноотехника-Воронеж
394077, г. Воронеж, Московский пр. 97
http://www.nootechnika.ru, e-mail: mail@noo.vrn.ru