Emulating {article anywhere} from Nonumber

More
12 years 1 month ago #36807 by rottenberg
hello,

I use very oftenly {article anywhere} from Nonumber. It's very usefull as you can insert an article without creating an iframe where you want in a page even in another article.

Unfortunately, with FC only only standards fields can be used.

I have asked Nonumber creator if he expects to adapt his plugin to FC as he has done with K2. He answered me that this adaption is not on his road map.

I thought about that in my article scroller problem.

Presently we have in FC a very easy way to customize articles presentation with the using of template. It's also possible to get different templates for the same article with the 'ilayout' option.

I think that if we could use the display of an article in a module the problem I have encountered with folder image and share BD image would be solved very easyily.

For instance the parameters of a scroller module would be : FC template to be used, categories to be used.

No need to develop a specific template for the module, no need to ask which field to display in the template.

In the execution of the module we should display the selected article with the FC template given in the module.

And if the rules change in FC as they have been changed in the display of the article they would be immediatly taken in charge in the module with no change in the module.

Is my suggestion correct and not too heavy to run ?

best regards
Michel

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

More
12 years 1 month ago #36830 by ggppdk
Hello,
here is the code to do it:

How to render item view in custom code


-- 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 1 month ago #36831 by rottenberg
Thank you very much
I try it and I give you the result.
best regards
Michel

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

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