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

I made a mistake pasting a tag, "<cms:editable type='group'>" in "config_list_view" tag unintentionally.
(this is a clonable template.)

1. Then, of course, "group" section appeared in form view of backend.
2. So I changed code, but it did not disappeared.
3. Then I deleted a field ("<cms:editable type='group'>") from DB, it disappeared.
4. Then now, I can add new tag but not delete added tags.

I deleted and re-registered the template, so it is ok now.

I want to know what happend and what shoud I do to not to "delete and re-registor" the template.
Hello KK,

This is a something strange.

1. I made a clonable template, let's say "template_x".
2. In template_x, I put
Code: Select all
  <cms:config_list_view>
    <cms:html>
      <cms:show_success heading='title' >
        <ul>
          <li>Some Notations</li>
        </ul>
      </cms:show_success>
    </cms:html>
  </cms:config_list_view>

  <cms:config_form_view>
    <cms:html>
      <cms:show_info heading='Title' >
        <ul>
          <li>Some Notations</li>
        </ul>
      </cms:show_info>
    </cms:html>
  </cms:config_form_view>


3. I can add new editable-tag but never delete any editable-tag.
Even I can't <cms:config_list_view> , <cms:config_form_view>.

I have tried several times for making and deleting this "template_x".
But nothing change, same thing happends.

What should I do to solve this problem?
Hi,

There is one point that can be easily missed while trying to delete editable regions -
one needs to visit the modified template in its 'page_view'.

An easy way of doing this is to click the 'magnifying glass' icon of any cloned page (of the template in question,, of course) from the admin listing.

Please try doing this and let me know.
Hello KK,

I did three way, of course, with login as admin.

1. In list view, click top-right glass button.
2. In list view, click glass icon of list row.
3. In page view, click bottom glass button.

There is nothing changed, :?
Well, that is strange.
Were you trying to delete editable regions or the <cms:config_list_view> / <cms:config_form_view> tags?
Hello KK,

Yes, I am still trying to delete editable regions and the <cms:config_list_view> / <cms:config_form_view> tags.
Are there anything wrong in my code?

Code: Select all
<cms:template
              title='NEWS'
              order='50'
              clonable='1'
              dynamic_folders='1'
              >

  <cms:globals>
    <cms:editable name='group_title'
                  label='Title Section'
                  order='10' type='group' collapsed='1' >
      <cms:editable name='main_title'
                    label='title'
                    type='text'
                    order='10' >NEWS</cms:editable>
      <cms:editable name='main_bg_img'
                    label='BG Image'
                    type='image'
                    order='20' >img/background/xxx.jpg</cms:editable>
    </cms:editable>
  </cms:globals>

  <cms:editable name='desc'
                label='Description'
                type='text'
                order='10' >Description</cms:editable>

  <cms:editable name='img'
                label='Image'
                type='image'
                order='20' >img/background/xxx.jpg</cms:editable>

  <cms:editable name='main_text'
                label='Main text'
                type='richtext'
                order='30' >Main text</cms:editable>

    <cms:editable name='tag'
                label='Tag'
                  type='relation'
                  masterpage='tag.php'
                  order='40'/>

  <cms:config_list_view>
    <cms:html>
      <cms:show_success heading='Title' >
        <ul>
          <li>Somethig</li>
        </ul>
      </cms:show_success>
    </cms:html>
  </cms:config_list_view>

  <cms:config_form_view>
    <cms:html>
      <cms:show_info heading='Title' >
        <ul>
          <li>Somethig</li>
        </ul>
      </cms:show_info>
    </cms:html>
  </cms:config_form_view>

</cms:template>
The code looks just fine to me.
Please PM me your FTP+Couch creds and I'll take a look at the issue.

Thanks
Hello KK,

Thank you for your help.

I will send more info,
Hello KK,

The problem is

1. I made a clonable template, let's say "template_x".
2. In template_x, I put <cms:config_list_view> and <cms:config_form_view>.
(They are displayed.)
3. I can add new editable-tags.(They are displayed.) but never can delete any editable-tag.
4. Even I can't delete <cms:config_list_view> , <cms:config_form_view>.
5. editable-tags, <cms:config_list_view> , <cms:config_form_view> stay still like ghost.
(even they are not defined in this template.)

I found a @trendoman's post in forum.

https://www.couchcms.com/forum/viewtopic.php?f=4&t=12048

Are there anything to do with this problem?
13 posts Page 1 of 2
cron