create file goupdate.php and put this code inside

then go to http://..../goupdate.php and that's all =)

works and with pretty_url too

maybe someone has better solution, i don't know

Code: Select all
<?php require_once( 'admin/cms.php' ); ?>

<cms:template hidden='1' />

<cms:templates show_hidden='0' order='desc'>

   <cms:if k_template_is_clonable = '1'>
      <cms:pages masterpage=k_template_name limit='1'>
         <cms:show k_template_name /> <br>
         <cms:show k_page_link />
         <iframe src="<cms:show k_page_link />" width="100%" height="400"></iframe>
         <br> <br> <hr> <br> <br>
      </cms:pages>
   <cms:else />
      <cms:pages masterpage=k_template_name>
         <cms:show k_template_name /> <br>
         <cms:show k_page_link />
         <iframe src="<cms:show k_site_link /><cms:show k_template_name />" width="100%" height="400"></iframe>
         <br> <br> <hr> <br> <br>
      </cms:pages>
   </cms:if>

</cms:templates>

<?php COUCH::invoke(); ?>