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

Home: Discontinued Products: Article Manager 1:
Article Template Problem

 

 


BillG
User

Mar 19, 2006, 12:10 PM

Post #1 of 7 (1757 views)
Shortcut
Article Template Problem Can't Post

In my article template, I want to set the mouseover behavior for images to improve my search engine ranking. If the image has a caption, under
<!-- templatecell : img_caption -->

The mouseover displays the caption, which I did by inserting:
<img title="$img_caption$" ....
and this works fine.

If the image doesn't have a caption, I want the mouseover to display the title of the article, so under
<!-- templatecell : img_nocaption -->

I placed
<img title="$art_name_he$" ...

This does NOT work, the displayed HTML shows title="". I've also tried using $art_name$, which also doesn't work.

Any ideas?

Thanks,

Bill


BillG
User

Mar 19, 2006, 12:21 PM

Post #2 of 7 (1756 views)
Shortcut
Article Template Problem [In reply to] Can't Post

Also, what is the difference, if any, between

$art_name_he$ and $art_name$ ?

Thanks!


ross
Staff / Moderator


Mar 19, 2006, 4:31 PM

Post #3 of 7 (1752 views)
Shortcut
Re: [BillG] Article Template Problem [In reply to] Can't Post

Hi Bill.

Thanks for posting!

The thing you are running into here is that the $art_field$ placeholders aren’t directly available to the image templatecells. What you could do on the article template though, is save the $art_title$ as a JavaScript variable at the top of the page and then load it in the templatecell. Does that make sense?

The _ue is what we call a placeholder modifier. There are a couple different ones that will effect the content of a placeholder. They will try to make sure the placeholder’s data shows up where you are using properly. Here’s a list of the different ones you can use:

In links, append _ue
<a href="$art_field7_ue$">
In form values, append _he
<input name="x" value="$ art_field7_he$">
In javascript, append _je
<script>document.write("$art_field7_je$");</script>

Does that help? Let me know if you need anymore details 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.




(This post was edited by ross on Mar 19, 2006, 4:41 PM)


BillG
User

Mar 19, 2006, 11:20 PM

Post #4 of 7 (1746 views)
Shortcut
Re: [ross] Article Template Problem [In reply to] Can't Post

Thanks, Ross! I understand what you are saying. Instead of javascript, I solved the problem with ASP. Early in the article, I put

<%
Dim artTitle
artTitle = "$art_name$"
%>

When AM publishes the article, the published article resolves itself properly and I can then use <%=artTitle%> where appropriate.

Oh, I'd still like to know, what's the difference between $art_name_he$ and $art_name$ ?

Thanks!


(This post was edited by BillG on Mar 19, 2006, 11:22 PM)


Cliff
Staff


Mar 20, 2006, 12:53 PM

Post #5 of 7 (1728 views)
Shortcut
Re: [BillG] Article Template Problem [In reply to] Can't Post

Hi BillG,

Thanks for the update.

Adding the _he to the end of the placeholder will generated HTML-encoded code for the placeholder you are using. So it's useful in things like form values ie. <input name="x" value="$art_field5_he$">

Let me know if you need any more details Smile
Regards,
Cliff Stefanuk - Customer Service Manager
support@interactivetools.com


TerriZ
User

Apr 6, 2007, 5:06 PM

Post #6 of 7 (1282 views)
Shortcut
Re: [Cliff] Article Template Problem [In reply to] Can't Post


In Reply To
Adding the _he to the end of the placeholder will generated HTML-encoded code for the placeholder you are using. So it's useful in things like form values ie. <input name="x" value="$art_field5_he$">

Let me know if you need any more details Smile



I'm sorry, I still don't understand what HTML-encoded code is.

I'm trying to put the breadcrumb in my title tag but because my breadcrumb has links, I get all kinds of <a href="abc.htm"> stuff. Was hoping that the _he would help with that? Any other ideas?

Thanks,
Terri Z



Terri Zwierzynski
Solo-E.com -- Resources for the Solo Entrepreneur Lifestyle
"..because it's not just about the business!"
Finalist for "Website of the Year" in 2007 Stevie(r) Awards for Women in Business


ross
Staff / Moderator


Apr 8, 2007, 1:34 PM

Post #7 of 7 (1262 views)
Shortcut
Re: [TerriZ] Article Template Problem [In reply to] Can't Post

Hi Terri

Thanks for posting!

The breadcrumb is actually templated so you would be able to take out the links if you like but that would only be an option if you weren't using the breadcrumb anywhere else.

Let me know what you think and I'll go over this in more detail 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.



 
 
 


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