Meddysong Posted February 15, 2019 Posted February 15, 2019 I would like to make it possible for people to share articles. I can see in the templare record {{if !$record->container()->disable_sharelinks}} <hr class='ipsHr'> {template="sharelinks" app="core" group="global" params="$record"} {{endif}} Great! All I have to do is set the category to share links. The thing is, I can't find that setting in my categories. I suppose theoretically it should only be valid if the category and its records are viewable to guests, so I've checked that. I still can't find where I enable or disable sharing in my Pages categories though. Which tab have I missed it on?
newbie LAC Posted February 15, 2019 Posted February 15, 2019 There is no setting for this Looks like copy/paste with changes from topic template {{if !$topic->container()->disable_sharelinks}} <hr class='ipsHr'> {template="sharelinks" app="core" group="global" params="$topic"} {{endif}}
Meddysong Posted February 15, 2019 Author Posted February 15, 2019 It seems strange that I don't have sharelinks appearing then. They appear in forums etc but not in articles for this database. Even if I remove the conditional and just add {template="sharelinks" app="core" group="global" params="$record"} I still don't get anything.
Daniel F Posted February 15, 2019 Posted February 15, 2019 Sharelinks work only for content which is visible to guests. Is your content accessible by guests?
Meddysong Posted February 15, 2019 Author Posted February 15, 2019 Not in this particular database (because I'm developing it) but it is in others that I checked. That said ... perhaps I removed the sharelinks in their record templates. Time to check! Edit: Temporarily making the content visible to guests made the sharelinks appear. So, no problem here!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.