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

Home: Older Forums & Discontinued Products: Article Manager 1:
Displaying different art_fields on different pages

 

 


wendy
User

Aug 31, 2007, 8:45 PM

Post #1 of 9 (3282 views)
Shortcut
Displaying different art_fields on different pages Can't Post

Hi - Here's my question: I have a category (let's say CategoryA) with a bunch of different art_field information. On one page I want to display some of the art_fields form the category article, on another page in the site, I want to display different art_fields from the same category article. Is that possible? Do you SSI? Or, is there a better way?

Thanks,

Wendy

PS: I promise to learn Artman2 ;)


MikeB
Staff / Moderator


Sep 1, 2007, 9:48 AM

Post #2 of 9 (3242 views)
Shortcut
Re: [wendy] Displaying different art_fields on different pages [In reply to] Can't Post

Hi Wendy,

Thanks for the post!

From what you've outlined, it sounds like there may be a way to accomplish this using a Server Side Include (SSI) though I'd probably need some more specific details to be sure.

If you can provide me with a bit more detail about this and a specific example of the type of content you're trying to put onto a different page on your site I'll look into this and let you know how that might be possible.

I look forward to hearing from you Wendy! Smile

Cheers,
Mike Briggs - 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.


wendy
User

Sep 3, 2007, 11:56 PM

Post #3 of 9 (3037 views)
Shortcut
Re: [MikeB] Displaying different art_fields on different pages [In reply to] Can't Post

Hi Mike - Here are the details: I have a news article in a category (categoryA). On the site, I have a "public" area, and a "private" area. When a person looks at the categoryA news article in the "public" area, they see the author and the article. When a person looks at the same categoryA news article in the "private" area, they also see the author, the article, and some additional art_fields (like author notes, author references, and additional resources). I was thinking I needed to do server side includes to call out different templates unless there is an easier way.

Thanks, Wendy


MikeB
Staff / Moderator


Sep 4, 2007, 11:26 AM

Post #4 of 9 (3016 views)
Shortcut
Re: [wendy] Displaying different art_fields on different pages [In reply to] Can't Post

Hi Wendy,

Thanks for the post!

From what you've outlined I can't really think of any way that you'd be able to set up something like this. Article Manager publishes one static SHTML file on the server for each of the articles that you have on the site so there isn't really a way that you could set up the articles to display different details depending on whether or not the user was in the public/private section of the site. You may be able to set this up with some JavaScript that will check if the user has logged in but this would really depend on how your user management is set up on the site.

That said, if you were thinking about upgrading to the latest version of Article Manager there's a feature in Article Manager 2 that would allow you to do something like this. With Article Manager 2 you can set up publishing rules and you can publish as many different files as needed. This means that you could actually publish all of the articles on your site to both the public and private folders using a different template so the additional details will show up in the private section.

I hope this helps Wendy! Smile

Cheers,
Mike Briggs - 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.


wendy
User

Sep 4, 2007, 11:46 AM

Post #5 of 9 (3014 views)
Shortcut
Re: [MikeB] Displaying different art_fields on different pages [In reply to] Can't Post

Hi Mike,

Can I just set up to pages, publicA.html and privateA.html. On each page, do an include like, for public: <!--#include virtual="cgi-portfolio/artman/exec/search.cgi?cat=1&template=search/public.html"--> for private: <!--#include virtual="cgi-portfolio/artman/exec/search.cgi?cat=1&template=search/private.html"-->


I know it's kloogy, but would it work until I get set up with Artman 2?


W


(This post was edited by wendy on Sep 4, 2007, 12:38 PM)


MikeB
Staff / Moderator


Sep 4, 2007, 3:06 PM

Post #6 of 9 (2999 views)
Shortcut
Re: [wendy] Displaying different art_fields on different pages [In reply to] Can't Post

Hi Wendy,

Thanks for the post!

I've had a look over this and the issue with what you've outlined here is that there isn't any function in Article Manager 1 that will allow you to publish two article pages (privateA.html and publicA.html) for the same article. You may be able to do something like this if you're not using Article Manager's printer friendly pages but other than that there wouldn't be another way to have the software publish multiple files for each article.

If you're not using the Printer Friendly pages at all just let me know and I'll outline for you how you could set up something like this.

I hope this helps Wendy! Smile

Cheers,
Mike Briggs - 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.


wendy
User

Sep 4, 2007, 7:08 PM

Post #7 of 9 (2993 views)
Shortcut
Re: [MikeB] Displaying different art_fields on different pages [In reply to] Can't Post

Hi Mike - I won't be using printer friendly pages. I just want to display information on the web page. Wendy


MikeB
Staff / Moderator


Sep 6, 2007, 11:49 AM

Post #8 of 9 (2834 views)
Shortcut
Re: [wendy] Displaying different art_fields on different pages [In reply to] Can't Post

Wendy,

It's good to hear from you!

If you're not using the printer friendly pages that Article Manager creates for you then you essentially have two full article pages that you can make use of. To set up the two article pages you'll just want to log into Article Manager's admin program and click Setup Options->Server. From there you'll want to scroll down to the "Publish File Settings" section of the admin program and modify "Article Printer Pages" to change the name from "printer_" to something that is more relevant for your private section of the site.

From there, you'll want to log onto your server and modify this template file:

/artman/templates/default_printer.html

You can modify this template to output the specific author details you mentioned that should only be on the private pages and this way you shouldn't need to use any server side includes.

I hope this helps Wendy! Smile

Cheers,
Mike Briggs - 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.


wendy
User

Sep 6, 2007, 12:44 PM

Post #9 of 9 (2830 views)
Shortcut
Re: [MikeB] Displaying different art_fields on different pages [In reply to] Can't Post

Thanks. I think that will work. I'll let you know if I run into any issues.

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
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