about showind item id as a field

More
10 years 11 months ago #42837 by days of summer
hi
i was trying to show the item id as afield
in this topic
www.flexicontent.org/forum/index ... pic#p42787

and i thought that i succeeded
but when i added more items
i found that the value of the field don't appear for them
in the category view
except in one item which is the recently added

this is the code i used
Code:
SELECT item_id AS value, item_id AS text FROM #__flexicontent_items_ext WHERE item_id="{item->id}"

i don't know what is wrong with it
please help me ..

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

More
10 years 11 months ago #42848 by ggppdk
Hello

this type of select field will make the item id appear in item form

- but you will need to save each item once
- you will need to save new items twice (because the first time the item form has zero item id)


so show this, via a custom column in your template is a better way


-- 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
10 years 11 months ago #42853 by days of summer
thanks for replying Mr ggppdk
i save it many times
but the field disappear after adding a new item
and appears in the new item only !
i mean it appears once in the table !

and is there a tutorial of how to make that column in the template please ?

thanks

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

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