Hi, I am upgrading my web site from EE1.6.9 to EE 2.1.3 .
I have developed a third_party Fieldtypes (fact_base) and then create a custom field by name fact_properties of type fact_base.
and it is working fine at the control panel/admin panel but i want to use the fact_properties
custom field at front and i need to pass parameters so i am using it as below:-
{fact_properties:html filter="decl" language="fr" predicate-as="label" object-as="label" } {predicate} : {object} {/fact_properties:html}
on the basis of tag parameters i want render the values of {predicate} : {object}
1- if i use function replace_tag($data, $params = array(), $tagdata = FALSE)
and tag pairs used as :{fact_properties}{/fact_properties} veritable pairs not displayed! but if i pass parameters then it shows as it is written in template.
2- if i use function replace_html($data, $params = array(), $tagdata = FALSE) and tag pairs used as :{fact_properties:html}{/fact_properties:html} nothing will happen all the variables pairs are displaying as it is written in template
i was using fieldframe extension with EE1.x that was working perfect!
for testing i have downloaded the Example - Google Maps from:- http://ellislab.com/expressionengine/user-guide/development/fieldtypes.html#functions
then create a custom field “gooblemap” at back end control panel it is working but if i want to display it at front end as {gooblemap}{/gooblemap} then same things happening as i described above
thanks Mahesh
Moved to Development and Programming by Moderator
Hi Mahesh,
This question would be better directed to the Development & Programming forum and I can move this thread there if you wish. However, have you had a look at the replace_tag example on this page of the Google Map example documentation?
Cheers
Greg
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.