Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Linking to page from ComplexTableField - possible?


Go to End
Reply


12 Posts   5788 Views

Avatar
a-tech

Community Member, 39 Posts

2 April 2008 at 2:21pm

Thanks again ingo - after posting I make a hack in the complextablefield.js file which helped, but I will try blocking it and see if that acheives the same result without affecting too much else.

Avatar
Ney

Community Member, 8 Posts

11 June 2008 at 1:10am

Edited: 11/06/2008 1:10am

Hello, I would like to know if u solve this problem with popups and how? I have the same problem when I want to load window different to a popup I would thank u if u can help

Avatar
ScottiouS

Community Member, 54 Posts

24 June 2008 at 12:25am

I dealt with this problem like so:

The javascript that's hogging the <a> tags in the table ignores an element if it's an input tag.

So I've used the following to bypass the popup:

   $orderReport->setFieldFormatting(array(
            'Invoice' => '<input type=\"button\" name=\"OrderReport_Popup/index/$ID/\" onclick=\"location.href=this.name;\" value=\"Invoice\" />'));

Again messy code to deal with the popups but, I hope that helps.

Avatar
ScottiouS

Community Member, 54 Posts

10 July 2008 at 12:25pm

Also further on this I don't know why I didn't just put:

$orderReport->setFieldFormatting(array(
'Invoice' => '<input type=\"button\" onclick=\"location.href=\'OrderReport_Popup/index/$ID/\';\" value=\"Invoice\" />'));

What was I thinking?

Go to Top