[added r1335] Additional column in admin - items view

More
11 years 11 months ago #25597 by victorio404
Is it possible to add additional column in administration - items view? For example custom text field to be visible after the "ID" column.

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

More
11 years 11 months ago #25613 by micker
you can overwide view like
flexicontent.org/documentation/f ... -view.html
regards

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
11 years 11 months ago #25617 by victorio404
Is that possible for administrator area and how?
I need to add a column in the administration - items view. (administrator/index.php?option=com_flexicontent&view=items)

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

More
11 years 11 months ago #25618 by ggppdk
There is no configuration parameter for adding extra columns.

If your are developer, you can change (hack) the file:
administrator/components/com_flexicontent/views/items/tmpl/default.php.

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
11 years 11 months ago #25623 by victorio404
That's what i'm trying to do, but i need some help. How can i call the value of a custom field(field43 for example)?

<?php echo $row->field43; ?> - not working

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

More
11 years 11 months ago #25625 by ggppdk
To get the first value of the field 43 for the item of current row you can use this (check)
Code:
<?php $query = ' SELECT value' .' FROM #__flexicontent_fields_item_relations' .' WHERE item_id = '.(int)$row->id .' AND valueorder = 1' .' AND field_id = 43'; $db->setQuery($query); $fieldval = $db->loadResult(); echo $fieldval; ?>

Please note to reapply this change when you update

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.

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