I am trying to hide a section using a virtual field so when the host page does not equal to my domain name, then hide the section. This is what I have set up in my datapage:
1) a virtual field "[@Virtual1]" which has on load receive value or parameter as "System Parameters=Host Page.
2) I added a rule with a criteria like: [@Virtual1] is not 'https://www.datasador.net/comparables/' and with an action to hide a section.
But when I open my datapage inside my WordPress page it hides the section and when opening the page outside my domain it hides the section as well.
I only want it to hide the section if I open the datapage outside of my WordPress page.
Don't know if what I am trying to achieved is possible, so if anybody has another solution which could help .
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
datasador
Hi,
I am trying to hide a section using a virtual field so when the host page does not equal to my domain name, then hide the section. This is what I have set up in my datapage:
1) a virtual field "[@Virtual1]" which has on load receive value or parameter as "System Parameters=Host Page.
2) I added a rule with a criteria like: [@Virtual1] is not 'https://www.datasador.net/comparables/' and with an action to hide a section.
But when I open my datapage inside my WordPress page it hides the section and when opening the page outside my domain it hides the section as well.
I only want it to hide the section if I open the datapage outside of my WordPress page.
Don't know if what I am trying to achieved is possible, so if anybody has another solution which could help .
Thanks!
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.