Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hello,

I am very new to CouchCMS and I am using the default gallery.php to learn. I found the post announcing the Jcropthumb add on and decided to give it a try.

I discovered with verseion 2.0 that this addon is included but things are a little different than the instructions. For one the instructions said to add a line to the kfunctions.php file. But in the add on folder there is a kfunctions.examples.php file. Do I have to rename it to kfunctions.php?

I went ahead and did that and uncommented the line.

I replaced the default thumbnail editable region in the gallery.php

<cms:editable
name='gg_thumb'
type='jcropthumb'
assoc_field='image_1'
desc='will be created automatically'
show_preview='1'
/>

But when I open the admin and then open one of the photos I don't see any of the described functionality. All I see is the regular thumb edit functionality.
Image

Your help would be much appreciated.
Walter

Hi,

You were correct in renaming the 'kfunctions.examples.php' to 'kfunctions.php'.
The other steps are fine too.

I think the one last step that you are missing is visiting the modified gallery template on the front-end as super-admin using your browser.
This will persist the change and switch to the new thumbnail region.

Please try doing that.

Hope it helps.
2 posts Page 1 of 1