Quick Nav:  Online Store   |   Login | Register

Problems with Page Rules

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Patrik
<50 Posts
Posts:42


09/28/2007 5:00 AM  

Hi John

I never had problems working with Portal Rules - it always worked fine.

Now I upgraded to PageBlaster 2.2.4 and was using a Page Rule and got again into problems.
The rule worked fine in admin mode. When I logout and refresh the page the rule doesn't work anymore.

Any idea what's going wrong here?

Thanks,
Patrick

John Mitchell
Posts:3276


09/28/2007 10:58 AM  
Hi Patrick,
The only thing I can think of that would keep the Page Rule from getting executed on logout is if you do not have the security set for "all Users" on the PageBlaster module.
Patrik
<50 Posts
Posts:42


10/01/2007 3:10 AM  

Hi John,

The security is set for "all Users" and the modul is working fine when I move the rule to be a portal rule. 
I'm using portal rules in my skin file. When I delete them then the page rule is working fine. So there seems to be a conflict when using portal rules in the skin file and when adding page rules.

Is there something I can do to solve this confilct?

Portal Rules in my skin files:

<% If Not Request.IsAuthenticated %><!-- <snapsis>    <pageBlaster>        <providers>            <provider name="GenericFilter" interface="IFilterProvider"                type="Snapsis.HttpModules.PageBlaster.GenericFilterProvider, Snapsis.HttpModules.PageBlaster">                <replacementRules>                  <rule>                    <ruleName>Remove spmenu.js</ruleName>                    <searchFor><![CDATA[<script[^>]+?spmenu\.js[^>]+?></script>]]></searchFor>                    <replaceWith> </replaceWith>                  </rule>                                    <rule>                    <ruleName>Remove default.css</ruleName>                    <searchFor><![CDATA[<link[^>]+?default\.css[^>]+?>]]></searchFor>                    <replaceWith> </replaceWith>                  </rule>                                    <rule>                    <ruleName>Remove portal.css</ruleName>                    <searchFor><![CDATA[<link[^>]+?portal\.css[^>]+?>]]></searchFor>                    <replaceWith> </replaceWith>                  </rule>                                    <rule>                    <ruleName>Remove style</ruleName>                    <searchFor><![CDATA[<style>[^>]+?xsImgSearch[^>]+?</style>]]></searchFor>                    <replaceWith> </replaceWith>                  </rule>                </replacementRules>            </provider>        </providers>       </pageBlaster></snapsis> --><% End If %>

 

thanks,
Patrick

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Problems with Page Rules



ActiveForums 3.7
Powered by: Snapsis Software