Customizing response page

cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing response page

L0 Member

First time doing this and I'm fairly familiar with HTML and CSS however I'm not sure how to target Subcategories

Is there a way to target Subcategories when using a custom response page?

 

The online documentation only mentions <category/>

 

also do you upload the file as a .txt or .html file?

 

this is what I have in the script part

<div id="content">

<p><img src="http://example.com/test.jpg"</img></p>

<script type="text/javascript">
var cat = "<category/>";
switch(cat)
{
case 'file-sharing':
document.getElementById("content").innerHTML = "file-sharing";
break;
}
</script>

</div>

1 ACCEPTED SOLUTION

Accepted Solutions

Community Team Member

Hi @rufusleonard@jvalentine,

 

 

If I'm not mistaken the variable <category/> only applies to URL filtering category and file-sharing isn't a valid URL category.

 

Looking at your example (file-sharing) you don't want a URL filtering response page but rather application filtering one (Application Block Page) which is disabled by default :

 

2017-03-13_10-20-46.jpg

 

 

As far as I know there's no variable for 'subcategory of application' that you can use in the customized response pages.  

You can use the variable <appname/> to identify the application though.

 

Cheers,

-Kim.

 

View solution in original post

4 REPLIES 4

L7 Applicator

Community Team Member

Hi @rufusleonard@jvalentine,

 

 

If I'm not mistaken the variable <category/> only applies to URL filtering category and file-sharing isn't a valid URL category.

 

Looking at your example (file-sharing) you don't want a URL filtering response page but rather application filtering one (Application Block Page) which is disabled by default :

 

2017-03-13_10-20-46.jpg

 

 

As far as I know there's no variable for 'subcategory of application' that you can use in the customized response pages.  

You can use the variable <appname/> to identify the application though.

 

Cheers,

-Kim.

 

View solution in original post

your link resolves in 404...  add correct link please

Documentation link updated.  

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!