Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Search by user

 

 


kezza
User

Jan 30, 2007, 10:47 AM

Post #1 of 6 (3250 views)
Shortcut
Search by user Can't Post

Hi guys - I've done a forum search on this one but can't seem to find anything that provides the answer. Is it possible to modify art_menus.html so that articles can be listed by a particular user? Basically, we have a someone set up as a writer and I'd like to be able to view a list of articles added by this particular writer even after I've set them 'visible'. I can't seem to find a guide on how to modify the art_menus template so that I can do this. Any advice would be appreciated!

Regards
Kerry
Kerry


ross
Staff / Moderator


Jan 31, 2007, 9:18 AM

Post #2 of 6 (3245 views)
Shortcut
Re: [kezza] Search by user [In reply to] Can't Post

Hi Kerry.

Thanks for posting!

I have to admit that I don't think this is going to be something that works in the admin interface. Reason being, writer accounts are setup to just post new articles that get set to pending by default. This is part of the program itself so regardless of what you add to the template, you won't really be able to change that.

What you should be able to do though is use the search engine to bring back a list of all the articles by a specific user if you like. You could even put that link inside the interface so when they are logged in, they can click on it to get a list.

Does that sound like it would work? Let me know and I'll dig into that some more 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: http://www.interactivetools.com/consulting/



(This post was edited by ross on Jan 31, 2007, 9:22 AM)


kezza
User

Jan 31, 2007, 9:56 AM

Post #3 of 6 (3242 views)
Shortcut
Re: [ross] Search by user [In reply to] Can't Post

Hi Ross -

OK, the search link may provide a solution. Would you mind letting me know the easiest way to do this?

Thanks a lot

Regards

Kerry
Kerry


ross
Staff / Moderator


Feb 1, 2007, 4:29 PM

Post #4 of 6 (3234 views)
Shortcut
Re: [kezza] Search by user [In reply to] Can't Post

Hi Kerry

Thanks for posting!

I am going to get our second level team to put together a walk through for you on this one. Basically, you are going to be taking a link that displays a list of all the articles created by the user you are currently logged in as, stick it into your interface.

That's what you are looking for right? We'll be in touch as soon as the walk through is ready 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: http://www.interactivetools.com/consulting/



kezza
User

Feb 1, 2007, 10:48 PM

Post #5 of 6 (3230 views)
Shortcut
Re: [ross] Search by user [In reply to] Can't Post

Thanks Ross Smile
Kerry


Donna
Staff / Moderator


Feb 5, 2007, 9:23 AM

Post #6 of 6 (3219 views)
Shortcut
Re: [kezza] Search by user [In reply to] Can't Post

Hi Kezza!

Thanks for your post. :)

To do this, you'll want to modify the _writer_menus.html template. If you want the link to appear on any other page, you can modify the appropriate template as well.

The code I ended up using was this:


Code
View all posts by: <A href="search.cgi?search=1&fields=art_field1&keyword=$created_by$">$created_by$</a>


The main catch is that it's actually searching the "Author" field, but pulling the keyword from the currently logged in user, so you'd want to make sure that they had entered their name into the Author field.

Does that work for you? Give it a try and let me know how it goes. :)

Donna

--
support@interactivetools.com