Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Linking from Calendar pop-up
Old 07-17-2006, 09:08 AM   #1
twdmcrider
Calendar User
 
twdmcrider is offline
Join Date: May 2006
Posts: 26
Default Linking from Calendar pop-up

I would like to be able to put links within the pop up window but when I do, it opens the page inside the popup window. Is there any way to open the window inside of the main page where the calendar is located?

Matt
 

Old 07-17-2006, 09:24 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You can set the target of your links.

Example:

<a href='link.htm' target="_blank">Link</a>

and

<a href='link.htm' target="_parent">Link</a>
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 07-17-2006, 09:50 AM   #3
twdmcrider
Calendar User
 
twdmcrider is offline
Join Date: May 2006
Posts: 26
Default

Thanks Brian, I've tried these and they continue to open the links in the pop-up window. Below is the site that I'm attempting to do this. July 22nd is the date with the link, if you want to check it out. I have tried to link with a "_parent" and a "_blank" target.

www.solidrockyouthgroup.com

Thanks for your help
Matt
 

Old 07-17-2006, 10:01 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Does the same thing happen when using _blank on the calendar's demo.php file?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 07-17-2006, 10:09 AM   #5
twdmcrider
Calendar User
 
twdmcrider is offline
Join Date: May 2006
Posts: 26
Default

Yep, _parent opens the new page up in the same window (in the pop-up) and _blank opens a new tab (using firefox) in the pop-up window. It acts the in demo as it does on the site.

Matt
 

Old 07-17-2006, 11:42 AM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

That is because of the way you've configured Firefox. You've set it so that new windows should open a new tab inside of the current window. If you try it with IE, you'll see how it should behave.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-17-2006, 11:50 AM   #7
twdmcrider
Calendar User
 
twdmcrider is offline
Join Date: May 2006
Posts: 26
Default

I tried it in IE as well and it opens a whole new window, which is a step in the right direction. But is there any way to open a link into the main site window below the pop-up.
 

Old 07-17-2006, 11:53 AM   #8
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

The behaviour you're describing is the default for _blank. The one you want should be _parent.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-17-2006, 01:16 PM   #9
twdmcrider
Calendar User
 
twdmcrider is offline
Join Date: May 2006
Posts: 26
Default

Right, _parent does open the link into the same window, but it's the pop-up window. I want veiewers to be able to click a link in the pop-up and have it appear on the regular page not in the pop-up.

I have also found another problem. I am trying to link to a CMS page and when I put the full link into ESCAL it cuts part of the url off, any suggestions?

attempted link
http://www.solidrockyouthgroup.com/m...showpage&pid=1
ESCAL cuts to:
www.solidrockyouthgroup.com/modules.php?name
 

Old 07-17-2006, 01:35 PM   #10
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You'll need to turn off XSS protection to have "=" in your URL's.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-05-2008, 08:26 AM   #11
redcrew
Calendar User
 
redcrew is offline
Join Date: Oct 2007
Posts: 33
Default

Was this issue ever resolved? I'm having the same issue, using _parent opens the link in the pop-up window.

I want visitors to click the link in the pop-up window, and have the linked page appear on the regular page, not in the pop-up window.
 

Old 02-05-2008, 12:30 PM   #12
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

That is not possible. _parent is meant to be used with iFrame... not popups. All you can do is use _blank which will open a new window.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 02-05-2008, 12:54 PM   #13
redcrew
Calendar User
 
redcrew is offline
Join Date: Oct 2007
Posts: 33
Default

As twdmcrider mentions in his messages above, using _blank will open a new window within the popup. What I'm looking for is for the link to open in the page, not the popup window.

I'm a bit confused about the comment that "
_parent is to be used with an iframe."

Are you speaking only about EasyPHPCalendar? According to w3schools.com:
_parent - the target URL will open in the parent frameset

From what I've read, there is no requirement for markup code on any webpage to be in an iframe in order to use _parent.

Last edited by redcrew; 02-05-2008 at 01:08 PM. Reason: additional information
 

Old 02-05-2008, 04:45 PM   #14
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

I'll just use your quote... "_parent - the target URL will open in the parent frameset"

Frameset being the keyword here. If you're not using iFrames, then you only have a _parent frameset. Any links that open new windows will make those popup windows "_parent". Now with tabbed browsers, it makes it hard to manage links that will behave the same everywhere. Now, the browser (or rather the settings the user chose) dictate how to handle links that open new windows.

My best suggestion, is to only use mouse-overs, so that there's no new window that is opened, hence the link opens in the same window.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get calendar to display full calendar view topgun21 General Support 11 09-15-2006 09:10 AM
calendar breaks content display in PHP-Nuke 7.8 mishspring PHP-Nuke Integration 7 07-17-2006 12:21 PM
Event Manager and Text on Calendar Mode together? palatinate11 General 3 03-22-2006 03:53 PM
Calendar Not Showing Up pr0grammerMX General Support 4 03-04-2006 05:14 PM
Linking from Calendar to Listing Module Page? DBurnsNWMSU General Support 1 01-16-2005 05:38 PM



All times are GMT -4. The time now is 07:38 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |