Updated: 9/20/04; 7:47:29 PM.
Fluid Flow: Frontier and Radio
Most of my work is in Frontier and Radio. This is a log of what I am working on, problems I am having, and solutions I've found.
        

Saturday, January 19, 2002

Something interesting to note about the radio.macros.imageRef is that it is much simpler than the standard Frontier imageRef macro. The Frontier macro can take 19 different parameters compared to radio version which only takes 5.

Most of the parameters in the Frontier macro allow you to specify different attributes in the image tag (things like alt, style, class, lowsrc, name, etc). With the Radio macro you can only specify usemap, align, hspace, and vspace.

If you need other attributes, you can use the following trick. Include the attribute and its value in one of existing the parameters. For example:

<%radio.macros.imageRef("/images/editButton.gif",vspace:"\" alt=\"Edit Item")%>  (Note the two escaped quote marks)

will produce:

<img src="file:///filePath/images/editbutton.gif" border="0" width="21" height="10" vspace="" alt="Edit Item">
11:37:44 PM    
Comment []

Turning off mirroring and posting the last item fixed the error on my home page. I probably should have copied the error message so we could figure out where the problem was.

I also want to look into the mirroring code. I want to be able to only mirror messages going to specific categories, not every message that I post. Ideally, I could post to different sites, based on the category.
5:33:45 PM    
Comment []


I am not sure what happened with the mirroring, but when I posted the last item. The two previous items were mirrored to cliftons.editThisPage.com and a macro error was generated on my home page.
5:28:38 PM    
Comment []

Steven Vore pointed me in the direction of radio.macros.imageRef() to get around the problem of needing fully qualified urls for images.

I kind of figured that the macro was there somewhere, since I have been using imageRef since Frontier 4. But I couldn't find it in the help pages.

I should have widened my search a little. Here is a story on the radio site that talks about using the imageRef macro.
9:12:59 AM    
Comment []


© Copyright 2002-2004 Tom Clifton.
 
January 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Dec   Feb


Click here to visit the Radio UserLand website.

Subscribe to "Fluid Flow: Frontier and Radio" in Radio UserLand.
Click to see the XML version of this web page.