PDA

View Full Version : VBlog doubt - THIS_SCRIPT


MarceloS
07-16-2009, 02:14 AM
Hi!

I would like to activate a mod to work on vblog pages too. The mod has this option:

"Additional scripts to activate mod on: Use the THIS_SCRIPT value and separate each name with a comma."

So my question is: what would be the value of THIS_SCRIPT for vblog?

Thanks

MARCELO

HMBeaty
07-16-2009, 02:17 AM
I don't use the blog, but I would assume it would be the same as everything else which is

<if condition="THIS_SCRIPT == 'index'">
</if>
And you would change index to the page name. For example index means index.php

Dismounted
07-16-2009, 07:26 AM
Alternatively, you can open up the file in a PHP editor, and look at the start for a line that defines THIS_SCRIPT.

MarceloS
07-16-2009, 01:30 PM
You mean open up the file for the blog pages?

ForumsMods
07-16-2009, 05:41 PM
It is blog.

<if condition="THIS_SCRIPT == 'blog'">
</if>

MarceloS
07-16-2009, 06:16 PM
Excelent, thanks!