In-portal
In-portal Software
Your Language:






In-Portal/In-modules: Tempate comment - Topic Posts (3)



Rate Topic




Add To Favorites




Author Message

hristov
Member




Joined: 03/07/2006
posts: 34
Location: Planet: Krypton
Posted: 06/23/2006 5:06:02 PM


It is somethimes necessery to comment out part of the template. True I can comment it out with HTML comments, but those get sent out to the client. Even if not display, the client can view them with "view source" option of the browsers.

What I am asking for is in-portal block tag for comments which do not get in the final HTML send to the client


Dmitry
admin




Joined: 01/05/2002
posts: 1497
Location: United States
Posted: 07/03/2006 1:44:51 PM


hristov : 06/23/2006 5:06:02 PM
It is somethimes necessery to comment out part of the template. True I can comment it out with HTML comments, but those get sent out to the client. Even if not display, the client can view them with "view source" option of the browsers.

What I am asking for is in-portal block tag for comments which do not get in the final HTML send to the client


Hi Georgi,

I see what you mean. For single tags you can do

<!-- inp2:... /-->

for now, so they are in not processed.

Thanks.


Dmitry
admin




Joined: 01/05/2002
posts: 1497
Location: United States
Posted: 02/27/2008 4:27:48 PM


Hi,

Here is even better solution:

<!--## <inp2:... any tags ##-->

Basically anything in between <!--## ##--> will be completely escaped.




Items Per Page: