[SOLVED] Using FLEXIcontent in Custom Code

6 years 8 months ago - 6 years 8 months ago #54559 by Dazoid
Hello Guys,
i want to get Field Data from Flexicontent in a custom PHP under joomla 3.x.When i use
$itemmodel_name = FLEXI_J16GE ? 'FlexicontentModelItem' : 'FlexicontentModelItems';
$itemmodel = new FlexicontentModelItem();

i become an error like "Error displaying the error page: Application Instantiation Error: Application Instantiation Error" - it looks like the configuration and the Database is not set properly. I have include the Joomla Standard too:
/includes/defines.php
/includes/framework.php

joomla and Database works fine.
Has anyone an idea?

geetings from Germany
Daniel

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

6 years 8 months ago - 6 years 8 months ago #54573 by ggppdk
Hello

to display an item see this FAQ article:
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 review. Thanks!

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

6 years 8 months ago - 6 years 8 months ago #54574 by ggppdk
Hello

for rendering a full item see my previous post,

for rendering (displaying) specifc fields:
Retrieving the HTML DISPLAY of FC fields inside 3rd-party 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 review. Thanks!

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

6 years 8 months ago #54645 by Dazoid
thank you for infomation :-)

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.
Save
Cookies user prefences
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