Creating popup content

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
iano
New Member
New Member
Posts: 4
Joined: Wed May 17, 2006 7:36 pm

Creating popup content

Post by iano »

I have a need to define content that can be displayed in its own window via links from several other pages.  For example, a page that references some data or a chart, and the user can popup that chart while continuing to navigate the site in the main window.  Is there a way to define this within CMS?
iano
New Member
New Member
Posts: 4
Joined: Wed May 17, 2006 7:36 pm

Re: Creating popup content

Post by iano »

Never mind, I figured it out.  First I created a template for the reference pages that simply displays the content:




{title}
{metadata}
{stylesheet}


 
{content}




My reference page then uses this template.

Next, in the page where I want the popup link, I define an external link of type URL, and specify http://www.mysite.com/index.php?page=page_alias
where page_alias is the alias of the reference page.

On the Target tab, I can use either New Window or popup options.

Pretty simple!
cyberman

Re: Creating popup content

Post by cyberman »

Thanks for your solution  :) ...
Post Reply

Return to “CMSMS Core”