Merge 2 items views

More
7 years 1 week ago #66977 by nexteo
Merge 2 items views was created by nexteo
Hi
On the one hand, I have a country directory with a detailed listing for each country, and on the other hand, I have a directory of people with a detailed personal profile.
So far I have used the plugins of relationship between the records of the 2 directories.
But will there be a possibility to display in the item view of a country the detail of one or more personal profiles?

A big thank you If you have an idea

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

More
7 years 1 week ago #66979 by ggppdk
Replied by ggppdk on topic Merge 2 items views
Hello

both the "country" and the "personal profile" are content items
that are related with FLEXIcontent 'relation' 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
7 years 1 week ago #66980 by nexteo
Replied by nexteo on topic Merge 2 items views
Not yet, because it is a question of creating a new site meeting the expectations of 2 different sites.
I was thinking of using the flexicontent plugin relationship, but that means that in my item view of the country I have a link to the country manager. Which works perfectly.
But it would be even better if I could display the complete profile

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

More
7 years 1 week ago #66982 by ggppdk
Replied by ggppdk on topic Merge 2 items views
Hello

the relation field creates a list of related items,
the HTML display of the related items can be customized,
there are parameters for this , have you seen them ?


-- 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
7 years 1 week ago #66985 by nexteo
Replied by nexteo on topic Merge 2 items views
No, I had not paid attention,
I imagine that this field is there?
See attached image

And in the "item HTML" field I imagine that it is enough to paste the same syntax as in the item view:
<? Php if (isset ($ item-> positions )):?>
<Div id = "title">
<? Php foreach ($ item-> positions as $ field):?>
<? Php echo $ field-> display; ?>
<? Php endforeach; ?>
</ Div>
<? Php endif; ?>

Is this correct ?
Attachments:

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

More
7 years 1 week ago #66996 by micker
Replied by micker on topic Merge 2 items views
yes but you can't use php inside this field only html
if you want to se php use template

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.

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