[development] Activating additional fields
Yani
akayani at aapt.net.au
Sun Dec 18 02:25:36 UTC 2011
I need to process additional text fields in a created content type into
active links...
(I figure someone would have don't this before and might have so early
clues.)
The field looks like this...
<div class="field field-name-field-url-survey field-type-text
field-label-inline clearfix">
<div class="field-label">Survey URL: </div>
<div class="field-items">
<div class="field-item
even">http://thebestplans.org/limesurvey/index.php?sid=11647&amp;lang=en
&amp;11647X14X225=A Political Reconciliation - to End the Israeli Arab
Conflict (Gilad
Katz)&amp;11647X14X2161=[current-user:uid]&amp;11647X14X2162=16A</di
v>
</div>
</div>
When processed it should be as so...
<div id="plan-evaluate">
<p><a
href="http://thebestplans.org/limesurvey/index.php?sid=11647&lang=en&
;11647X14X225=A Political Reconciliation - to End the Israeli Arab Conflict
(Gilad Katz)&11647X14X2161=[current-user:uid]&11647X14X2162=16A"
onclick="window.open(this.href, 'EvaluationReport',
'resizable=yes,status=no,location=yes,toolbar=no,menubar=no,fullscreen=no,sc
rollbars=yes,dependent=no,width=920,left=10,height=800,top=10'); return
false;">Evaluate this plan</a></p>
</div>
What I'm thinking is...
<div class="field-item even">display-name, URL</div>
OR
Label == display-name
Note that I'm using tokens =[current-user:uid]
Any clues? One option is to make all the fields into full text fields but
the document is in 3 languages and this would create a bit of 'mess'.
Yani
More information about the development
mailing list