Article in article [SOLVED]

More
13 years 7 months ago #19842 by ggppdk
Replied by ggppdk on topic Article in article [SOLVED]
In Flexicontent we call articles as items since we can have many types of content.

ok, now about what you asked, you want inside an item 'A' to display an item 'B'.

What micker suggested is this:
(DO NOT DO this method in FLEXIcontent versions prior to v1.5.6)
1. create a new Universal FLEXIcontent module 'M', and set it to show item 'B' (or anything else you want)
2. edit the module 'M' to be displayed in a non-existing position e.g. just write in position parameter the word 'nowhere' and click save
3. create a new FLEXIcontent field 'F' of Type 'Load Module', and set it to display this module 'M'
4. goto template manager and click to edit the 'Item Layout' of the template that the item 'A' uses, place the new field 'F' in any position

You are done.

But BE WARE,
-- If you assign field 'F' to item 'B' e.g. if item 'B' is same type as item 'A',
then DO NOT do any of these 2 things:[/b]

a. do not set global option Performance parameter 'Always create field html' to anything different than 'only when needed'
b. do not add field 'F' to the fields that the module 'M' displays

if you do (a) or (b) or both , then you will get an infite loop and your page will never be created

Maybe i will put code in the Universal module to detect this case and avoid the loop.

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
13 years 7 months ago #19857 by micker
Replied by micker on topic Article in article [SOLVED]
Great other way

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
13 years 7 months ago #19866 by pshoeg
Replied by pshoeg on topic Article in article [SOLVED]
Thanks, works (almost) perfectly. The only issue is, that it just shows a list with only one item, which is a link to the item I want to include.

How can I make it show the entire content of the item, maybe even with the title wrapped in a h3 element?

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

More
13 years 7 months ago #19876 by micker
Replied by micker on topic Article in article [SOLVED]
did you use module solution ?

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
13 years 7 months ago #19878 by pshoeg
Replied by pshoeg on topic Article in article [SOLVED]
Yes, I did, the method ggppdk specified above.

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

More
13 years 7 months ago #19881 by ggppdk
Replied by ggppdk on topic Article in article [SOLVED]
1. change layout PARAMETER of the module to be 'news'
2. set number of featured items to be zero
3. at display items list slider , select the fields of that you want to display, be careful put the field names in the standard box, not in the featured box


-- 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.492 seconds
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
Save