very nice, i've been waiting for this!
any chance of making the text boxes for the customer/order/product/category into dropdown boxes?
i'd be willing to help ya out
mike
very nice, i've been waiting for this!
any chance of making the text boxes for the customer/order/product/category into dropdown boxes?
i'd be willing to help ya out
mike
This is a great mod, many thanks.
Heathenmagic
Nice to hear you like it I must say like it too
Sorry, no plans in the near future for that (although I agree that that part needs some improvement).
Not sure if it's clear as it is, but a way to attach a note is to make it a "Special note" (without entering any id) and then browse your admin to view the item you want it attached to. The the script will ask you if you want to attach the note, and if you then click the link you will be redirected to the note editor and the id will be filled in (marked by '*' ). If you then save the note it will be attached the the item you viewed.
Bugfix for v0.912
The bug causes the product_type not to be set when clicking on a "Edit product" link in the admin notes notifier. And if product_type is not set when using the Zen Cart products editor to save the product, it will change the products_type to 0, which is not a desired value!
To fix it open admin\includes\init_includes\init_notes_notifier.php
and change:
to:Code:products_type
Code:product_type
Hi
Boy, am I in trouble!
I installed Admin notes; worked ok. Then I installed your contribution as well, because I thought it looked pretty good, and was about to install the SQL file via my admin, and when i tried to log in got a white screen with the following:
1146 Table 'zencart_partykitnkaboodle_com_au.notes' doesn't exist
in:
[select * FROM notes n LEFT JOIN notes_categories nc ON (n.notes_categories_id = nc.notes_categories_id) WHERE (`notes_status` = '1') AND (((`notes_start_date` <= NOW()) AND (`notes_start_date` >= '0001-01-01')) AND ((`notes_end_date` >= NOW()) OR (`notes_end_date` <= '0001-01-01')))]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I really dont know what this means & no idea how to fix it. Also not sure why it is affecting my log in ability.
Many thanks & hope I can be lead in the right direction - because I really need to be able to login to Admin ASAP
S
I quite obviously did not read your install notes carefully:
2) Now copy and paste the contents of notes.sql into: admin :: tools :: Install sql patches
(it's important to load the sql successfully before you install the files!)
so humbly wondering (seeing I like to do things backtofront!) if there is a cure for my boo boo
thank you thank you
S
ok - a newbie fix to my self-inflicted problem....
me? not at all familiar with PHPmyAdmin & have never played with it ......looks far too foreboding ATM
Anyhooo - I just ran the SQL file thru the the SQL tab (held my breath) & it works
(I know this was probably a "logical" solution - but I'm still in Kindergarten land when it comes to all this
I am glad you found out what went wrong, and that you told it! Saves me some time, and it *hopefully* will prevent others form overlooking the same thing....
Some day I might add a check to the notifier if the table exists, to prevent these kind of problems. But I am afraid I have little time. There is so much more to do
You are a bit lucky that the sql works as is in phpMyAdmin. If you installed Zen Cart using a table prefix then you would have to add the prefix to the notes table before executing the sql.
Another way back into the admin would have been to remove the files that where added by this addon (or even remove the notifier only).
And, of course, everyone can always go back to the backup that was made before installation of the addon
Thanks for that...I guess I was petty lucky with the PHPmyAdmin considering my blunder!!.
I look forward to using your mod. Looks really great
Thanks again
Another Bugfix for v0.912
This bug is similar to the previous one.
In admin/notes.php
Change:
To:Code:$contents[] = array('text' => '<a href="' . FILENAME_PRODUCT . '.php' . '?action=new_product&pID=' . $nInfo->products_id . '&products_type=' . zen_get_products_type($notes_active->products_id) . '"><strong>' . TEXT_INFO_NOTE_PRODUCT . '</strong></a>');
v0.913 includes the previous fixes. Also a checkbox has been added to set the note Active status directly from within the notes editor.Code:$contents[] = array('text' => '<a href="' . FILENAME_PRODUCT . '.php' . '?action=new_product&pID=' . $nInfo->products_id . '&product_type=' . zen_get_products_type($nInfo->products_id) . '&cPath=' . zen_get_products_category_id($nInfo->products_id) . '"><strong>' . TEXT_INFO_NOTE_PRODUCT . '</strong></a>');
Last edited by paulm; 8 Dec 2008 at 03:25 PM.
Bookmarks