We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How Display Fieldtypes Field (Publish Page at front end)?

Development and Programming

mahesh singh's avatar
mahesh singh
11 posts
15 years ago
mahesh singh's avatar mahesh singh

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

       
Greg Salt's avatar
Greg Salt
3,988 posts
15 years ago
Greg Salt's avatar Greg Salt

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

       
mahesh singh's avatar
mahesh singh
11 posts
about 15 years ago
mahesh singh's avatar mahesh singh

Hi Greg, Yes please move it to the development & programming forum. Yes i looked the replace_tag example of the Google Map documentation!

could you please tell me how can i display the Google map example at front end?

thanks Mahesh

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
about 15 years ago
Sue Crocker's avatar Sue Crocker

Moving to that forum…

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.