I am using the 7.x-1.0-beta4 colorbox module.

In my requirement there is a link place in the colorbox page, now on clicking the link I want to open the href's url to be opened up after closing this colorbox and reloading the page.

But right now after clicking the url the page is opening up in the same colorbox, which should not be for my case.

Please, let me know how can I acheive this..

Thank you,
K Pradeep kumar.

Comments

drwierdo’s picture

Hey,
Can you explain how did you manage to place the links in the colorbox?? I was looking for this, but have not been able to do this..

netourish’s picture

@drwierdo: I opened a specific content type in the colorbox. So, edited the content type by creating a node.tpl.php in the current theme folder and placed the link while editing it.

The node.tpl.php should be renamed as node--CONTENT_TYPE.tpl.php, replace "CONTENT_TYPE", with your content type which is to be edited.

Nutty’s picture

This request is half a year old, but I was looking for a solution for this one, myself, and found it.

I felt pretty dumb for not thinking of using the target attribute.

<a href="[page link]" target="_parent">[page name]</a>

Duh. ;-)

lsolesen’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.