Fair enough - maybe share the plugin?

 

Regards, 

Richard

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Jian Huang
Sent: Wednesday, 8 August 2012 3:27 AM
To: [email protected]
Subject: Re: Fetching the contents of an Image Placeholder

 

Had the same problem just 8 months ago.

Pre-referencing cannot be done on content elements that are in the same
content class.  Had to write a little plugin that automatically reference
image element to another element of the same page upon page creation.

-Jian

On Tuesday, August 7, 2012 7:14:42 AM UTC-4, Richard Hauer (5 Limes) wrote:

Or... 2 image tags, one set to "URL only" where one references the other?
You can preassign the reference I believe.

Sent from my Windows Phone

  _____  

From: Richard Hauer
Sent: 7/08/2012 21:11
To: [email protected]
Subject: RE: Fetching the contents of an Image Placeholder

Also thinking out loud, how about a custom render tag to process the image
tag?

Sent from my Windows Phone

  _____  

From: Rob
Sent: 7/08/2012 19:11
To: [email protected]
Cc: RedDot CMS Users
Subject: Re: Fetching the contents of an Image Placeholder

Jian,

 

The page I need this flexibility on is a detail page where the image
placeholder is assigned content (including "alt" attribute) and where the
URL of the image is needed to pass on to Facebook for a Like click.  By that
description, I think I am stuck.  I need access to the placeholder both ways
on the same page level.  Even if I forced the editor to add this image on a
lower page as a list item or dynamic anchor item, I still can't read the
placeholder two ways on the same page using just RedDot placeholders.

 

I am considering light compromises to get a solution.  Perhaps the editor
could have a more cluncky interface or series of steps.  Use RQL (oh no!).
Or some other less elegant solution.  I don't want the editor to need to
enter the image twice.

 

Is there a way our content editors could refresh this cache after an image
change?  If not, could our developers do it?  How?

 

When is the cache problem encountered?  For just GetElement() method?  All
methods accessing only Content Elements?  Only Structural Elements?

 

Sounds like GetElement is rather useless.  

 

Is there another way to access this image HTML you know of for me to parse
out the URL?  I doubt I can use VBScript within PreExecute on the image
placehlder HTML.  The way it is processed, it will cause an error.  PHP
could do it but it is not available to me on this project.

 

Rob

 

 

-- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/ZIe4cnUuYtoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]
<mailto:reddot-cms-users%[email protected]> .
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/LL0xqnYkEdMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to