Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Category Image does not show

 

First page Previous page 1 2 Next page Last page  View All


mackeymedia
User

Nov 11, 2006, 6:09 AM

Post #1 of 28 (12495 views)
Shortcut
Category Image does not show Can't Post

Hello, I have uploaded category images, They do not show up. Please advise how to activate.

Thanks


MEKAEEL
User

Nov 11, 2006, 8:16 AM

Post #2 of 28 (12485 views)
Shortcut
Re: [mackeymedia] Category Image does not show [In reply to] Can't Post

I think you should check if the categoryIndex template have the placeholder for the category image; if not then you should look it up in the placeholder list ( just put <!-- templatePlaceholderList --> in a template and publish it, you'll get the list) and put it.


mackeymedia
User

Nov 11, 2006, 10:05 AM

Post #3 of 28 (12473 views)
Shortcut
Re: [MEKAEEL] Category Image does not show [In reply to] Can't Post

MEKAEEL, Thanks for the response. I'm new at this and need further guidence Please advise: Where do I go to "put it " as you say. Thanks


ChetW
Staff


Nov 11, 2006, 12:57 PM

Post #4 of 28 (12465 views)
Shortcut
Re: [mackeymedia] Category Image does not show [In reply to] Can't Post

Hi,

Thanks for the post!

The <!--templatePlaceholderList --> can be placed anywhere on your page, after adding this bit of code you will need to re-publish your pages, you can also place this command inside of a templatecell to see templatecell specific placeholders. :)

The <!-- templatePlaceholderList --> is best used when you are developing and designing your website, you will want to remove this command and re-publish your files once you have found the placeholders that your looking for. :)

To get the category images appearing on your webpages you will need to both upload the image from inside the Article Manager admin section and be sure that the category image placeholder is being used on your template file. Your category image placeholder code would look similar to this:


Code
  

$category.image$

<!-- templateCell : category.image.row -->
<img src="$file.thumbnailWebUrl$" alt="$file.title:htmlEncoded$" width="$file.thumbnailWidth$" height="$file.thumbnailHeight$">
<!-- templateCell : category.image.row -->





Add this code to the spot on your template file that you would like the category image to appear. :)

This should help get you on your way, and if you have any other questions let me know and I will be happy to help out!










Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


mackeymedia
User

Nov 11, 2006, 5:03 PM

Post #5 of 28 (12447 views)
Shortcut
Re: [ChetW] Category Image does not show [In reply to] Can't Post

Chet. I tried this solution and I receive the error message: 'articleLists/categoryIndex.html' has more than one templatecell named 'category.image.row'! I don't understand why the field is there if it the program won't post the grapic. Please advise,thanks


ChetW
Staff


Nov 11, 2006, 5:56 PM

Post #6 of 28 (12444 views)
Shortcut
Re: [mackeymedia] Category Image does not show [In reply to] Can't Post

Hi Dave,

Thanks for the follow-up!

I made a typo on the last post this is why the "more than one templatecell" error was appearing for you. The actual code you will want to use is:


Code
  

$category.image$

<!-- templateCell : category.image.row -->
<img src="$file.thumbnailWebUrl$" alt="$file.title:htmlEncoded$" width="$file.thumbnailWidth$" height="$file.thumbnailHeight$">
<!-- /templateCell : category.image.row -->



I had left out the "/" for the closing templateCell tag, give this a try and everything should work for you Dave. :)
Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


mackeymedia
User

Nov 11, 2006, 9:25 PM

Post #7 of 28 (12437 views)
Shortcut
Re: [ChetW] Category Image does not show [In reply to] Can't Post

Thanks Chet! Now, how can I get that image also to also appear on the global index page?


Damon
Staff / Moderator


Nov 11, 2006, 10:49 PM

Post #8 of 28 (12445 views)
Shortcut
Re: [mackeymedia] Category Image does not show [In reply to] Can't Post

Hi,

The add the same code to your globalIndex.html template.
/templates/articleLists/globalIndex.html

$category.image$

<!-- templateCell : category.image.row -->
<img src="$file.thumbnailWebUrl$" alt="$file.title:htmlEncoded$" width="$file.thumbnailWidth$" height="$file.thumbnailHeight$">
<!-- /templateCell : category.image.row -->

Then re-publish the Global Index.

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

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


mackeymedia
User

Nov 11, 2006, 11:30 PM

Post #9 of 28 (12427 views)
Shortcut
Re: [Damon] Category Image does not show [In reply to] Can't Post

It works! Thanks Damon!


mbareara
User

Dec 8, 2006, 3:42 PM

Post #10 of 28 (12279 views)
Shortcut
Re: [Damon] Category Image does not show [In reply to] Can't Post

 Hi Damon,

