Hello, I create a skin and I want that at absence |PLUGIN_0_IMG | was displayed |PLUGIN_0_TXT | with a custom icon. Not all plugins have user_img.html and its problem.
Its work well but i dont have link if plugin dont have user_img.html
|*if PLUGIN_0_IMG!=""|
|PLUGIN_0_IMG|
|*endif|
For fix it im try check it. Its my variant but not work (why?):
|?PLUGIN_0="0"|
|*if PLUGIN_0_TXT!=""|
|?PLUGIN_0="1"|
|*endif|
|*if PLUGIN_0_IMG!=""|
|?PLUGIN_0="2"|
|*endif|
|*if PLUGIN_0="2"|
|PLUGIN_0_IMG|
|*endif|
|*if PLUGIN_0="1"|
|PLUGIN_0_TXT|
|*endif|
how add custom icon for |PLUGIN_0_TXT| ?
ideal be if i can make this construction:
|*if PLUGIN_0="1"|
<a href="/|PLUGIN_0_URL|"><img src="/IMG_CUSTOM_PLUGIN"><br>|PLUGIN_0_NAME|</a>
|*endif|
Please help.
Its work well but i dont have link if plugin dont have user_img.html
|*if PLUGIN_0_IMG!=""|
|PLUGIN_0_IMG|
|*endif|
For fix it im try check it. Its my variant but not work (why?):
|?PLUGIN_0="0"|
|*if PLUGIN_0_TXT!=""|
|?PLUGIN_0="1"|
|*endif|
|*if PLUGIN_0_IMG!=""|
|?PLUGIN_0="2"|
|*endif|
|*if PLUGIN_0="2"|
|PLUGIN_0_IMG|
|*endif|
|*if PLUGIN_0="1"|
|PLUGIN_0_TXT|
|*endif|
how add custom icon for |PLUGIN_0_TXT| ?
ideal be if i can make this construction:
|*if PLUGIN_0="1"|
<a href="/|PLUGIN_0_URL|"><img src="/IMG_CUSTOM_PLUGIN"><br>|PLUGIN_0_NAME|</a>
|*endif|
Please help.
Last edited: