Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Category Image Problem.

 

 


haungo
User

Sep 25, 2002, 11:05 PM

Post #1 of 6 (2869 views)
Shortcut
Category Image Problem. Can't Post

Hi,

I apologize for this newbie question, but I couldn't find an answer in the older threads.

Well, I am having a problem with the category images for the Dusk template at my site, http://www.haungo.com . There are five categories in the category listing on the left navigation bar, which is correct. The problems that I am running into is as follows:

1. The category listing in the header section does not appear in the same order as the category listing on the left navigation bar.

2. There is an extra (duplicate) category and image that appears in the header section.

Now, I haven't modfied the headings/default.hml file and I've tried to republish the articles several times, but the above problems persists. Anyone who has experience a similar problem, do you have any tips for this beginner?

Thank you for reading. Smile

Hau

www.haungo.com

p.s. In Category Editor, I changed the order in which the categories appear on the left nav bar. Please let me know if that would be harmful in any way to the Header Categories. Thanks!


Damon
Staff / Moderator


Sep 26, 2002, 11:20 AM

Post #2 of 6 (2846 views)
Shortcut
Re: [haungo] Category Image Problem. [In reply to] Can't Post

Hi Hau,

Good question. The one thing about the category images that run across the top right on the dusk templates is that they appear not in the same order as the categories navigation on the left but in the order of most recent articles.

So for example, if your two newest articles are from your work category, then two work category images will appear at the top right followed by category images from the next most recent articles.

It's also important that you set the "Global Headlines", "per page" value to
"5" under Setup Options so only 5 category icons will be displayed.

You can edit the templates/headlines/default.html template if you want these images (and category links)to be hardcoded and not change to reflect the current articles.

I hope that helps. Let me know if you have any other questions.

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/


haungo
User

Sep 26, 2002, 1:10 PM

Post #3 of 6 (2835 views)
Shortcut
Re: [Damon] Category Image Problem. [In reply to] Can't Post

ooohhhh ...

I get it. I didn't realized that the category images in the header section was dynamic.

Thanks Damon! You guys rock with your product support! Sly



Hau


haungo
User

Sep 26, 2002, 9:31 PM

Post #4 of 6 (2818 views)
Shortcut
Re: [Damon] Category Image Problem. [In reply to] Can't Post

Hi Damon,

One last question on this topic.

How do I hardcode the templates/headlines/default.html template to output on the top right of the dusk set as:

category1 category2 category3 category4 category5



I would like to retain the ordering above, but I'm not exactly sure how or where to do that within the template cell code.

Is there some way to get AM to not print the category images that run across the top right on the dusk templates and instead show the hardcoded html?

I hope my question makes sense. Basically, I would like to retain the order the category images regardless of order of the most recent article.

Thank you for your time! Smile

Hau


Damon
Staff / Moderator


Sep 27, 2002, 12:24 PM

Post #5 of 6 (2797 views)
Shortcut
Re: [haungo] Category Image Problem. [In reply to] Can't Post

Hi again,

In the Dusk template set, to have the category images that run across the top right of the page remain static and be arranged in the order you want, you can hardcode the templates/headlines/default.html template or you could publish the categories images in the order you prefer and then turn off publishing for the Global Headlines in the Setup Options (the easy method) Smile

So I will describe the easy method first. Since the category images (on the top right) are based on the order of the latest articles, here is the steps:

1. Modify your articles by date to be in the category image order you prefer. For example, your first article would be from the Work category followed by the Life category, Balance, Picture and Links.

2. Now the category images in the top right should reflect this order of categories.

3. Next, go to the Setup Options under the Server tab and uncheck the publish box for the Global Headlines. By not publishing the Global Headlines, the category images (on the top right) won't change to reflect the latest articles.

And that's it. In the future, if you decide to change the category image order or add another category image you will need to check the Global Headlines publish checkbox and go through the same steps above.

Now, if you prefer to hardcode the headlines template (templates/headlines/default.html), here is the steps:

First, make a backup of your templates/headlines/default.html template so you can go back to it if you need to.

Next, it is important note is that even though you will no longer be using the template:cells in the template, they have to remain or you will receive an error message when Article Manager can't locate them.

1. Download a copy of the templates/headlines/default.html template.

2. With a text editor, add in the hardcoded links your categories and the category images for each.

Example:
<td><a href="http://www.yoursite.com/artman/publish/cat_index_1.shtml"><img src="http://www.yoursite.com/artman/images/categoryimagename.gif" height= width= alt="Category Name"></a></td>

3. Next remove the html between the template:cell tags but leave all the template cells.

Example:

<!-- templatecell : row -->
<!-- /templatecell : row -->

4. Re-upload the template back to your site. And login to Article Manager and click the Publish All button.

The category images on the top should now appear in order you modified in the template.

Let me know if this helps.

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/


haungo
User

Sep 28, 2002, 9:29 PM

Post #6 of 6 (2776 views)
Shortcut
Re: [Damon] Category Image Problem. [In reply to] Can't Post

Hi Damon,

Thanks again for the tips. After reading your explaination, which were very clear (thanks!), I tried the easy approach and it worked! I will mostly likely use the hardcode approach when I am more familiar with AM. Thanks again for the great product support!

I love you guys! Laugh



Hau