Question
I have a Search function that presents a table from a form. It includes this in the format section:
format="| [[$topic][Link]] |
So, of course, it shows the word "Link" that links to the topic. Instead of a word I want an icon. I have tried constructs like:
format="| [[$topic][%ICON{help}%]] |
to get the help icon instead of the text word "link". It does not work. What is the proper way to do it?
Thanks.
Environment
--
JohnGee - 06 Jun 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
%ICON{help}% expands to a full image tag that contains double quotes. This basically terminates your
format="..." prematurely.
Fix: Use just the icon URL (attention: needs a leading space), such as
format="| [[$topic][ %ICONURL{help}% ]] |...|"
Example:
Support home.
--
PeterThoeny - 06 Jun 2008
Thank you so much.
--
JohnGee - 07 Jun 2008
Topic revision: r3 - 2008-06-07
- JohnGee