Only 'Root' Category Appearing #22

Closed
opened 2016-08-08 19:00:21 +00:00 by paolavness · 2 comments
paolavness commented 2016-08-08 19:00:21 +00:00 (Migrated from github.com)

Hi there,
This is a question - I have added a category field to one of my views called 'programs'. After adding categories, I then open the 'programs' view to add a new program, but nothing other than 'Root' appears in the category drop down.

Wondering what I am doing wrong?

I have set the 'extension' field to the both the single and plural of the component but its not appearing. I can see it in the database but when adding a new program it does not appear.

extension="com_###component###.program"

Thank-you!
Paola

Hi there, This is a question - I have added a category field to one of my views called 'programs'. After adding categories, I then open the 'programs' view to add a new program, but nothing other than 'Root' appears in the category drop down. Wondering what I am doing wrong? I have set the 'extension' field to the both the single and plural of the component but its not appearing. I can see it in the database but when adding a new program it does not appear. > extension="com_###component###.program" Thank-you! Paola

Hi Paola

Make sure you use the plural name (for the list of items also called views name)

<field 
    type="category" 
    name="catid" 
    label="Category" 
    extension="com_###component###.programs"
    default="" 
    description="select one of the following categories" 
    class="inputbox" 
/>
Hi Paola Make sure you use the plural name (for the list of items also called views name) ``` <field type="category" name="catid" label="Category" extension="com_###component###.programs" default="" description="select one of the following categories" class="inputbox" /> ```
paolavness commented 2016-08-09 18:19:57 +00:00 (Migrated from github.com)

Hmm. Haven't managed to get this going. Found a work around so not to worry.

Hmm. Haven't managed to get this going. Found a work around so not to worry.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#22
No description provided.