MickCreates
My feedback
6 results found
-
43 votes
An error occurred while saving the comment -
35 votesMickCreates supported this idea ·
-
73 votesEvgeny Zaritovskiy responded
Current proposal: https://drive.google.com/file/d/0B0f9kMyQqlBsV1UzVVYwS21ZU28/view?usp=sharing
We do not have plans yet on when we’re going to deliver on this.
MickCreates supported this idea · -
1 vote
An error occurred while saving the comment MickCreates commentedMy 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 · -
42 votesMickCreates supported this idea ·
-
3 votes
An error occurred while saving the comment MickCreates commentedAny 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 ·
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…)