Hi Jan
I wondering if your Pro version allow us to import items using csv file...and if not do you plan to add this feature?
In fact I use Excel for make my "paper menu" and also for update my Point of Sale Tablet/Cloud system. If I could use the same csv file for update also Phoca Menu that will just beautiful instead to have to re-type again all...
TY
Import item menu in csv
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Import item menu in csv
Hi, users asks for more simplified feature than excel or csv - for raw text (with markdown used for header and date, items can be separated by semicolon (;) or tab). I didn't test it but such format can be maybe used in excel/calc but as I wrote, users asked for quickly editing in text editor.
See:
https://www.phoca.cz/documents/52-phoca ... 8-raw-edit
Jan
See:
https://www.phoca.cz/documents/52-phoca ... 8-raw-edit
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 54
- Joined: 10 Nov 2008, 18:19
Re: Import item menu in csv
Ok I got now a Pro version...
I will see about Raw format...It seem that can be useful...However I made some test and I seen even if I disabled HTML editor in Restaurant Component, the editor still present and save data with html tag making frontend display too large. When I make Multiple Edit, I see all tag and if I remove manually, they come back on next edit. The Raw editing do not show any html tag... How to remove permanently all tag without disable HTML editor for the whole site ?
I will see about Raw format...It seem that can be useful...However I made some test and I seen even if I disabled HTML editor in Restaurant Component, the editor still present and save data with html tag making frontend display too large. When I make Multiple Edit, I see all tag and if I remove manually, they come back on next edit. The Raw editing do not show any html tag... How to remove permanently all tag without disable HTML editor for the whole site ?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Import item menu in csv
Hi, raw edit does not use any editor, it is just about raw text. Editors in PRM are used e.g. for header, footer or description where you can format that output. But if you use raw edit, there is a premise, you really want to add the raw text as quickly as possible.
So which tags you exactly mean?
Jan
So which tags you exactly mean?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 54
- Joined: 10 Nov 2008, 18:19
Re: Import item menu in csv
Ok I got the concept about raw edit but I mean about html which is inserted inside items description. As I said I disabled HTML editor in Restaurant Component but the editor still present even if I click on Toogle Editor button. So then a <p> tag is inserted making my items list more larger than normal..... How to remove Editor or html in items description ?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Import item menu in csv
Hmmm, I think then you need to change the field type directly in code in XML:
E.g. item:
administrator\components\com_phocamenu\models\forms\phocamenuitem.xml
FROM:
TO:
Jan
E.g. item:
administrator\components\com_phocamenu\models\forms\phocamenuitem.xml
FROM:
Code: Select all
<field name="description" type="editor" buttons="true" hide="pagebreak,readmore" class="inputbox" label="COM_PHOCAMENU_FIELD_ITEM_DESCRIPTION_LABEL" description="COM_PHOCAMENU_FIELD_ITEM_DESCRIPTION_DESC" filter="safehtml" />
Code: Select all
<field name="textarea" class="inputbox" label="COM_PHOCAMENU_FIELD_ITEM_DESCRIPTION_LABEL" description="COM_PHOCAMENU_FIELD_ITEM_DESCRIPTION_DESC" />
If you find Phoca extensions useful, please support the project