detail html5 template for in v1765 question

More
11 years 2 months ago #40100 by ggppdk
Hello

ok, i have looked at it

the positions TOP and BOTTOM, are setup to show files this:

- 1 field per row if number columns is 1
- 2 fields per row if number columns is 2

the number of columns template parameter can be set in Content Type configuration


-- 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 2 months ago #40103 by rottenberg
At the beginning I had 2 columns in the bottom position.
I changed to 1 and now I replaced by 2.
There no change.

As I may have more that 2 fields in the bottom place, I have created a text field which copy the 2 original fields : {{artiste##0}} {{galerie##0}}.

I get now information in horizontal order. But I get the raw value and not the html I have in the original fields.

I get

9:8 12:9


is it possible to get the html defined for each of value :
Code:
%%<a style="float:left;margin:10px; box-shadow: 1px 1px 12px #555;" href="__item_url__">{tip ::{item->title}}<img src="{{logo##display_small_src}}">{/tip}%%

thank you for advices
best regards
Michel

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

More
11 years 2 months ago #40104 by ggppdk
Hello

use
->display
on each field


-- 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 2 months ago #40107 by rottenberg
I have put

{{artiste##0->display}} {{galerie##0->display}}

I get the same text.

I have put

{{artiste##0##display}} {{galerie##0##display}}


I get an empty field.

What did I do wrong ?

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

More
11 years 2 months ago #40109 by ggppdk
Hello

i mean in template file item.php

we were originally talking about template files and not about relation field configuration

for relation field configuration, please read the English description


-- 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 2 months ago #40111 by rottenberg
I prefer not customizing the item.php file.
It's easier to update the description of a field than a php file (using of ftp, risk of corruption of the file...)

If it's possible to use the prefix description I'll use it. If not I will customize the item.php file.

I have read the description which is given as tooltip in prefix/suffix separator.

I have not found the one corresponding to my problem.

I have tested : {{artiste##0##_xxxx_}} {{galerie##0##_xxxx_}} with html or html_text or display in place of xxxx.

It was unsuccessfull. Where can I find the code to be used (I didn't found it in tutorial).

If it's impossible just tell it to me, I will customize item.php file.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.524 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