accessing the dialog pop up from a single page

Permalink
I have a single page created which contains a form that i need the user to be able to select a page via the sitemap pop up like on say the search block where you can select a page to search under. I tried to use the code out of the search block but it's not firing the dialog-launch bit, i checked and the page is loading the ccm.dialog.js file so I'm not sure what I'm missing. any ideas?

jelthure
 
ScottC replied on at Permalink Reply
ScottC
<a id="ccm-sitemap-select-page" class="dialog-launch" dialog-width="600" dialog-height="450" dialog-modal="false" href="<?php echo REL_DIR_FILES_TOOLS_REQUIRED?>/sitemap_overlay.php?sitemap_mode=select_page"><?php echo t('Select Page')?></a>


that's what i found being used in the search block, but then again it is a guess :)
jelthure replied on at Permalink Reply
jelthure
that's the code i'm using, but when clicked it's not displaying the popup, it just goes to the sitemap_overlay.php page. so the dialog javascript isn't firing.
mrAnt replied on at Permalink Reply
mrAnt
I have been trying to do the same thing today and was about to post when I saw your thread.
jelthure replied on at Permalink Reply
jelthure
I just changed my code to go to another page view instead of using a modal. I haven't had a chance to try it out with the most recent version though.