problem using {{title##0}} in prefix description

More
11 years 4 months ago #38442 by rottenberg
Hello
In ite V1680 I want to use the article title inside another text variable.
This variable is an hidden one.
I have told that the variable is mandatory and is no multivalue.

In the template I have put title in the 'renderonly' field.

I have put those parameters :
default value :  
using the default value : (le 3rd choice) display the value if empty field.
prefix text for every value :
Code:
<div style="text-align:center;float:none;font-weight:bold;"><span style="color:#ff0000">titre{{title##0}}</span></h1></div>

the word titre is just ther to see if the value is executed.

I get the word titre but not the title value.

How can I get the title value

thank you for help

best regards

Michel

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #38457 by ggppdk
Hello,
this is for custom fields only not for CORE fields,

but since title is a DB table property of the article (FC item)
you can use (should work unless we have a bug):

{{item->title}}

this is mention in the popup description ;)

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #38460 by rottenberg
Thank you very much.

Now it's working.

I thougth about a problem of Core and user field.
But I didn't found the syntax for the core fields.

I attach the popup explanation I have got (the image is from the V1696 beta)
[attachment=0:12ijs2x9]<!-- ia0 -->popup.jpg<!-- ia0 -->[/attachment:12ijs2x9]

Best regards
Michel

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #38461 by ggppdk
Hello,

thanks for pointing this out,

-- 1. i will update the description to
add
{{item->COREproperty}}


-- 2. and also

{{fieldvalue##nn}}

is wrong, it should be:

{{fieldname##nn}}


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #38462 by micker
Thanks for return

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #38463 by brandonking
Good to know that we can also use Title!! :D

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.405 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline