Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Article Manager 1:
Hiding Fields in whilst editing article as trusted writer

 

 


elbav
User

Sep 28, 2006, 4:01 AM

Post #1 of 8 (1320 views)
Shortcut
Hiding Fields in whilst editing article as trusted writer Can't Post

We would like to "show" our trusted writers some (eg. title, categ., text) of the many available fields of our article, whilst they post or edit an article.

The problem is , our article.dat contains many other fields, which are only needed by the admin or the editor. In order not to confuse trusted writers with these additional fields, we would like to make them "invisible" when the enter/edit the article.

We looked (and searched in this forum) and found a possible way could be using the _writer_menus.html template and change it, so it would display only a limeted number of fields. However the _writer_menus.html is assigned to "Writers" and NOT to "Trusted Writers".

On the other hand, we can not just set our writers down to "Writers" level, as we want them to be able to edit their own articles.

This results in the following questions:

Is it possible to assign the _writer_menus.html template to "Trusted Writers" ?

or

Is it possible to allow "Writers" to edit their own posts?

or

Is it possible to change the _art_menus.html template in a way that it hide's certain fields from displaying for Trusted Writers (e.g. with an IF clause in the template... if "trusted writer" hide field )?


Sorry for asking 3 question in one post , but as you see they are basically just one question looking at three different possible solutions.

Thanks for any help we can get.


ross
Staff / Moderator


Sep 28, 2006, 1:20 PM

Post #2 of 8 (1306 views)
Shortcut
Re: [elbav] Hiding Fields in whilst editing article as trusted writer [In reply to] Can't Post

Hi

Thanks for posting!

It’s actually quite tricky to hide specific fields from some users as Article Manager is setup to just display everything.

What I am thinking you could do though is group the fields so that everything that only the admins need to adjust are down at the bottom of the editor. Now, the default summary and content fields are going to be displayed after all the custom fields, however, you can turn them off and use spare fields for them. So you would have all the fields trusted writers can edit, then the new content and summary fields and finally the fields that only your admins edit.

Does that sound like it would work? Give it a shot and let me know what you think Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




elbav
User

Sep 28, 2006, 1:54 PM

Post #3 of 8 (1303 views)
Shortcut
Re: [ross] Hiding Fields in whilst editing article as trusted writer [In reply to] Can't Post

Ross,
but this idea would still mean that a trusted writer gets to see ALL fields in his edit screen?
And this is something we can not do (as some fields hold confidential data).

What about simply assigning the _writer_menus.html template to all trusted writers ? This would be perfect, so we could change the _writer_menus.html template and cut it down to just the minimum of fields we want to show.
Can this be done?


ross
Staff / Moderator


Sep 28, 2006, 3:19 PM

Post #4 of 8 (1297 views)
Shortcut
Re: [elbav] Hiding Fields in whilst editing article as trusted writer [In reply to] Can't Post

Hi again!

The interface isn’t really setup to take different templates like that and the templates are setup to just list all fields that you have created.

What I am thinking is that there is a little bit of JavaScript that I used for Listings Manager one time that hides fields from anyone other than admins.

The only thing with this is that the content of the field would still appear in the source of the page so I am not sure if that would work.

Now, JavaScript isn’t my area of expertise so it would take a little bit of time for me to work out a solution here so let me know what you think and I’ll see what I can track down for you Smile
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




elbav
User

Sep 28, 2006, 3:23 PM

Post #5 of 8 (1295 views)
Shortcut
Re: [ross] Hiding Fields in whilst editing article as trusted writer [In reply to] Can't Post

Hi Ross,

thanks for your fast response.

Oh, yes, we could certainly live with a javascript driven solution which hides certain fields.

Would be wonderful if you could work out a solution.

Thanks in advance!


Silvatti
User

Oct 2, 2006, 4:55 PM

Post #6 of 8 (1275 views)
Shortcut
Re: [elbav] Hiding Fields in whilst editing article as trusted writer [In reply to] Can't Post


In Reply To
Hi Ross,

...Oh, yes, we could certainly live with a javascript driven solution which hides certain fields.

Would be wonderful if you could work out a solution.

Thanks in advance!


I wholeheartedly concur! It'd be great to know how you integrate this feature into the pertinent interface templates as well.

I've done a bit of searching and have found several links to pages which should offer some clues...

http://www.codetoad.com/javascript/enable_disable_form_element.asp
http://javascript.about.com/library/bldisable.htm
http://www.quirksmode.org/js/disabled.html


ross
Staff / Moderator


Oct 3, 2006, 8:33 AM

Post #7 of 8 (1267 views)
Shortcut
Re: [Silvatti] Hiding Fields in whilst editing article as trusted writer [In reply to] Can't Post

Hi there.

Thanks for hanging on as I looked into this for you.

Unfortunetly, I haven’t been able to work out an elegant solution. The interface templates are quite tricky to work with so having some fields not appear for certain users just isn’t something Article Manager was setup to do.

I know this is already on our feature request list so I am going to add your name to the list of people looking for this to be added in a future version.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




Silvatti
User

Oct 3, 2006, 9:35 AM

Post #8 of 8 (1264 views)
Shortcut
Re: [ross] Hiding Fields in whilst editing article as trusted writer [In reply to] Can't Post

Ross,

Heh, I know I didn't start this request, but thanks for trying nonetheless! I've had a bit of trouble finding a clean solution myself. Perhaps in some future version we might have custom interfaces for article creation rather than try to figure out a javascript solution. Add my name to the list too, then!

Thanks again!

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4