I am working further on the couchcms demo site and thought would be nice to show events in a modal popup when clicked on a event on the calendar date but got nothing showing in the modal popup, I'm not sure what I am missing as thought the
within the calendar coding that shows the events on the calendar I have the following
In the modal popup I have the following
The url is https://www.beechwoodsolutions.co.uk/si ... lendar.php
- Code: Select all
<cms:entries>
within the calendar coding that shows the events on the calendar I have the following
- Code: Select all
<cms:entries skip_custom_fields='1'>
<li>
<a href="<cms:show k_page_link />" data-toggle="modal" data-target="#myModal"><cms:show k_page_title /></a>
</li>
</cms:entries>
In the modal popup I have the following
- Code: Select all
<div class="modal" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<cms:entries skip_custom_fields='1'>
<a href="<cms:show k_page_link />"><cms:show k_page_title /></a>
</cms:entries>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
The url is https://www.beechwoodsolutions.co.uk/si ... lendar.php