Forums / All Other Contributions/Addons / Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Started by reesy on 10 May 2006, 3:25 PM · Views: 53,487

Results 81 to 100 of 192
6 Jun 2006, 3:05 PM
#81
jayson_gurney avatar

jayson_gurney

Zen Follower

Join Date:
May 2006
Location:
UK
Posts:
101
Plugin Contributions:
0

Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Many thanks for the reply - looks like the files that I have are corrupt in some way as after making that change i get the following error now

Parse error: parse error, unexpected '}' in /srv/www/htdocs/admin/orders.php on line 835

Any ideas? Does anyone have a set of files that work without any editing for v1.3.0.1 that they could forward me?

6 Jun 2006, 4:41 PM
#82
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

jayson.gurney:

Many thanks for the reply - looks like the files that I have are corrupt in some way as after making that change i get the following error now

Parse error: parse error, unexpected '}' in /srv/www/htdocs/admin/orders.php on line 835

Any ideas? Does anyone have a set of files that work without any editing for v1.3.0.1 that they could forward me?
The latest version Kelvyn refers to is Woodys fixes in this thread I believe.
The latest version by me isnt uploaded yet.

Looking at your file I havent really got a clue which version of zen cart its from without checking but....

<?php // ====> BOF: INFO AT-A-GLANCE <==== ?>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<?php // ====> EOF: INFO AT-A-GLANCE <==== ?>

Is not after the < body> tag its a few lines high but that shouldnt affect anything.

Line 693 reads....

// ====> BOF: INFO AT-A-GLANCE <====

It should read as Kelvyns rightly points out

<?php // ====> EOF: INFO AT-A-GLANCE <==== ?>

Line 695 (2 lines later)
Should read...

<?php 
echo $orders->fields['orders_id'];

ie so lines 693 to around 696 should be.

<?php // ====> BOF: INFO AT-A-GLANCE <==== ?>
<td class="dataTableContent">
<?php
echo $orders->fields['orders_id'];

HTH

6 Jun 2006, 5:37 PM
#83
jayson_gurney avatar

jayson_gurney

Zen Follower

Join Date:
May 2006
Location:
UK
Posts:
101
Plugin Contributions:
0

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

You guys and girls are really helping me out here and I am very grateful for your help.

I have corrected those typo error as per the last couple of replies. Things are starting to look better BUT i still have another error. :cry:

Now when the order option is used i get the following code:

');" onmouseout="return nd();">

added to the end of the order. After the last couple of posts I am sure that again this is a typo somewhere but I just cant seem to find it. I have attached the new version of my order.php file in zip format in the hope that you great people will help me once again.

My only hope is that one day I will also be able to help others in return :)

7 Jun 2006, 3:50 AM
#84
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Try moving

<?php // ====> BOF: INFO AT-A-GLANCE <==== ?>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<?php // ====> EOF: INFO AT-A-GLANCE <==== ?>

Below the body tag on line 242 and remove </b></a> from line 718.

7 Jun 2006, 8:47 AM
#85
jayson_gurney avatar

jayson_gurney

Zen Follower

Join Date:
May 2006
Location:
UK
Posts:
101
Plugin Contributions:
0

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Hi folks I am still having trouble with this module - when i click on the order option in the admin panel the orders are displayed with a few extra bits of code that appears to be coming from the following line of code

            	<script language="javascript"><!--
          			document.write('<?php echo '<a href="javascript:void(0);" onmouseover="return overlib(\\\'' . $cleanComment . '\\\');" onmouseout="return nd();"><img src="images/icons/comment2.gif" align="top" border=0></a> '; ?>');
          		--></script>

Namely its displaying the following section of the above line

');" onmouseout="return nd();">

To me it looks like something is wrong with that line of code but for the life of me i dont know what - can anyone help?

7 Jun 2006, 9:12 AM
#86
jayson_gurney avatar

jayson_gurney

Zen Follower

Join Date:
May 2006
Location:
UK
Posts:
101
Plugin Contributions:
0

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Hi I have just copied them across without editing and still the same errors as my last post - can some one who has this working please send me their orders.php to try?

I am really lost with this module now :cry:

7 Jun 2006, 11:54 AM
#87
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Kelvyn,
Theres code there to have it in both, in the orders list on the index page and on the orders page.
V1.5 (theres no extra functionality just mistake correction) is now in the downloads to try and this file comes direct from my server where its working.
HTH

