Log in

View Full Version : (Easy) What is if conditional for : only appear in a style


basketmen
01-26-2011, 02:44 AM
I want to showing a text, only in a style, i dont want it appear in another style




what is the right if conditional code for it guys? for template and for plugin format





here is for anyone that answering this https://vborg.vbsupport.ru/external/2011/02/1.gif

--------------- Added 1296081160 at 1296081160 ---------------

up up, is there no conditional for if this style, guys?

DataHero
01-28-2011, 12:12 PM
For PHP/Plug-in format, you could do the following:


if($_REQUEST['styleid'] == 1) { //Check style ID - ID to be found in URI and ACP
//code here
}