categories in custom module

alt=
@perfectgamestudios
10 years ago
106 posts
Hello,
I was wondering if there a way to create admin backend way to build categories in custom module ie not categories that user creates but on the user side for there to be droplist of categories as I trying work out how to build custom module for my second life script as I have basic module created and now trying work out categories as on the theme I need to be able to display products on front page as well have pages for each categories etc
updated by @perfectgamestudios: 05/15/14 03:32:31AM
michael
@michael
10 years ago
7,714 posts
not sure i totally understand what your asking.

If your asking "Is there a way to pre-set the category choices for something" then yes. If its done via the Form Designer, you can use the | to set the choices.

Docs with some pics from the ujCategories documentation:

"ujCategories"
https://www.jamroom.net/ultrajam/documentation/modules/1284/ujcategories

Basically if you want to add a specific set of genres to the audio module, you would create a 'genre' select list in the Form Designer and put in

rock|Rock
r-n-b|R&B
top_40|Top 40
.....
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
No, ujCategories wont do that for you.

Look at jrBlog to see how its done.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
michael
@michael
10 years ago
7,714 posts
ah, wasnt saying use ujCategories, its just got some screenshots of where to put the

rock|Rock
r-n-b|R&B
top_40|Top 40
.....

for whatever Form Designer field gets created.
alt=
@perfectgamestudios
10 years ago
106 posts
but don't jrblog categories set on post based on text input as wondering if there was a way only admin can create the categories for the user to select maybe drop box
alt=
@perfectgamestudios
10 years ago
106 posts
also where can I download this module
michael
@michael
10 years ago
7,714 posts
perfectgamestudios:
but don't jrblog categories set on post based on text input as wondering if there was a way only admin can create the categories for the user to select maybe drop box

Thats what I just described above.
* use the Form Designer
* input the categories in the format above to stop allowing user input.

I think the default is "select and text" change it to just select.
updated by @michael: 04/12/14 02:07:15AM
alt=
@perfectgamestudios
10 years ago
106 posts
thanks I will try that
alt=
@perfectgamestudios
10 years ago
106 posts
another question can this do sub categories too like Apparel -> Skins, Apparel->ABC

Tags