Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
drwierdo CreditAttribution: drwierdo commentedHey,
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..
Comment #2
netourish CreditAttribution: netourish commented@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.
Comment #3
Nutty CreditAttribution: Nutty commentedThis 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. ;-)
Comment #4
lsolesen CreditAttribution: lsolesen commented