Click here to register.
      
Bazaar


     Discuss > Etcetera

editor adds, visitor can reply on collaboration system

User julied
Date 2/25/2008 10:33 am
Views 861
Rating 1    Rate [
|
]
Previous · Next
User Message
julied
We are setting up a new site for the campus newspaper. I have their different areas (news, opinion, etc)  set up using a slightly modified version of the collaboration system weblog so that the writers can post their articles and it automatically will do the teaser with a link to read more on the main page. This is working perfectly and I'm excited to get to show it to them later this week. However, is there a way so that visitors can reply to the submission without having the option to add articles? I'm not seeing anything in the questions that will allow this or maybe I just haven't figured out the right combination. If I change who can post from content managers to visitor then visitor has the ability to add an article and I only want them to be able to post comments to existing articles. If the questions don't allow it, could the template possibly be tweaked to allow this? I tried changing the tmpl_if around the reply link for user.isVisitor but then they get permission denied for the resulting page because they don't have the ability to post.

--- (Edited on 2/25/2008 10:33 am [GMT-0600] by julied) ---



Back to Top
Rate [
|
]
 
 
preaction

The Collaboration System in 7.4 has two security settings: Who can Post and Who can Post a Thread.

I believe if the user is a member of the Post a Thread group, they are allowed to post new threads.

Which version are you running? 

--- (Edited on 2/25/2008 11:08 am [GMT-0600] by preaction) ---



Back to Top
Rate [
|
]
 
 
colink

If you've set the "Who can post" property in the Security tab of the Collaboration System(CS) edit screen to Visitor and it still allows them to add new threads (what you call articles), that sounds like a bug to me.

After you changed the CS, did you commit your changes? 

 

--- (Edited on 2/25/2008 11:10 am [GMT-0600] by colink) ---



Back to Top
Rate [
|
]
 
 
julied

I've figured out to modify the template to get it to work. I have my who can edit question to content managers and who can post to everyone. Then I modified the  display template to have the add link only display to user.canEdit (instead of canPost) and the reply link to user.isVisitor. I'll need to modify the add link on the main system template and it should be good.

However, I have a different issue now. I'd turned off the display of the user for the posting because it would often not be the person who wrote the article (I have a userdef field for the author.) With replies, I need the post user to show up though. Does anyone know of a tmpl_if that will show information only if it's a reply? I tried tmpl_if isReply but that seems to only work with the post form template rather than the thread template.

We're upgrading to 7.4 in mid-March. Hope to get rid of these workarounds then. 

--- (Edited on 2/25/2008 2:59 pm [GMT-0600] by julied) ---



Back to Top
Rate [
|
]
 
 
     Discuss > Etcetera



Recent Discussions Color Key

Design:

Development:

Et Cetera:

Install/Upgrade:  

Smoketest:

Template Group:


Re: Navigation links by techwriter - Fri @ 03:23pm

Re: Best way to make files available to webgui comunity by bernd - Fri @ 02:50pm

Re: User event history by knowmad - Fri @ 02:02pm

Re: Best way to make files available to webgui comunity by lctn2 - Fri @ 01:55pm

Re: Strategic Roadmap by JT - Fri @ 01:55pm

Re: Navigation links by rogier - Fri @ 01:55pm

Re: 2009 Presidents Meeting by JT - Fri @ 01:10pm

Re: navigation new window by rogier - Fri @ 01:03pm

Re: navigation new window by rogier - Fri @ 12:53pm

Re: WUC 2009 by JT - Fri @ 12:50pm

Re: Best way to make files available to webgui comunity by preaction - Fri @ 12:35pm

Re: Pagination markup by rogier - Fri @ 12:35pm

Re: Best way to make files available to webgui comunity by kristi - Fri @ 12:29pm

Debian and Ubuntu Packaging Status by jmarsden - Fri @ 12:12pm