Developer forum

Forum » Feature requests » Page/Website specific values

Page/Website specific values

Morten Fink Eriksen
Reply
A feature that would be really nice to have in my opinion is some way to have page/global specific values you define which you could use as tags in templates, like custom fields for products etc. 

Having to insert "<!--@Global:Area.ID==1--> show some paragraph <!--@EndIf-->" and then repeating this for each area starts to get rather unflexible.

Why can't we in some way define "custom" field for page/website for use in templates instead?

Say i had a form on my page that used some hidden value specific for that page/language layer, it would then be nice to be able to add this value for that specific page/language layer and then be able to reference it in the template like

<input type="hidden" value="<!--@Global.Area.[CustomValue]-->"/>

Replies

 
Nuno Aguiar
Reply
Hi Morten,

We use translate tags for this.

Best Regards,
Nuno

 
Morten Bengtson
Reply
In most cases you can hack it by using translate tags, but sometimes you just cannot use this approach.

Translate tags are related to the current language and not the current site. If we have multiple sites in the same language then how should we store and retrieve settings for the site? Any suggestions?

Translation functionality is only suitable for translating simple text. The user is not able to add content through a rich text editor, use a checkbox or select an option from a dropdown etc.

We need custom fields on pages and sites.

/Morten
 
Nuno Aguiar
Reply
Hi Morten,

Yeah, you got a point there. Long waiting for that feature. Will be good to use it here as well

Nuno

 
Morten Fink Eriksen
Reply

Great suggeston with the translation tags although i see this as a hack in some way and as Morten mentioned this would only work for areas and not pages, so i would concur with Morten in that we need this for pages and websites.

/MFE

 
Janus Lock
Reply
 I have requested a similar feature here 

But unfortunately not any news on when it will be implemented