Forums / Addon Admin Tools / Admin Notes Advanced

Admin Notes Advanced

Started by paulm on 10 Sep 2008, 8:48 PM · Views: 30,028

Results 61 to 80 of 126
19 Nov 2010, 9:07 AM
#62
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Admin Notes Advanced

Update to v0.981 attached to this post.

This includes the spiffycalendar functions, basic Public/Private functionality, minor bug fix with notes search and some other minor code changes.

Modified files:

  • admin/notes.php
  • admin/includes/init_includes/init_notes_notifier.php

The full version will be uploaded to the Free Software Add-Ons later.

19 Nov 2010, 9:13 AM
#63
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Admin Notes Advanced

Oops, there was error in the zip :blush:

Corrected version attached to this post.

18 Dec 2010, 8:37 PM
#64
beasleybub avatar

beasleybub

Zen Follower

Join Date:
May 2006
Location:
Virginia U.S
Posts:
176
Plugin Contributions:
1

Re: Admin Notes Advanced

Hi, I see how to add note categories but not how to remove them.

Is there no function for it? Thanks

How can there be nothing? Nothing is something!

18 Dec 2010, 9:51 PM
#65
beasleybub avatar

beasleybub

Zen Follower

Join Date:
May 2006
Location:
Virginia U.S
Posts:
176
Plugin Contributions:
1

Re: Admin Notes Advanced

I looked into the files and saw no reference to delete note categories. This would be nice to have. My knowledge of PHP and MYSQL are limited but I might be able to add this functionality myself by cloning the delete note function in the note.php file.

If someone else wants to tackle this before me then please by all means go for it. I really think it would be helpful.

If I successfully do it I'll post back here.

How can there be nothing? Nothing is something!

19 Dec 2010, 4:47 AM
#66
beasleybub avatar

beasleybub

Zen Follower

Join Date:
May 2006
Location:
Virginia U.S
Posts:
176
Plugin Contributions:
1

Re: Admin Notes Advanced

In my quest to dissect the notes.php file and add a category delete function I noticed a bug that needed to be addressed.

Scenario: You go into note categories section to insert a new category. Once you get there fore some reason you change your mind and click the cancel button just to discover that it was created anyway.

Around line 447 you will see...

//echo zen_draw_hidden_field('notes_id', $note->fields['notes_id']) . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_NOTES, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';

Change this line to...

//echo zen_draw_hidden_field('notes_id', $note->fields['notes_id']) . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_NOTES, 'action=categories') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';

This should cancel the action and return you to the categories menu.

How can there be nothing? Nothing is something!

11 Mar 2011, 12:57 PM
#67
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: Admin Notes Advanced

Only just installed this mod (including the recent update)
I have one question: If I wish to add a note to say catagories (or anything) it opens a new page instance where I would prefer a redraw in the same window.

Is this the norm? Olease see attached screen shot:

11 Mar 2011, 1:57 PM
#68
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: Admin Notes Advanced

Sorry.... see here

14 Mar 2011, 3:02 PM
#69
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: Admin Notes Advanced

Nobody? Bump!

27 May 2011, 9:49 AM
#70
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Admin Notes Advanced

Sorry for the delayed reply.

Rizla:

I have one question: If I wish to add a note to say catagories (or anything) it opens a new page instance where I would prefer a redraw in the same window.
Search the files for: > target="_blank"and remove it.

25 Jul 2011, 4:55 PM
#71
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: Admin Notes Advanced

Great mod! Has really helped us out a lot.

Could we get admin notes to appear on invoices?

Does this have to be coded from the invoice side though? Basically call for the note category, then if a note is active for that customer_id = display on invoice.

Possible?

25 Jul 2011, 5:58 PM
#72
rxalex avatar

rxalex

Totally Zenned

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

Re: Admin Notes Advanced

Great mod, is there a way to make the notes appear as macro's and when you put status shipped it automatically prints message "your order has been shipped, Thank you for shopping with us" ?

25 Jul 2011, 5:59 PM
#73
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: Admin Notes Advanced

To make this super_invoice.php appearance a bit refined I see where the note itself would be better to keep visible in admin only, but the title could appear on the invoice.

<td class="dataTableContent"><?php echo $notes->fields['notes_title']; ?></td>

I need to draw the info from the notes table and link to the customer ID to show on that customer's invoice though.

Is this close as it does not currently work? Also, how do I specify the Order Notes category only (notes_categories_id)?

<?php
	$table_notes = $db->Execute("select notes_title
from " . TABLE_NOTES . "
where customers_id = '" . $order->customer['id'] . "'");  
?>
3 Aug 2011, 9:39 PM
#74
lrs avatar

lrs

Zen Follower

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

Re: Admin Notes Advanced

Seems to work fine in 1.39h.

The only glitch I have seen is that it creates a blank note if you start to create a new note but end up clicking cancel.

Easy enough to just delete the blank new note, but I am guessing that isn't what it is supposed to do when you click the cancel button.

4 Aug 2011, 10:06 AM
#75
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Admin Notes Advanced

rxalex:

Great mod, is there a way to make the notes appear as macro's and when you put status shipped it automatically prints message "your order has been shipped, Thank you for shopping with us" ?I don' t understand. Where should the message be printed?

@sbbemn: I hope to find time to take a closer look at your question soon. Maybe in a week or so.

@LRS: the blank note creation issue is by design (lazy programming...). Might fix it some time...

19 Aug 2011, 4:35 PM
#76
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Admin Notes Advanced

@sbbemn: are you still interested in your modification? Wouldn't it be easier to use the default Zen Cart order notes system to add notes to the invoices (I don't use it, but I think there is an option build in to show those notes on the invoice).

20 Aug 2011, 9:16 PM
#77
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Admin Notes Advanced

New version: now compatible with Zen Cart 1.5.0. :cool:
(compatibility with 1.3.x versions retained)

No need to update if you have the latest version installed on ZC1.3.x

For now the zip is attached to this post. Will of course be uploaded to the Free Software Add Ons section.

22 Aug 2011, 1:24 PM
#78
sbbemn avatar

sbbemn

Zen Follower

Join Date:
Jan 2010
Posts:
182
Plugin Contributions:
0

Re: Admin Notes Advanced

paulm:

@sbbemn: are you still interested in your modification? Wouldn't it be easier to use the default Zen Cart order notes system to add notes to the invoices (I don't use it, but I think there is an option build in to show those notes on the invoice).

Yes, are you referring to the order comments (display all), which is not preferred.

There are certain notes advanced that can be REALLY beneficial to include on invoices.

I can see the logic working. invoice or super_invoice checks to see if there is an admin notes advanced with that order number, if yes, display on the invoice below any order comments (we print the first comment only).

5 Oct 2011, 5:37 AM
#79
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: Admin Notes Advanced

I have just installed the update but find that when creating a new note I get duplicate entries (options) in the catagory dropdown list. I've checked the D/B but can't see any reason there.

Could anyone point me in the right direction?

Thanks

9 Oct 2011, 7:20 AM
#80
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Admin Notes Advanced

I installed the mod, it's perfect

But you might want to move the messages to a table in the center of the main page of the Admin ?

Why it shows me that he Loading all the time? :mellow: