How to make a table in a content item?

More
13 years 4 months ago #16964 by bytekultur
Hello :-)

i want to make a cookbook so i should have the possibility to make a table for the ingredients
(like:
1 EL tomato
2 gr flour
)
in the backend it should look something like the image i add to this topic

anyone a idea how i could make something like that?

im quite good in templating and php...

thanks for any tipp or ideas :!:

all the best from raining switzerland
Maya
Attachments:

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

More
13 years 4 months ago #16965 by ggppdk
Hello,
If i understand you correctly:

instead of using a 'multiple' select field, you want to use a 'single' select field with that has a graphical AJAX UI, Add, Remove, Drag AND Drop.
Right?


-- 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
13 years 4 months ago #16968 by bytekultur
hmm - sorry hard to explain cause my english isn't that good...

i need a filedtype with three values...

the first is a textvalue (for how much) the second is the dropdown list and the third is again a textfield (for wich ingrediante)

is it now more logically explained? :oops:

is it possible to program something like that by myself?

thanks for your "patience"

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

More
13 years 4 months ago #16969 by bytekultur
i made three fileds

text - howMuch
list -
text - ingredients

and now try to make out of those three fields a new filed with them included... (like a group of those three fields)

but something i make completely wrong! or is this not possible?

thanks

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

More
13 years 4 months ago #17033 by ggppdk
Hello,

If you insert 3 fields into the template doesn't have the effect?

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
13 years 4 months ago #17040 by HillWoody
Hello,

...the idea is the nested output of tabular data per content-item, which would mean a new field type "Subtable" with an underlying sql-table with additional rows for each fc item.

A simple generic form could look like:
- sql-table with fields: fc-item, text1, text2, ...
- input of the textfields either as text, selector or combined (like position entry in joomla module editor), whereas the selector data could be collected from existing entries
- editing with the well-known ajax functions in backend.

A useful extension, I think - I would use it ;)

Regards

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

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