Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hello! Pleas I need some help. I need to add a href target but dont work.
My code is
Code: Select all
<a target="_blank" class="button btn-block large" href="<cms:show demo/>">DEMO</a>
and my couch code is
Code: Select all
<cms:editable 
       name='demo'
       label='demo'
       desc='URL here'
       type='text'>
   </cms:editable>

But when I click button redirect to http://www.mysite.com/www.mydemo.com.
How can i fix this?
Thanks!
Hi,

In all probability, the URL being entered in the 'demo' editable region would be this -
www.mydemo.com

Please make it as follows (i.e. prefix it with the 'http://')
http://www.mydemo.com

and that should rectify the problem.

Does this help?
Thanks!! newby error. Thanks!
3 posts Page 1 of 1