Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Please check this link http://excelinteriors.org/home.php

I have put a popup modal here... Its working perfectly...

The issue is that it does not show what i have updated in it as content.

I have a news page on the site, by the name "whats up"... Now i have used the following code to display only one news post from that page (http://excelinteriors.org/events.php)...

The code is (i am using it as a snippet rom file "modal.html"):
Code: Select all
<cms:pages masterpage='events.php' limit='1'>  
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
        </button>
         <h4 class="modal-title" id="excelModalLabel"><cms:show k_page_title /></h4>

    </div>
    <div class="modal-body">
        <p><cms:excerptHTML count='10' ignore='img'><cms:show wu_content /></cms:excerptHTML></p>
    </div>
    <div class="modal-footer">
       <a href="<cms:show k_page_link />"><button type="button" class="btn btn-danger" data-dismiss="modal">Read More</button></a> &nbsp;
        <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
    </div>
</cms:pages>


The data does not show up in the modal!

Any hints please!

Regards,
GenXCoders
Image
where innovation meets technology
It's not Couch :) This is front-end issue. Source code shows 2 different modal windows. The one from snippet is in the bottom of the page. The default one is on top. JS calls default one.
You must change
Code: Select all
 $('#memberModal').modal('show');

to
Code: Select all
 $('#excelModal').modal('show');
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
2 posts Page 1 of 1