|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions Tutorial for Age Limit. (Tutorial) |
Tutorial for Age Limit. |
This solution will help you to realize the withdrawal age limit for material on its website
installation: 1. Control Panel - File Catalog - Setting up filters, and create a filter 2. Go to Control Panel - File Catalog - Setting module, and include our created filter and configure its relation to other fields 3. Set the code in the the right place, set up css under itself Code <?if($FILTER1_VALUE$=6)?><div class="img_ogran"><img src="http://www.kinobp.ru/skrinshot/scrin2/vozrastnoe_ogranichenie_6.png" title="Для аудитории старше 6 лет!" /></div><?endif?> <?if($FILTER1_VALUE$=12)?><div class="img_ogran"><img src="http://www.kinobp.ru/skrinshot/scrin2/vozrastnoe_ogranichenie_12.png" title="Для аудитории старше 12 лет!" /></div><?endif?> <?if($FILTER1_VALUE$=16)?><div class="img_ogran"><img src="http://www.kinobp.ru/skrinshot/scrin2/vozrastnoe_ogranichenie_16.png" title="Для аудитории старше 16 лет!" /></div><?endif?> <?if($FILTER1_VALUE$=18)?><div class="img_ogran"><img src="http://www.kinobp.ru/skrinshot/scrin2/vozrastnoe_ogranichenie_18.png" title="Для аудитории старше 18 лет!" /></div><?endif?> <style> .img_ogran {border-radius:5px;-moz-border-radius:5px;width:46px;float:right;margin-left:6px;} </style> To change the age limits , change ($FILTER_VALUE$=any age). Best regards. My Skype : xayan123 | My Twitter : @Officialxayaan
uID : - Zayaan Ibrahim | Need a professional design? Check out my Portfolio |
| |||
| |||