Template showing mainly fields from a related item

More
12 years 3 months ago #27564 by grabit
I need to build a template that show mainly fields from a related item.

My idea was to use the related field as reference by dropping the field in the reference layout position and then to show the required fields from the related item.

Is it an easy way to achieve that maybe by a modification of the default layout?

I am not a great php developer.

Any suggestions?

An Apple a days keeps the doctor away

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

More
12 years 3 months ago #27570 by ggppdk
For item view,
i recommend that you use the (Current Item's) Related items Scope of Universal module and then load the module into a loadmodule 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
12 years 3 months ago #27583 by grabit
On but i found 2 problems.

1) layout/templating is not easy to make with the module. And not wel documented. Maybe you have more infos about the module and templates.

2) I need you commit the change requested for the label of empty fields.

An Apple a days keeps the doctor away

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

More
12 years 3 months ago #27584 by ggppdk
1. inside the mod_flexicontent folder, you can copy the tmpl/news.php file to tmpl/mynews.php and customize the HTML

2. I have committed this, you can try the latest update FLEXIcontent module here:[attachment=0:3h7dby8o]<!-- ia0 -->mod_flexicontent.zip<!-- ia0 -->[/attachment:3h7dby8o]

Do not enable the NEW customized displayed of hits and voting because updated files external to the module are needed for this


-- 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...
Attachments:

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

More
12 years 3 months ago #27603 by Rooney

ggppdk wrote: 2. I have committed this, you can try the latest update FLEXIcontent module here:[attachment=0:pn4kdubx]<!-- ia0 -->mod_flexicontent.zip<!-- ia0 -->[/attachment:pn4kdubx]


Is this the version without the bug, that does not allow to hide all item links and only show categories?

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
12 years 3 months ago #27617 by ggppdk
Yes this version has this bug fixed , you can show only category information list if you wish


-- 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.

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