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

Home: Products: Article Manager 2:
Adding Headlines to a Homepage

 

 


sbrandon
Novice

Oct 31, 2006, 9:44 AM

Post #1 of 11 (956 views)
Shortcut
Adding Headlines to a Homepage Can't Post

Hi

I would like to add the latest headlines from each of my categories to my homepage (which is outside AM2). How do I go about this?

Ideally I would like to specify how many headlines are displayed for each individual category too - is this possible?

Thanks for any help in advance!!


Donna
Staff / Moderator


Oct 31, 2006, 3:01 PM

Post #2 of 11 (940 views)
Shortcut
Re: [sbrandon] Adding Headlines to a Homepage [In reply to] Can't Post

Hi there!

The steps are almost exactly the same as including them in the default index page via Article Manager, except rather than depending on the software to find the correct filename with a placeholder, you have to tell it what it will be.

So, by default, the category grouped headlines will be in /artman2/publish/include_groupedHeadlines.shtml

Therefore, you can add an SSI like this in your external page:


Code
<!--#include virtual="/artman2/publish/include_groupedHeadlines.shtml" -->


If you have a different folder layout or if you'd made any changes to the publish rule, you'll need to tweak that as necessary. But this will work with the default setup. :)

Donna


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.


sbrandon
Novice

Oct 31, 2006, 3:33 PM

Post #3 of 11 (937 views)
Shortcut
Re: [Donna] Adding Headlines to a Homepage [In reply to] Can't Post

Hi Donna

I have tried that, but just get a blank box. I guess I'm doing something really dim! Any chance you could take a look at www.1stwebsitedesign.net - the place I'm trying to get the headlines is in the box on the left under News?

Thanks a lot,

Simon


Donna
Staff / Moderator


Oct 31, 2006, 3:37 PM

Post #4 of 11 (934 views)
Shortcut
Re: [sbrandon] Adding Headlines to a Homepage [In reply to] Can't Post

Hey Simon!

Looks like your index file isn't a .shtml, it's a .htm. SSI's require a .shtml extension to work. Try renaming it to index.shtml, and it should work like a charm. :)

Donna


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.


sbrandon
Novice

Oct 31, 2006, 4:04 PM

Post #5 of 11 (931 views)
Shortcut
Re: [Donna] Adding Headlines to a Homepage [In reply to] Can't Post

Hi Donna

I've renamed it as an shtml and am now getting a heading saying Latest Headlines... but no more!

Thanks, Simon


Donna
Staff / Moderator


Oct 31, 2006, 4:06 PM

Post #6 of 11 (929 views)
Shortcut
Re: [sbrandon] Adding Headlines to a Homepage [In reply to] Can't Post

Hi Simon,

Can you let me know the syntax you're using so I can take a look at the page you're trying to include directly?

Donna


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.


sbrandon
Novice

Oct 31, 2006, 4:10 PM

Post #7 of 11 (927 views)
Shortcut
Re: [Donna] Adding Headlines to a Homepage [In reply to] Can't Post

Hi Donna

Sorry - not totally sure what you need to know! I'm trying to link to the headlines using:

<!--#include virtual="/publish/include_groupedHeadlines.shtml" -->

Thanks, Simon


Donna
Staff / Moderator


Oct 31, 2006, 4:18 PM

Post #8 of 11 (925 views)
Shortcut
Re: [sbrandon] Adding Headlines to a Homepage [In reply to] Can't Post

Yep, that's exactly what I was looking for. :)

As it turns out, it's displaying exactly right: The problem is, you don't appear to have any categories defined.

Take a look at your Artman publish page here:

http://www.1stwebsitedesign.net/publish/

As you can see, there's nothing showing up in the headlines there either -- and no categories being displayed in the category list. The category dropdown in the search engine shows no categories... so I'd say it's safe to assume that you currently don't have any categories, which is why nothing is showing up in the headlines grouped by categories -- there's nothing to group by. :)

So, create some categories, make sure your articles are propertly categorized... and they should start to show. :)

Donna


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.


sbrandon
Novice

Oct 31, 2006, 4:27 PM

Post #9 of 11 (922 views)
Shortcut
Re: [Donna] Adding Headlines to a Homepage [In reply to] Can't Post

Ah-hah! It's showing up now - problem was that I had unlinked my categories. Reason was to get rid of category names in the Category Index files - I only have 3 cats with no subcats and so I didn't want to show something saying NEWS unncecessarily above each item (see http://1stwebsitedesign.net/publish/news/index.shtml) Is there any way I can stop this happening?

Thanks a lot for your help! Simon


Donna
Staff / Moderator


Oct 31, 2006, 4:37 PM

Post #10 of 11 (920 views)
Shortcut
Re: [sbrandon] Adding Headlines to a Homepage [In reply to] Can't Post

You bet! Find this line:

<!--#include virtual="$published.categoryBreadcrumb.webpath$" -->

...in your articleLists/globalIndex.html. Remove it. Save. Publish. Voila! :)

Donna


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.


sbrandon
Novice

Nov 1, 2006, 2:40 AM

Post #11 of 11 (911 views)
Shortcut
Re: [Donna] Adding Headlines to a Homepage [In reply to] Can't Post

Brilliant! Thanks for your help!!

 
 
 


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