Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I have a business directory which is written in the following way:
Code: Select all
<cms:template title='Business directory' clonable="1">

   <cms:editable type='image' show_preview='1' preview_width='150' name='directory_header_image' label='Header Image' order='1' />
   <cms:editable type='richtext' name='directory_category_desc' label='Category Description' order='2' />

   <cms:mosaic name='business_list' label='Business list' order='3'>
      <cms:tile name='add_business' label='Add new business'>
         <cms:repeatable name='business_slider' label='Image slider' order='3'>
            <cms:editable type='image' show_preview='1' preview_width='150' name='business_image' label='Business image' order='3' />
          </cms:repeatable>
         <cms:editable type='text' name='business_name' label='Name' order='4' />
         <cms:editable type='text' name='business_desc' label='Description' order='5' />
         <cms:editable type='text' name='business_location_link' label='Google Maps location link' order='6' />
          <cms:editable type='text' name='business_phone' label='Phone' order='7' />
          <cms:editable type='text' name='business_website' label='Website' order='8' />
          <cms:editable type='text' name='business_email' label='Email' order='9' />
          <cms:editable type='text' name='business_facebook_link' label='Facebook' order='10' />
          <cms:editable type='text' name='business_instagram_link' label='Instagram' order='11' />
         
         <cms:repeatable name='trade_hours' label='Opening hours' order='12'>
            <cms:editable type='checkbox' name='season' label='Select season'
               opt_values='Summer | Winter | All times'
            />

            <cms:editable type='dropdown' name='week_day' label='Day'
               opt_values='Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday | Public Holidays'
            />

            <cms:editable
               type='datetime'
               name='opening_time'
               label='Opening Time'
               allow_time='1'
               am_pm='1'
               default_time='2018-01-01 00:00:01'
            />   

            <cms:editable
               type='datetime'
               name='closing_time'
               label='Closing Time'
               allow_time='1'
               am_pm='1'
               default_time='2018-01-01 00:00:01'
            /> 
         </cms:repeatable>
            
         <cms:config_form_view>
            <cms:style>
               #f_trade_hours .dt_month,
               #f_trade_hours .dt_month  + .dt_sep,
               #f_trade_hours .dt_day,
               #f_trade_hours .dt_day  + .dt_sep,
               #f_trade_hours .dt_year,
               #f_trade_hours .dt_year  + .dt_sep
               { display:none; }
            </cms:style>
         </cms:config_form_view>

      </cms:tile>
   </cms:mosaic>

</cms:template>


On the page the template is called like so:
Code: Select all
<cms:show k_page_title/>
<cms:show_mosaic "business_list">

    <cms:show_repeatable 'business_slider'>
        <img src="<cms:show business_image/>" alt=""/>
    </cms:show_repeatable>
   
    <cms:show business_name/>
    <cms:show business_desc/>

    <cms:show business_address/>
    <cms:if "<cms:not_empty business_phone />"><cms:show business_phone/></cms:if>
    <cms:if "<cms:not_empty business_website />"><cms:show business_website/></cms:if>
    <cms:if "<cms:not_empty business_email />"><cms:show business_email/></cms:if>

    <cms:if (business_facebook_link) && (business_instagram_link)>
        <cms:if "<cms:not_empty business_facebook_link />">
            <a href="<cms:show business_facebook_link />"></a>
        </cms:if>
        <cms:if "<cms:not_empty business_instagram_link />">
            <a href="<cms:show business_instagram_link />" alt="Instagram" title="Instagram" target="_blank"><span class="icon-instagram medium"></span></a>
        </cms:if>
    </cms:if>

    <cms:if business_list>
        <cms:show_repeatable 'trade_hours'>
            <cms:show week_day/>
            <cms:show opening_time />-<cms:show opening_time />
        </cms:show_repeatable>
    </cms:if>

</cms:show_mosaic>


For some reason in the admin panel, I see the hidden template which has a name of aa96794174b9f712e8d70b1c249dc7b0_add_business (see attached screenshot). It obviously refers to the mosaic tile but I cannot figure out how to remove this hidden template. Any help is highly appreciated.

Attachments

Try redownloading the most recent version of Couch from Github. Very possibly, It has been fixed long ago.
active topics, google
Free support is never free.. Donate!
Thanks for the suggestion Trendoman!

I have been using CouchCMS 2.1 and after the upgrade to CouchCMS 2.2RC1 the hidden template is now gone.
3 posts Page 1 of 1

Who is online

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

Users browsing this forum: No registered users and 7 guests