ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem with ampersand in categories

December 20, 2012 9:54am

Subscribe [1]
  • #1 / Dec 20, 2012 9:54am

    viewcreative

    116 posts

    Here’s some really simple code:

    {exp:channel:entries category="{segment_3_category_id}”}
    {title{language_suffix}}
    {/exp:channel:entries}

    If the category in segment 3 has an ampersand in it’s name the channel entries tag isn’t listing anything. Just to note the actual url doesn’t have ampersand, just the name of the category.

    I’ve tried hardcoding the categoryid with the same result.

    Where the category name doesn’t have an ampersand the above code is working fine.

  • #2 / Jan 02, 2013 6:07am

    viewcreative

    116 posts

    Still having this problem. Any ideas on what might be going on?

  • #3 / Jan 08, 2013 8:39am

    viewcreative

    116 posts

    Can anyone give me some pointers to fix this? At the moment the only solution I have for the client is ‘Don’t use ampersands’ - but this system is linked to their internal database where they have over 1000 empoyees! They’re not going to like that solution, and someone is bound to get it wrong again in the future.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases