I probably wasn't explaining it very well....

I am wanting a column within my table plus to display an icon - I have
a method which retrieves an icon from a specific directory and shows
in a standard page view, but when this method is called
in the table plus, I just get a display of the directory.... e.g

<table-plus with="&@version" fields="this, created_at, getIcon " >
(the getIcon column is the method to grab the icon from the directory)

the method just concatenates the appropriate filename and directory -
in the view page -this is just called as <img src="&this.getIcon" />
which displays the icon - but when I call the method in the <table-
plus> I just get     /directory/icons/icon.png      displayed in the
table,

am I just doing something that is not possible within the <table-
plus>?


On May 24, 6:47 pm, kevinpfromnm <[email protected]> wrote:
> when you use href in an <a> tag it should act like a regular html
> <a>.  if you want the image, just do <img src="linkhere" />.  how
> about you post an example of what you've tried so far?
>
> On May 24, 6:43 am, Pete <[email protected]> wrote:
>
>
>
>
>
> > I'm trying to add certain functionality onto my <table-plus>, such as
> > displaying an icon, and displaying a downloadable link to a document,
>
> > however, as far as I get is the <table-plus> just displaying the
> > directory as a string. i.e /directory/2/icon.png
>
> > I get exactly the same effect with the download links for <a href.....
>
> > Is there anyway this can be manipulated so that the html that gets
> > read actually allows a link to be clicked within, or so that the
> > actual image.png is shown rather than the containing drectory and file
> > name?
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Hobo 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 
> > athttp://groups.google.com/group/hobousers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Hobo 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 
> athttp://groups.google.com/group/hobousers?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
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/hobousers?hl=en.

Reply via email to