[Chameleon] new member from indonesia...need help
Delfos, Jacob
Jacob.Delfos at maunsell.com
Wed Mar 7 20:57:02 EST 2007
Hi Aji,
I think there is a simpler way to do it. It is perfectly well possible
to put links in your attributes, without modifying your queryresults
files.
For example, try putting in an attribute value like :
<a href='/afdelingen/afdIV.html' target=#>Afd IV</a>
This will show up as a link in your queryresults.
Sometimes it is easier to do automate this in excel:
------------------------------------------------------------------------
Put this in the 1st column:
<a href='/afdelingen/
2nd column:
afdIV
3rd column:
.html' target=#>
4th column:
afdIV
5th column:
</a>
6th column:
=concatenate(B1,B2,B3,B4,B5)
------------------------------------------------------------------------
if you open a DBF in excel, make a backup first; ensure column widths
are sufficiently wide, and bear in mind your attribute names become
capitalised.
Best regards,
Jacob
________________________________
From: Muhammad Aji Priyatna [mailto:aji at ptpn5.co.id]
Sent: 8 March 2007 03:25
To: Delfos, Jacob; chameleon at lists.maptools.org
Subject: Re: [Chameleon] new member from indonesia...need help
First off all I wolud like to thank to you Sir..
Actually I am trying to customise the results.
I will give an example:
as we know when user choose the 'i' button and click in any area
of the map, we can get the result of the query as show below
the file is :../widgets/Query/QueryResults.phtml
The file read 2 dbf file : Afdeling.dbf and Kebun.dbf. I would
like to add some information
after word Afdeling which is LINK. If user click the word (LINK)
it will jump to more detail
about the afdeling. FYI Kebun means estate in Indonesia and
afdeling is the smallest unit in
estate.
Thanks in advance
an earlier reply will be appreciated
warmest regard
aji
This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070308/6aababc8/attachment.html
More information about the Chameleon
mailing list