Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
17 posts Page 2 of 2




Please drop me a PM with FTP+Couch access creds and I'll take a look at the matter. Thanks.

The filter addon required a minor change.
I have done that (also updated the zip attached with this thread).

Please check your site and confirm.
yes! it works!
thank u!
Hi KK,

I have tried installing the Addon.
But sadly, all I get is an empty dropdown menu, and only a triangle facing down is showing. Nothing happens when I click on it.
Like this:


Any idea?
It creates a div with the class of "select filter-field", and its empty.

Here's my config file for the plugin:
(the page I'm working on is the "contacts.php" file)

Code: Select all

    if ( !defined('K_COUCH_DIR') ) die(); // cannot be loaded directly

    ///////////EDIT BELOW THIS////////////////////////////////////////

    // Names of the templates with names of the editable-regions used as filters (use '|' to separate multiple regions) e.g.
    $t['contacts.php'] = 'filter';
    // $t['news.php'] = 'state | genre';

And here's the code for the editable field in the "contacts.php" file:
Code: Select all
    <cms:editable type="radio" name="filter" opt_values="test | test2" label="testing" />

Thanks a lot
Hi larin555,

I tested out your exact code on my setup and it seems to be working just fine for me.

Could you please try using the current version of Couch available from GitHub?
Do let me know if it helps.
Hello KK,

Weirdly enough, I tried from a fresh install and it's working now, with the latest Couch 2.0 build from Git.

Thank you!
17 posts Page 2 of 2

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 2 guests