Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • krumz JATC
    #1091743

    Hello,

    I am following the documentation for adding different colors to the categories. This is the first time I have attempted to create a Field and I’m not sure I’ve done it correctly? I’ve attached images of what I did when creating the Field, an image using it in the Category and what it does on the frontend.

    Unfortunately, the quick start shows nothing for this. If you can correct me, I’d appreciate it as I cannot get it to work as the demo shows.

    Thank you.

    • This topic was modified 6 months ago by  krumz. Reason: added attachment

    Saguaros Moderator
    #1091856

    Hi,

    By default, when you access the custom fields in backend of your site, it will list fields for ‘Articles’, you should filter by ‘Category’: http://prntscr.com/ienmtp to see the default fields of template.

    Cheers!

    krumz JATC
    #1091898

    Yes, that is what I did. Not working as shown in the image all I see on front end is:
    Color Field: #9966ff

    Thank you.

    krumz JATC
    #1092258

    Hello Saguaros,

    Would you like me to PM you site info so you can take a look. I’m totally confused.

    Thank you.

    romolo Developer
    #1092703

    Hi,

    We would also like some guidance on this too.

    Please advise.

    Thanks

    krumz JATC
    #1092774

    Anything about this yet? Thank you.

    Saguaros Moderator
    #1092796

    Hi,

    Kindly share the credentials of your site so I can take a look.

    Regards

    krumz JATC
    #1092806
    This reply has been marked as private.
    Saguaros Moderator
    #1093206

    Hi,

    You should create a custom field with type of List, check the attached screenshot for more info of this custom field settings and the built-in colors.

    I will report to the documentation team for further updating on the docs of this template.

    Regards


    1. color-field
    krumz JATC
    #1093324

    Sorry but I don’t quite understand. I have copied what you have shown in the attachment and I am still not getting the category color on the front end? Are you supposed to put "cat-purple" in the Value Field or do you put the color value 9966FF in the Value Field?

    I’m not even sure what these colors will do? Or where they are seen? Are they a background color?

    Saguaros Moderator
    #1093396

    Hi,

    As you can see in the screenshot I sent, this color field will be a dropdown list (list all colors which is pre-defined), then in category settings > Field tab, you just need to select color name from the list, no need to put the value like you said: http://i.prntscr.com/eH8wDeLWTtyQ4G_t3DoUow.png

    It will show the associated color for categories like this: http://prntscr.com/iil74t

    romolo Developer
    #1093439

    Hi @saguaros,

    Thank you for your response.

    We don’t have the "fields" tab when we’re viewing a category, please see – http://prntscr.com/iin919

    We’ve got article options turned on, as you can see here – http://prntscr.com/iin8ww

    Please advise how to add the fields tab.

    Thanks

    Saguaros Moderator
    #1093445

    @romolo: kindly check my above screenshot for the ‘Color’ field: https://www.joomlart.com/forums/topic/adding-color-field-to-category-page/#post-1093206

    You will see the ‘Category’ option which is set to ALL, make sure that you assign that category to the associated field, it will show then.

    krumz JATC
    #1093565

    Ahhh! Got it! Thank you so much for all the help.

    krumz JATC
    #1093567

    Hello Saguaros, Dang, spoke too soon.

    So it works as you stated in this link: http://prntscr.com/iil74t

    But as you can see in the attached image, when I go to the category list page, I see Colors: Pink Color
    https://prnt.sc/iivzzj

    How do I remove that. Thanks again for all the help.

Viewing 15 posts - 1 through 15 (of 18 total)

This topic contains 17 replies, has 3 voices, and was last updated by  krumz 5 months, 2 weeks ago.

We moved to new unified forum. Please post all new support queries in our New Forum