[SOLVED] Using FLEXIcontent in Custom Code

More
3 years 2 months ago - 3 years 2 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
Last edit: 3 years 2 months ago by ggppdk.

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

More
3 years 2 months ago - 3 years 2 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!
Last edit: 3 years 2 months ago by ggppdk.

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

More
3 years 2 months ago - 3 years 2 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!
Last edit: 3 years 2 months ago by ggppdk.

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

More
3 years 2 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.