Hi
Is it possible to create another tab on the "Category: [ New ]" page so I can add more information to the category, like a box where I can write wether condition etc. Im aware that I need to add extra rows to the database under the ID for the category (_phocagallery_categories in the DB)
What I would like is this:
https://imgur.com/F195M6f
https://imgur.com/PeCKNIo
What files do I change / add the codes I need?
Hope some one can advice?
Add extra tab on "add new category" page
- Jan
- Phoca Hero
- Posts: 48345
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add extra tab on "add new category" page
Hi, yes, all this is managed by Joomla, so you need to know how Joomla form fields work:
- the fields needs to be defined in XML
administrator/components/com_phocagallery/models/forms/phocagalleryc.xml
- then the view needs to be updated:
administrator/components/com_phocagallery/views/phocagallerycp/tmpl/default.php
and database structure for table category changed.
Jan
- the fields needs to be defined in XML
administrator/components/com_phocagallery/models/forms/phocagalleryc.xml
- then the view needs to be updated:
administrator/components/com_phocagallery/views/phocagallerycp/tmpl/default.php
and database structure for table category changed.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 17 Oct 2024, 15:20
Re: Add extra tab on "add new category" page
hmmm, checked the 2 files and im not sure how to do it. Do you know where I can get some more information or see some examples, so I can get some ideas on how to do it :)
- Jan
- Phoca Hero
- Posts: 48345
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add extra tab on "add new category" page
Hi, unfortunately, I didn't do such customization yet, so I don't have any exact advices for this.
Jan
Jan
If you find Phoca extensions useful, please support the project