Creating popup content
Creating popup content
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?
Re: Creating popup content
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!
{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!

