Skip to content

MickCreates

My feedback

6 results found

  1. 43 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    MickCreates commented  · 

    I have a potential (untested yet) solution, that while a bit clunky is a possible solution until Wild Apricot develops something official.

    On the body tag when logged in we have a class .memberContentView & when logged out the body class is .publicContentView

    At the basic level you could create a class that designates if a layout section or content gadget shows or hides for logged-in/out users (eg. body.memberContentView .hideFromMembers, body.publicContentView .hideFromPublic { display: none; } ).

    One issue here is the content is still visible in the HTML & if someone knew what to look for they could unhide these elements.

    So another solution you could use on top of this would be to write some JS that deletes the element from the DOM.

    Something like:
    var elem = document.getElementById("hideFromMembers");
    var elem = document.getElementById("hideFromPublic");
    elem.parentNode.removeChild(elem);

    (The above is currently missing any detection of memberContentView / publicContentView detection but you get the point…)

  2. 35 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    MickCreates supported this idea  · 
  3. 73 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    38 comments  ·  Wishlist » Contacts  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    MickCreates supported this idea  · 
  4. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Developers » How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    MickCreates commented  · 

    My solution for this was to remove the JS scripts from the JS compiler and instead place the JS before the closing body tags in MainTemplate.tpl

    I had to do this for a few other custom scripts as well. It is a messy solution but at least it ensures my scripts are being correctly applied to the page.

    MickCreates shared this idea  · 
  5. 42 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    MickCreates supported this idea  · 
  6. 3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Developers » How to  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    MickCreates commented  · 

    Any word on this? has anyone been able to solve this?
    I've tried a number of edits to the Item.tpl for the RecentBlogPosts gadget without any luck including:

    <$it.Body$>
    <$it.Content$>
    <$it.Picture$>
    <$it.BlogContent$>
    <$it.Blog$>
    <$it.Image$>

    Even if it's just a method to display an excerpt of the blog post, at least then I can display the initial image then filter out the rest of the content.

    MickCreates supported this idea  · 

Feedback and Knowledge Base