Jump to content

Allow sharing of a category in Pages


Meddysong

Recommended Posts

Posted

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?

Posted

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}}

 

Posted

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.

Posted

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!

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...