Problems, need help? Have a tip or advice? Post it here.
6 posts Page 1 of 1
I have used couch successfully a number of times previously but have run into difficulties this time:

The site is http://www.venturemor.co.uk/ and I am trying to add an editable region to the home page index.php

The backend is showing up OK before editable regions are put in place but when an editable region is put in place it disappears from the front end and doesn't appear in the backend either.

Screenshots attached with and without editable regions added...

So why is this happening and how do I fix it?

Thanks!

Attachments

Hi Ryan,

That is pretty strange as the code seems to be fine to me.

I suggest you please try modifying the editable region's content in the admin-panel.
See if the new content shows up on the front-end.

If that does not work, please move the editable region's definition into a cms:template block (somewhere at the start of the template) as follows (make sure to refresh the template as super-admin and add some content in admin-panel)-
Code: Select all
<cms:template>
   <cms:editable name='main_content' type='richtext' />
</cms:template>

And then use it in the body as follows
Code: Select all
<div class="latest-news">
   <cms:show main_content />
</div>

In case even that does not work, delete the editable region and recreate it.

Hope that helps.
Thanks for the reply KK,

I tried what you siad butin both cases I found that no editable region appears in the admin panel - screenshot attached...

Attachments

hi ryanglass - could you post the whole template up for us to look at - you never know a fresh pair of eyes may spot something ...
Did you remember to visit the page in your browser while signed in as super admin? It's a simple thing, but would cause the behavior you describe.
Sorted now - I visited the page in the same browser when I was logged in as Super Admin and refreshed the page and it had no effect, I visited agin using the 'view site' link in the admin-panel and again no luck but the view button worked. Sorry for all the hassle and oops to a degree!
6 posts Page 1 of 1