Site logo

[Support request] Can you….. create an element/hook to be placed within a container of a page

Home Forums Support [Support request] Can you….. create an element/hook to be placed within a container of a page

Home Forums Support Can you….. create an element/hook to be placed within a container of a page

  • This topic has 4 replies, 2 voices, and was last updated 3 years ago by Ying.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2570259
    Sarah

    Not sure this is possible or whether I should .. but can I create a Element > Hook – that contains PHP if/else code with JS – and get that code to display and run within a container of a page – like if that page had a grid 50:50 and I wanted the results of that PHP to appear in the left hand grid?

    Is that possible with GP and Elements? Ie can you really target not just a page but something within that page?

    Thanks
    Sarah

    #2570289
    Ying
    Staff
    Customer Support

    Hi Sarah,

    That’s possible, but it depends on the output of the code.

    You can give it a try.

    #2571280
    Sarah

    Thank you Ying – is there any documentation for GP that points in the right direction of the element targetting something within a page at all? I have looked but not found anything?

    #2571317
    Sarah

    Ignore that I finally found “portable hooks” and am giving those a try – thank you!

    #2571393
    Ying
    Staff
    Customer Support

    Let us know whether it works 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.