Quote:
Originally Posted by cellarius
You should be able to do something like that at in a plugin on hook style_fetch
PHP Code:
if (THIS_SCRIPT == "test") { $styleid = 4398; }
Where 4398 of course needs to be replaced by the id of the style to be used, and THIS_SCRIPT needs to equal the constant you are setting on your custom page.
|
Thanks @cellarius for the information.
I found this thread also talking about the same thing I'm after:
https://vborg.vbsupport.ru/showthread.php?t=267775
The one who asked the question in that thread mentioned the solution which is this code:
Code:
if (STYLEID == 1){
Code
}
And to be honest with you, my knowledge in PHP is not that good, but only html and css. so I'm wondering if you can explain where to place that code, please.
as you know in the custom page, which is html or php and the template that I can create from vb admin cp.... so where exactly should I insert that code?
looking forward to hearing from you