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.

urldecode without PHP?

March 01, 2011 8:35am

Subscribe [1]
  • #1 / Mar 01, 2011 8:35am

    o_cee

    16 posts

    I have a template showing articles based on a tag (using Taggable). However, I ran into an issue when using a tag with swedish characters, and I ended up doing this in my channel tag:

    search:tags="<?php echo urldecode("{segment_2}"); ?>\W"

    It is working as it should, but is there a more appropriate way to solve it?

    (Examples if you want to test: “väster”, “öster”)

  • #2 / Mar 01, 2011 4:56pm

    Ingmar

    29245 posts

    A plugin could do it, I suppose, although there’s absolutely nothing wrong with using PHP in this case. Also, welcome to the forums 😊

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

ExpressionEngine News!

#eecms, #events, #releases