[ckan-dev] Disqus Comments

Nigel Babu nigel.babu at okfn.org
Thu May 8 04:22:43 UTC 2014


You could perhaps use organization_update. That would be only available to
members of the organization.

Nigel Babu
Developer, Open Knowledge


On 8 May 2014 04:56, Jeff Socia <JSocia at drcog.org> wrote:

> Thanks, I discovered how to add the comments to the read template as you
> suggested. One further request though, is there an existing check_access
> routine that I could use to limit visibility of the comment block to users
> who are members of the organization?
>
>
>
> *From:* ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] *On Behalf Of *Vitor
> Baptista
> *Sent:* Wednesday, May 07, 2014 5:17 PM
> *To:* CKAN Development Discussions
> *Subject:* Re: [ckan-dev] Disqus Comments
>
>
>
> Hi Jeff,
>
>
>
> If you have a custom theme, you can add "${h.disqus_comments()}" in any
> page you want the comments to appear. You just need to find the template
> for the part of the page you'd like to add.
>
>
>
> You can see how ckanext-disqus did it by looking at
> https://github.com/ckan/ckanext-disqus/blob/release-v2.0/ckanext/disqus/templates/package/read.html.
> You'd have to do the same, but for organization's read template instead.
>
>
>
> Cheers,
>
>
>
> 2014-05-07 17:20 GMT-03:00 Jeff Socia <JSocia at drcog.org>:
>
> Hello,
>
>
>
> Does anyone if it’s possible to add Disqus commenting at an Organization
> level? In other words, have a commenting block on the read page of an
> organization.
>
>
>
> Many thanks,
>
>
>
> *Jeff Socia *| *Software Development Manager* | *Administration & Finance*
>
> *Direct* *303-480-6720 <303-480-6720>* | *Fax* *303-480-6790
> <303-480-6790> *| *E-mail jsocia at drcog.org <jsocia at drcog.org>*
>
>
>
> *[image: cid:image001.gif at 01CE3B7C.692503A0]* <http://www.drcog.org/>
>
>
>
>
>
> [image: cid:image006.jpg at 01CF5E3B.604DB320] <https://mywaytogo.org/#/>
>
> *Check out the new **MyWaytoGo* <https://mywaytogo.org/#/>* website for a
> brand-new look at commuting.*
>
> *[image: facebook]*<http://www.facebook.com/Denver.Regional.Council.of.Governments>
> *[image: twitter]* <https://twitter.com/DRCOGorg>   [image: linkedin]<http://www.linkedin.com/company/denver-regional-council-of-governments?trk=cp_followed_name_denver-regional-council-of-governments>
>
>
>
>
>
> *This email and any attachments from the Denver Regional Council of
> Governments is intended solely for the use of the individual or entity to
> which it is addressed. The information contained herein may include
> confidential, protected, or otherwise privileged information. Unauthorized
> review, disclosure, forwarding, printing, copying, distributing, or using
> such information is prohibited. If you have received this message in error,
> please notify the sender by replying to this message and delete the email
> received in error. *
>
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
>
>
> --
>
> Vítor Baptista
>
> Developer  |  http://vitorbaptista.com | LinkedIn<http://www.linkedin.com/in/vitorbaptista>|
> @vitorbaptista <http://twitter.com/vitorbaptista>
>
> The Open Knowledge Foundation <http://okfn.org>
>
> *Empowering through Open Knowledge*
>
> http://okfn.org/  |  @okfn <http://twitter.com/okfn>  |  OKF on Facebook<https://www.facebook.com/OKFNetwork> |
> Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter/>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140508/70c6e2d1/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 4623 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140508/70c6e2d1/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 2770 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140508/70c6e2d1/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1830 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140508/70c6e2d1/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 8239 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140508/70c6e2d1/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2696 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140508/70c6e2d1/attachment-0011.png>


More information about the ckan-dev mailing list