Hello there! In my xampp environment I simply can't get the upload-functionality to work. I get 'unknown error' when trying to upload an image. In addition, when I try to set define( 'K_UPLOAD_DIR', 'img' ), it does not work either. All my images are placed in img folder, but none is shown. Couch is located in http/couch and my img-folder is located in http/img, thus the above define-statement should be ok.
As far as I can see everything is set up correctly in the file:
And later in the file, I call:
Any idea how to solve these two problems? I couldn't see any other thread with these problems already solved...
all the best,
django
As far as I can see everything is set up correctly in the file:
- Code: Select all
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Startseite'>
<cms:repeatable name='feature_item' >
<cms:editable type='image' name='image' label='Bild' />
</cms:repeatable>
</cms:template>
And later in the file, I call:
- Code: Select all
<cms:show_repeatable 'feature_item' >
<div>
<div class="feature-block">
<a href="" target="_blank">
<img src="<cms:show image />" />
<div class="feature-name text-uppercase"></div>
</a>
</div>
<p class="feature-text">
</p>
</div>
</cms:show_repeatable>
Any idea how to solve these two problems? I couldn't see any other thread with these problems already solved...
all the best,
django