How to Separate Items - Include Only Some

Ken Rich
Ken Rich
@ken-rich
9 years ago
926 posts
I am using Profile Tweaks to give my clients several different layouts. Basically the default profile index includes everything, then I offer "cleaner" versions with less items cluttering the screen.

To fine tune those options, I would like to have a comments section without the tags and sharing. Another version with Sharing but no comments and tags.

The trouble is, I find this code and it seems like my two choices are - all of those things, or none of those things.

How can one control what is brought in and what is not?


    {* bring in module features *}
                            {jrCore_db_get_item module="jrProfile" item_id=$_profile_id assign="item" limit="3"}
                            {jrCore_item_detail_features module="jrProfile" item=$item}



--

Ken Rich
indiegospel.net

updated by @ken-rich: 04/04/15 10:58:43AM
michael
@michael
9 years ago
7,715 posts
Usually the Quotas system is what you use to determine what shows up on profiles.

"The Jamroom Quota System"
http://www.jamroom.net/the-jamroom-network/documentation/getting-started/693/the-jamroom-quota-system
Ken Rich
Ken Rich
@ken-rich
9 years ago
926 posts
Hi Michael,

Thanks for that, but it's not really helpful. I understand the quota system, and I am allowing certain quotas access to these different skin layouts via the Profile Tweaks module.

My problem is that the code above brings in likes, tags, and comments simultaneously. I am looking for a way to bring in one or the other, instead of all or nothing.

So for example, if I wanted to bring in only the 'ShareThis" buttons (without the tags and comments), how would I alter the code above?

Or would I simply delete that code and use another? If so, what code would give me the desired outcome?

That's where I'm lost, which makes it hard to build different layouts and give people "choice" with the skin choices in Profile Tweaks.


--

Ken Rich
indiegospel.net
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
Use the exclude parameter.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Ken Rich
Ken Rich
@ken-rich
9 years ago
926 posts
Is that what my ex used on me? lol


--

Ken Rich
indiegospel.net