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

Home: Products: Article Manager 2:
How do I override the "embedded Media" template ???

 

 


bruno
User

Feb 12, 2007, 5:17 PM

Post #1 of 2 (302 views)
Shortcut
How do I override the "embedded Media" template ??? Can't Post

Can someone please help me out here?

I've read the documentation and I must be missing something... I know you can override the "embedded media" template by inserting a template row into the articlePage template. However, I can't seem to get it to work. Do I have the syntax wrong? Or is something missing?

I'd like to override the embedded Media template when I place images using the ***image1*** placeholder within the content and summary fields of an article.

Here's the code I have on my article Page template...


Code
 
<!-- templateCell : uploadedImage.row -->
<!-- templateIf : $file.isImage$ == "1" -->
<!-- templateIf : $file.useThumbnail$ == "1" -->
<!-- templateIf : $file.linkTo$ eq "url" -->

<a href="$file.linkUrl$" [templateIf : $file.openLinkInNewWindow$ == "1" ]target="_blank"[/templateIf]>

<!-- /templateIf -->
<!-- templateIf : $file.linkTo$ eq "image" -->

<a href="$file.webUrl$" [templateIf : $file.openLinkInNewWindow$ == "1" ]target="_blank"[/templateIf]rel="lightbox" title="$file.caption$">

<!-- /templateIf -->

<img src="$file.thumbnailWebUrl$" border="0" alt="$file.title:htmlEncoded$" width="$file.thumbnailWidth$" height="$file.thumbnailHeight$" align="$file.align$" class="artIMG">

<!-- templateIf : $file.linkTo$ ne "" -->

</a>

<!-- /templateIf -->
<!-- templateIf : $file.wrapText$ == "0" -->
<!-- /templateIf -->
<!-- /templateIf -->
<!-- templateIf : $file.useThumbnail$ != "1" -->
<!-- templateIf : $file.linkTo$ eq "url" -->

<a href="$file.linkUrl$" [templateIf : $file.openLinkInNewWindow$ == "1" ] target="_blank" [/templateIf]>

<!-- /templateIf -->
<!-- templateIf : $file.linkTo$ eq "image" -->

<a href="$file.webUrl$" [templateIf : $file.openLinkInNewWindow$ == "1" ] target="_blank" [/templateIf] rel="lightbox" title="$file.caption$" >

<!-- /templateIf -->

<img src="$file.webUrl$" border="0" alt="$file.title:htmlEncoded$" width="$file.width$" height="$file.height$" align="$file.align$" class="artIMG">

<!-- templateIf : $file.linkTo$ ne "" -->

</a>

<!-- /templateIf -->
<!-- templateIf : $file.wrapText$ == "0" -->
<!-- /templateIf -->
<!-- /templateIf -->
<!-- /templateIf -->
<!-- templateIf : $file.isImage$ != "1" -->

<p>[ <a href="$file.webUrl$">Download/View $file.title$</a> ]</p>

<!-- /templateIf -->
<!-- /templateCell : uploadedImage.row -->


Can anyone figure out what's going wrong here?

Thanks so much!

-Bruno

(This post was edited by bruno on Feb 12, 2007, 5:23 PM)


Donna
Staff / Moderator


Feb 13, 2007, 1:48 PM

Post #2 of 2 (281 views)
Shortcut
Re: [bruno] How do I override the "embedded Media" template ??? [In reply to] Can't Post

Hi Bruno,

I think we resolved this via email -- the syntax you're looking for is:

<!-- templateCell : pageDefault.embeddedMedia -->

...instead of:

<!-- templateCell : uploadedImage.row -->

Give that a try and let me know if that works for you. :)

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.

 
 
 


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