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 121 to 140 of 192
26 Sep 2006, 1:18 AM
#121
reesy avatar

reesy

Totally Zenned

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

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

Well we started to use attributes too, so I have the same need, your code is very close to being correct!
I will try my very bestest to upload the new version today that supports attributes and also strips out the apostrophe.

17 Oct 2006, 7:53 PM
#122
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

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

tajul_ashyqin:

does this mod compatible with the new Super Orders v2.0 by Blindside?!

yes, i have it installed....

look under the USPS Autofill contrib thread, youll find he has a file set with both this and the USPS autofill button for super orders 2.0. He also has the instructions for including it yourself, its approved by blindside too! hehe

also, is there any chance you guys could include the model number in the "bubble"? this makes it alot easyer for me, since our whole office goes by that number.

thanks

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

17 Oct 2006, 8:37 PM
#123
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.

wickedklown:

yes, i have it installed....

look under the USPS Autofill contrib thread, youll find he has a file set with both this and the USPS autofill button for super orders 2.0. He also has the instructions for including it yourself, its approved by blindside too! hehe

also, is there any chance you guys could include the model number in the "bubble"? this makes it alot easyer for me, since our whole office goes by that number.

thanks

Oooh it was blindside approved.. i did good then :P And yea, there is a file i attached in the USPS thread (see my sig)

19 Oct 2006, 8:35 AM
#124
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.

wickedklown:

...also, is there any chance you guys could include the model number in the "bubble"? this makes it alot easyer for me, since our whole office goes by that number.

thanks

hi,

in super_orders.php, find the following line:-

