https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/

problem with print

More
10 years 5 months ago #2570

Thanks Tomaz,

I am still not sure how I solve this or that I understand why the print works on the first and not the second, on the screen they are both correct, so if no conditions are passed to the print why does the first print OK and not the second.
If you are saying I need a link on the second screen I will have nowhere for it to go.

Regards

Clive

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #2573

Do you pass any conditions to the first grid?

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #2574

I do not pass any conditions to the grid the only conditions are in the grid.

If I take out the `user_id` =@user_id from the additioal conditions of the second grid I see the same on the grid as the print, so I think I might need to add more to the first link custom id I need to add uer_id to the search condition, I am not sure how to add that though my custum link is
index.php?option=com_content&view=article&id=75&aso=exact&s_f=sgroup_id&data_search=@ID
on the sgroup_id link column

Last edit: 10 years 5 months ago by cwjs.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #2575

Do you have this somewhere on line so I can check?

As far as I know the conditions that you pass trough custom link are not taken into account on the print view.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #2576

Hi Tomaz,

It is on myarcheryscores.com you can login as robin with a password of marion go to "display records"
If you click on print there you will see just the records on the grid but if you ckick on a shoot no you will go to the next screen, click print there and you will see the difference.


Thanks

Clive

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #2577

OK,

if you click on a shoot no you get to the second grid with url let say

http://www.myarcheryscores.com/index.php/display-records?id=75&aso=exact&s_f=sgroup_id&data_search=5

when you click on the print icon a new window appears with url:
http://www.myarcheryscores.com/index.php/display-records/2-uncategorised/75-shoot-records?tmpl=component&print=1&page=

If you manage to hack this print icon to open a window with an url of:
http://www.myarcheryscores.com/index.php/display-records/2-uncategorised/75-shoot-records?tmpl=component&print=1&page=&aso=exact&s_f=sgroup_id&data_search=5

you will solve the issue. I hope that was clear enough for you to understand the issue.

www.myarcheryscores.com/index.php/displa...oup_id&data_search=5

Last edit: 10 years 5 months ago by tomaz.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.129 seconds

Contact Us

Contact us on Discord

Contact us on Facebook