i made all you told, but category image does not show yet.

Here is my code on http://www.calciocatania.com/artman2/publish/ (i'm just trying to upgrade AM)

<table border=0 cellspacing=1 cellpadding=2 width=100%><!-- template insert : $articleList$ --><!-- templatecell : articleRow -->
<tr>
<td width="33">
<!-- templateCell : category.image.row -->
<img src="$file.thumbnailWebUrl$" alt="$file.title:htmlEncoded$" width="$file.thumbnailWidth$" height="$file.thumbnailHeight$">
<!-- /templateCell : category.image.row -->
</td>
<td valign="top">
<p style="margin-top: 0; margin-bottom: 0"><span style="text-decoration: none; font-style:italic">
<font face="Tahoma" color="#909090" size="1">$article.date$</font></span>
<br>
<!-- templateIf : $article.externalLink$ ne "" -->
<a target="_blank" href="$article.externalLink$">
<font face="Verdana" color="#000000" size="1">$article.title$</font></a>
<!-- /templateIf -->
</td>
</tr>
<!-- /templatecell : articleRow -->
</table>


Thanks in advance for your help


(This post was edited by mbareara on Dec 8, 2006, 3:46 PM)


ross
Staff / Moderator


Dec 10, 2006, 12:48 PM

Post #11 of 28 (12255 views)
Shortcut
Re: [mbareara] Category Image does not show [In reply to] Can't Post

Hi there.

Thanks for posting!

I am not quite sure why this isn't working for you so I am thinking the best thing to do would be send me a support request so I can take a closer look:

https://www.interactivetools.com/support/email_support.cgi

I look forward to hearing from 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/



mbareara
User

Dec 10, 2006, 1:42 PM

Post #12 of 28 (12251 views)
Shortcut
Re: [ross] Category Image does not show [In reply to] Can't Post

Thanks u Ross, i wrote a support message for u


ross
Staff / Moderator


Dec 11, 2006, 9:59 AM

Post #13 of 28 (12236 views)
Shortcut
Re: [mbareara] Category Image does not show [In reply to] Can't Post

Hi again!

I haven't actually had a chance to go over your support request just yet, but I just had someone point out something to me that I think will help you out here Smile. While the code that you do have there all seems good to me, there is one bit of code that isn't there:

$category.image$

This is the placeholder for your category image and you'll need to put that on your template where the category image needs to appear. What you have right now is the templatecell for the category image. This tells the template how to display your image. The above placeholder tells the template where to display it.

You'll need to have both to get the image appearing so could you give this a shot and let me know if that gets you going?

I look forward to hearing from 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/



mbareara
User

Dec 13, 2006, 5:22 AM

Post #14 of 28 (12213 views)
Shortcut
Re: [ross] Category Image does not show [In reply to] Can't Post

HI ross,

thank u for ur reply.

Now my code is..

<table border=0 cellspacing=1 cellpadding=2 width=100%><!-- template insert : $articleList$ --><!-- templatecell : articleRow -->
<tr>
<td width="33">
$category.image$
</td>
<td valign="top">
<p style="margin-top: 0; margin-bottom: 0"><span style="text-decoration: none; font-style:italic">
<font face="Tahoma" color="#909090" size="1">$article.date$</font></span>
<br>
<!-- templateIf : $article.externalLink$ ne "" -->
<a target="_blank" href="$article.externalLink$">
<font face="Verdana" color="#000000" size="1">$article.title$</font></a>
<!-- /templateIf -->
</td>
</tr>
<!-- /templatecell : articleRow -->
</table>



But the result is the same.


ChetW
Staff


Dec 16, 2006, 10:40 AM

Post #15 of 28 (12194 views)
Shortcut
Re: [mbareara] Category Image does not show [In reply to] Can't Post

HI Orazio,

Thanks for the follow-up!

It looks like you are missing the templateCell now, to have this work correctly you will need to have both $category.image$ and the templatCell inside the <td> tag. Try changing this section of the code you are using:


Code
<td width="33">  
$category.image$
</td>



To this:


Code
<td width="33">  
$category.image$

<!-- templateCell : category.image.row -->
<img src="$file.thumbnailWebUrl$" alt="$file.title:htmlEncoded$" width="$file.thumbnailWidth$" height="$file.thumbnailHeight$">
<!-- /templateCell : category.image.row -->
</td>



Give this a try Orazio and please feel free to keep updated on your progress!
Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


mbareara
User

Dec 16, 2006, 11:06 AM

Post #16 of 28 (12191 views)
Shortcut
Re: [ChetW] Category Image does not show [In reply to] Can't Post

Yes......

http://www.calciocatania.com/articoli/

Now it works!!!

Thanks for all guys!!


civilizednation
User