7 Jun 2006, 12:04 PM
#88
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

jayson.gurney:

Hi folks I am still having trouble with this module - when i click on the order option in the admin panel the orders are displayed with a few extra bits of code that appears to be coming from the following line of code

            	<script language="javascript"><!--
          			document.write('<?php echo '<a href="javascript:void(0);" onmouseover="return overlib(\\\'' . $cleanComment . '\\\');" onmouseout="return nd();"><img src="images/icons/comment2.gif" align="top" border=0></a> '; ?>');
          		--></script>

Namely its displaying the following section of the above line

');" onmouseout="return nd();">

To me it looks like something is wrong with that line of code but for the life of me i dont know what - can anyone help?
Ok I just downloaded your fine, ftpd it to my test site and it works fine.
I cant see the problem you mention, where do you see this code exactly?
I tried it with firefox and ie and couldnt see.:blink:

Did you upload the javascript file?

7 Jun 2006, 1:56 PM
#89
jayson_gurney avatar

jayson_gurney

Zen Follower

Join Date:
May 2006
Location:
UK
Posts:
101
Plugin Contributions:
0

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

I have found out whats wrong :smartass:

It was to do with my product titles - a few of them were like this:

18-19" Casual Outfit

So the " was being read by the order.php incorrectly

7 Jun 2006, 4:15 PM
#90
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Thanks for letting me know.
Woody and someone else reported a bug with ` in the title and I looked into it briefly (but admittedly not an awful lot as I havent had the time) but couldnt find out how to fix it.:sleepy:

7 Jun 2006, 7:49 PM
#91
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Regards to the infamous apostrophe. DrByte reported that how current version of Zen Cart responds to apostrophes may be related to an update to a string sanitizing security function. The issue is impacting other mods and the Zen Cart search mechanism. Possibly this has been repaired in the next Zen Cart release. But it is supposedly possible to override the function now.

See this thread for possible ideas:
http://www.zen-cart.com/forum/showthread.php?t=37080

Woody the

7 Jun 2006, 8:16 PM
#92
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Funny one.. I got this working fine.. accept as I go back through my orders.. occassionally one shows up without the info image.. so I can't hover it to see what they ordered. Then I got another one yesterday. Different products each time.. nothing funny with apostrophes or quotes. Very random.

2 Jul 2006, 3:55 AM
#93
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Woodymon:

Regards to the infamous apostrophe. DrByte reported that how current version of Zen Cart responds to apostrophes may be related to an update to a string sanitizing security function. The issue is impacting other mods and the Zen Cart search mechanism. Possibly this has been repaired in the next Zen Cart release. But it is supposedly possible to override the function now.

See this thread for possible ideas:
http://www.zen-cart.com/forum/showthread.php?t=37080

Woody the

seems the search with quotation marks is fixed that works fine in 1.3.0.2 but this mod still has the the same problem with quotation marks ');" onmouseout="return nd();">, shame it's a great mod

2 Jul 2006, 4:04 AM
#94
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Hi Drakky,
AFAIK 1.3.0.2 doesnt fix the quotation mark problem, thats in a future release?

3 Jul 2006, 5:51 PM
#95
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

I also upgraded to 1.3.0.2 and it doesn't fix the " problem.

Great effort,though, thanks for this. We only have a few products that use " for size in inches in the name.

3 Jul 2006, 8:39 PM
#96
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

oh well it's not that bad either use the word inch or convert them to metric and use cm instead

3 Jul 2006, 10:59 PM
#97
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Yes, the problem with ` or " is not to do with this contribution its to do with other functions in zen cart.

7 Jul 2006, 10:32 PM
#98
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Reesy - Fantastic contrib :) I'm glad I saw there was an updated version. I originally had v 1.2 or v 1.3 installed and didn't realize it wasn't functioning with zen 1.3.0.1/2 Installed v 1.5 and all is well :D

Live again! http://spritelygoods.com Rebuilt on ZC v 1.5.1 from 1.3.0.2

8 Jul 2006, 2:29 AM
#99
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

Thanks for your comments Woodlandsprite.
Glad you found it useful.

1 Aug 2006, 8:39 AM
#100
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

hi reesy,

can u take a look at my info at a glance! 2 issues need to be solve. please see my attachment...

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!