$result_artikels = $db->Execute("select products_name, products_quantity from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . zen_db_input($orders->fields['orders_id']) . "' ");
while(!$result_artikels->EOF){
$artikel .= ($result_artikels->fields["products_quantity"]) . "x " . ($result_artikels->fields["products_name"]) . "<br>";

and alter as follow:-

$result_artikels = $db->Execute("select products_name, products_model, products_quantity from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . zen_db_input($orders->fields['orders_id']) . "' ");
while(!$result_artikels->EOF){
$artikel .= ($result_artikels->fields["products_quantity"]) . "x " . ($result_artikels->fields["products_name"]) . " (" . ($result_artikels->fields["products_model"]) . ")" . "<br>";

:laugh:

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

2 Dec 2006, 12:39 AM
#125
taipa avatar

taipa

New Zenner

Join Date:
Nov 2005
Posts:
54
Plugin Contributions:
0

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

Has anyone gotten it to display the product attributes in the little bubble yet?

Canadians who use Quickbooks please read this thread!

8 Mar 2007, 10:55 PM
#126
empirenine avatar

empirenine

New Zenner

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

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

Sorry to leapfrog the previous quesiton, but I'm curious if anyone has tested this against version 1.3.5. This is the mod I've been hoping for and I'll be bummed if its not compatible with my site.

Thanks!

LMNOtees.com - Wear your humor on your sleeve!

8 Mar 2007, 11:15 PM
#127
empirenine avatar

empirenine

New Zenner

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

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

empirenine:

Sorry to leapfrog the previous quesiton, but I'm curious if anyone has tested this against version 1.3.5. This is the mod I've been hoping for and I'll be bummed if its not compatible with my site.

Thanks!

Sorry for my hasty post. I successfully installed this on my 1.3.5 cart and it works beautifully. Very well done, and great instructions! Thank you for the mod.

As a followup to this mod, does anyone know how to add lines to the "new orders" area on the Admin index page? I'd love to eventually see a scrollable iframe with the past 100 orders there, but its probably overkill. I really just want the last 10 orders up if possible.

LMNOtees.com - Wear your humor on your sleeve!

9 Mar 2007, 3:17 PM
#128
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.

empirenine:

does anyone know how to add lines to the "new orders" area on the Admin index page? I'd love to eventually see a scrollable iframe with the past 100 orders there, but its probably overkill. I really just want the last 10 orders up if possible.

Some clues:

  1. As you stated the list shows on the admin index page. So the file to investigate first would be /your_shop/admin/index.php

  2. The define that displays "New Orders:" above the list is BOX_ENTRY_NEW_ORDERS (found by searching on "New Orders:" via Admin > Tools> Developers Toolkit

  3. The number of new orders shown in the list by default is 5.

With the info above you should be able to easily find the hard coded value in index.php, and then change that number to 10 or whatever you like.

Note the admin is scheduled to be "rewritten" in the future (but likely not very soon). You might want to post your suggestions to the wish list board.

Woody

9 Mar 2007, 5:21 PM
#129
empirenine avatar

empirenine

New Zenner

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

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

Woodymon:

Some clues:

  1. As you stated the list shows on the admin index page. So the file to investigate first would be /your_shop/admin/index.php

  2. The define that displays "New Orders:" above the list is BOX_ENTRY_NEW_ORDERS (found by searching on "New Orders:" via Admin > Tools> Developers Toolkit

  3. The number of new orders shown in the list by default is 5.

With the info above you should be able to easily find the hard coded value in index.php, and then change that number to 10 or whatever you like.

Note the admin is scheduled to be "rewritten" in the future (but likely not very soon). You might want to post your suggestions to the wish list board.

Woody

Thanks for your help. I know you probably assume I'm one of the "ask a question before attempting anything" members, but that's not me.

And believe me when I say that I've attempted to find the code in the Admin index file, but I assumed I was looking for an array, not a simple "5". In any case, I've gotten it changed and I'll post my suggestions in the appropriate forum.

LMNOtees.com - Wear your humor on your sleeve!

9 Mar 2007, 8:49 PM
#130
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.

empirenine:

Thanks for your help. I know you probably assume I'm one of the "ask a question before attempting anything" members, but that's not me.

And believe me when I say that I've attempted to find the code in the Admin index file, but I assumed I was looking for an array, not a simple "5". In any case, I've gotten it changed and I'll post my suggestions in the appropriate forum.

Ya, at this point the admin area is very basic and hardcoded, with very little configuration in the normal admin->menu way.

10 Mar 2007, 12:38 AM
#131
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.

empirenine:

I assumed I was looking for an array, not a simple "5". In any case, I've gotten it changed and I'll post my suggestions in the appropriate forum.

Yep. That's what I thought when I first looked for it ;-) Glad you found where to change!

Woody

12 Mar 2007, 7:46 PM
#132
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.

FIX FOR MISSING INFO BOX

I'm not sure if anyone ever figured out how to fix the problem with info-at-a-glance not displaying products with ' (apostrophe's) in them, so I went ahead and did it. It is quite simple:

in both admin/index.php & admin/orders.php

FIND:

onmouseover="return overlib(\\\'' . $cleanComment . '\\\');"

replace with:

onmouseover="return overlib(\\\'' . addslashes(addslashes($cleanComment)) . '\\\');"

It need addslashes twice because it needs 3 slashes to escape the php and javascript levels

12 Mar 2007, 11:28 PM
#133
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.

qhome:

FIX FOR MISSING INFO BOX

I'm not sure if anyone ever figured out how to fix the problem with info-at-a-glance not displaying products with ' (apostrophe's) in them, so I went ahead and did it.

Cool. I can now integrate the mod admin functionality into my ZC 1.37 shop. The apostrophe issue was a stopper for me and I could not see the fix was additional validation within the onmouseover parameter (I'm worthless at javascript).

Thanks! :thumbsup:

13 Mar 2007, 2:25 AM
#134
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.

qhome:

FIX FOR MISSING INFO BOX

I'm not sure if anyone ever figured out how to fix the problem with info-at-a-glance not displaying products with ' (apostrophe's) in them, so I went ahead and did it. It is quite simple:

qhome - Thanks again for the fiix.

And I forgot to ask, does the fix also apply to quote marks in product names? For example some previous posts mentioned issues with this mod when using the " character (to represent inches) within product names.

Also since Reesy appears to be no longer around or overly busy would you be willing to update the latest v. 1.5 with your fix (and any other fixes that might be useful and be made available since it was released in early June)? And if updating the upload at the same time ask Dr Byte remove "v.1.2" from the download listing name.

Woody

13 Mar 2007, 3:25 AM
#135
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.

Woodymon:

qhome - Thanks again for the fiix.

And I forgot to ask, does the fix also apply to quote marks in product names? For example some previous posts mentioned issues with this mod when using the " character (to represent inches) within product names.

Also since Reesy appears to be no longer around or overly busy would you be willing to update the latest v. 1.5 with your fix (and any other fixes that might be useful and be made available since it was released in early June)? And if updating the upload at the same time ask Dr Byte remove "v.1.2" from the download listing name.

Woody

:P
addslashes will fix all ' and ". I am still tryin to get the product with attribs to show up in the hover windows. I've learned a bit more php and I might take another stab at it and reupload it.

13 Mar 2007, 7:46 AM
#136
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.

qhome:

:P
addslashes will fix all ' and ". I am still tryin to get the product with attribs to show up in the hover windows. I've learned a bit more php and I might take another stab at it and reupload it.

Displaying Attributes would be excellent. Look forward to it. If you need a tester let me know.

13 Mar 2007, 8:11 AM
#137
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.

For those wondering if the latest version of this mod works on Zen Cart v.1.37, I just installed mod version v1.5 into ZC 1.37 and it works great.

Basic recommends:

  1. Be sure to include qhome's simple onmouseover fix (announced a few posts above).

  2. Do NOT copy /admin/index.php and /admin/orders.php file over your existing core file versions. The 1.5 mod utilizes core admin files from ZC v.1.3.0.1.

Instead "merge" in the very well documented snippets of code from the two mod version files into your two existing 1.3x files. It is very easy to do. If you are not sure PM me and I can send you a text file with the code snippets that need inserting into the two files above. (I just documented the code fragment edits and still need to format into a usable help file... warning there are no line numbers as my index.php and orders.php files are heavily customized).

Also if qhome uploads a mod update with attributes support then you might want to wait just a bit before downloading and installing (I suspect if he does upgrade this mod he will support only the latest version of Zen Cart).

And at the same time we should ask DrByte to change the name of this thread, and the mod download page name (that is, drop the version numbers at the end as they are quickly out-of-date and thus become confusing and are unneeded).

P.S. Thanks again to Reesy wherever you are!

Woody

14 Apr 2007, 10:37 PM
#138
austy25 avatar

austy25

Zen Follower

Join Date:
Feb 2006
Posts:
248
Plugin Contributions:
0

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

Hey Thanks so much for this - I have followed Woddymon's advice and edited my files manually but I just have one small problem :

For ALL 3 versions ADD this code BEFORE the closing </head> tag:

<?php // ====> BOF: INFO AT-A-GLANCE <==== ?> <script language="javascript" src="includes/javascript/overlib_mini.js"><!-- overLIB (c) Erik Bosrup --></script> <?php // ====> EOF: INFO AT-A-GLANCE <==== ?> I found the above line just fine Thank you!! But just below it says:

For 1.2.7/1.3.0.1 ADD this code just AFTER the <body> tag:
In 1.2.5d add it AFTER <!-- header_eof //-->

<?php // ====> BOF: INFO AT-A-GLANCE <==== ?> <div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div> <?php // ====> EOF: INFO AT-A-GLANCE <==== ?> I am having problems with it, I can't find the <body> tag anywhere in the admin/index.php what am I missing ???!!!

Thanks so much
Claudia

Take scrapbooking to a whole new level - GO DIGITAL - http://www.hookedondigiscrap.com

25 May 2007, 1:26 AM
#139
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

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

I thought I followed the directions perfecty.

This is what I am getting now...
Some work perfectly, some look. Well you see below:

What can I do to fix this???