Feb 24, 2007, 5:47 PM

Post #17 of 28 (11967 views)
Shortcut
Re: [ChetW] Category Image does not show [In reply to] Can't Post

i used to use this code in Article Manager 1:


Code
              <script>   
if('$cat_image:javascriptSafe$')
{
document.write('
$category.image$
<!-- templateCell : category.image.row -->
<img src=$file.webUrl:javascriptSafe$>
<!-- /templateCell : category.image.row -->
');
}
</script>


But it doesn't work anymore. is there a new version of this code?


Mike4172
User

Feb 24, 2007, 6:34 PM

Post #18 of 28 (11965 views)
Shortcut
Re: [civilizednation] Category Image does not show [In reply to] Can't Post

You almost got it. Just have to change the top portion to:


Code
<script>    
if('$category.image:javascriptSafe$')
{
document.write('
$category.image$
<!-- templateCell : category.image.row -->
<img src=$file.webUrl:javascriptSafe$>
<!-- /templateCell : category.image.row -->
');
}
</script>


Regards,
Michael
[red]NEW![/red][url "http://amscripts.net/webdesign/#logo"]Logo and Website Design[/url]
[url "http://amscripts.net/amaddons/#apde"]Auto Post Date and Expiration[/url]
[url "http://amscripts.net/amaddons/#goforum"]GoForum 2.02[/url]
[url]http://www.amscripts.net[/url]
[url "http://www.skype.com"]SKYPE[/url] - michael.amscripts


ross
Staff / Moderator


Feb 25, 2007, 10:45 AM

Post #19 of 28 (11936 views)
Shortcut
Re: [civilizednation] Category Image does not show [In reply to] Can't Post

Hi there.

It looks like Michael beat me to it on this one. Try out his code and let us know how you make out 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/



Roberto
User

Apr 11, 2007, 2:23 AM

Post #20 of 28 (11697 views)
Shortcut
Re: [ross] Category Image does not show [In reply to] Can't Post

Hi,

I try to put the code ( <!-- templateCell : category.image.row --> etc) in the header of article manager 2 but it is giving unknown placeholder $category.image$]
Also i want to put a cat. img for the glabalindex. So the header is always with a cat.img.
Must i make a rule?? or is it not passible to make it in the header because it is only a single page??

Greet
Roberto


ross
Staff / Moderator


Apr 11, 2007, 10:38 AM

Post #21 of 28 (11678 views)
Shortcut
Re: [Roberto] Category Image does not show [In reply to] Can't Post

Hi Roberto

Thanks for posting!

I am not quite sure if you are trying to setup exactly the same thing as the rest of the guys in this thread so I am thinking you might want to start off with this tutorial on category images we have setup:

http://www.interactivetools.com/docs/doc.cgi?/articlemanager2/tutorials/addingCategoryImages.html

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: http://www.interactivetools.com/consulting/



Roberto
User

Apr 11, 2007, 11:39 AM

Post #22 of 28 (11675 views)
Shortcut
Re: [ross] Category Image does not show [In reply to] Can't Post

Thanks Ross,
I have already look at this :-)
But i try it one more time.
Maybe i had the templatecell putt wrong. It was inside in a table. I try it now outside and te $category.image$ inside the table. I put the code in the header.html
I let you now. I am using AM v2.10

Regards
Roberto


Roberto
User

Apr 11, 2007, 12:56 PM

Post #23 of 28 (11674 views)
Shortcut
Re: [ross] Category Image does not show [In reply to] Can't Post

Nope.

Still [unknown placeholder $category.image$]

I have putt the templatecell on the page and I have putt also the $ in this code.

<td rowspan="2" valign="top" background="../../../images/header_r2_c2.jpg"><p>$category.image$</p></td>


UPDATE!! Try it on all template's and it works fine. But in the header template i get a error

Greetings
Roberto


(This post was edited by Roberto on Apr 11, 2007, 1:55 PM)


Donna
Staff / Moderator


Apr 12, 2007, 6:39 PM

Post #24 of 28 (11653 views)
Shortcut
Re: [Roberto] Category Image does not show [In reply to] Can't Post

Hi Roberto,

I think it'd be a little easier if we can take a look at your templates directly. Can I get you to fill out a support request form here?

https://www.interactivetools.com/support/email_support.cgi

Donna

--
support@interactivetools.com


musklick
Novice

Jan 5, 2010, 1:20 PM

Post #25 of 28 (5854 views)
Shortcut
Re: [Donna] Category Image does not show [In reply to] Can't Post

Hi,
I have the Category Image up and running, but I wonder if you can modify the size of it? I would like it to be a large image rather than a thumbnail. Is there an easy way of doing this?

Best
/Michael

First page Previous page 1 2 Next page Last page  View All