The implode function needs an array as an argument.
So you get this warning because
tep_parse_category_path($cPath);
returns null not an array
SO second thing to be done is ti check the $cPath variable and check the tep_parse_category_path() function
- osCommerce Support Forum
- → Viewing Profile: Posts: gadlol
Latest News: (loading..)
Community Stats
- Group Members
- Active Posts 31
- Profile Views 2,924
- Age Age Unknown
- Birthday Birthday Unknown
-
Real Name
John Barounis
-
Gender
Male
Posts I've Made
In Topic: Warning: implode() [function.implode]: Bad arguments
13 March 2013 - 03:20 PM
In Topic: Alternative Administrator Categories/Products Page Addon (jQuery, ajax edit)
13 March 2013 - 03:09 PM
Hi,
I am now debugging it.
Although its in a stable status, there are some micro things to be done, such as when the session is timeout and you click to ajax edit products price then it must open a dialog saying session is timeout please login again.
For this to happen I must do a small micro change to application_top.php so not to automatically redirect to login page (only for this addon)
There are also the translations to be done!
The products reorder feature is awesome.
You can click on a row and move it up or down and all the products on that page are automatically reordered. So simple!
I am now debugging it.
Although its in a stable status, there are some micro things to be done, such as when the session is timeout and you click to ajax edit products price then it must open a dialog saying session is timeout please login again.
For this to happen I must do a small micro change to application_top.php so not to automatically redirect to login page (only for this addon)
There are also the translations to be done!
The products reorder feature is awesome.
You can click on a row and move it up or down and all the products on that page are automatically reordered. So simple!
In Topic: Warning: implode() [function.implode]: Bad arguments
13 March 2013 - 02:56 PM
First try to see what tep_parse_category_path($cPath) returns
do:
Is $cPath_array an array?
do:
$cPath_array = tep_parse_category_path($cPath);
var_dump($cPath_array);
$cPath = implode('_', $cPath_array);
$current_category_id = $cPath_array[(sizeof($cPath_array)-1)];
Is $cPath_array an array?
In Topic: Alternative Administrator Categories/Products Page Addon (jQuery, ajax edit)
07 March 2013 - 01:23 AM
New features added:
There will be no instructions on how to use the addon because I do not have time to do that.
I will, though, upload a short video on youtube, showing the new features!
John
- Add extra custom fields easily (for developers: associative arrays)
- All fields custom or not, can be editable or not, visible by default or not , sortable or not e.t.c.
- You can also add fields from other mysql tables other than products (you must add the necessary query text (select , from , where) on the array $_EXTRA_FIELDS )
- All fields custom or not, can be editable or not, visible by default or not , sortable or not e.t.c.
- Deletion of multiple products
- Multiple prices edit (redifned)
- Right side panel (sortable fields, choose what fields to display and sort - reorder them)
- Bottom panel (contains: categories list, languages, display in stock or not)
- Top panel (hidden by default, opens when you click on search icon)
- Server side pagination (includes max products per page)
- Advanced search (search on specific field, developers can add their own custom fields)
- Order products by different fields - custom fields
- Print categories and/or products (only the categories - products table, everything else is not displayed )
- Tooltips
- Sortable fields from settings dialog (you can always sort them from the right side panel)
- Make table rows sortable (so when you change the order of rows then also changes the order of products under their category)
- Multiple products change status
There will be no instructions on how to use the addon because I do not have time to do that.
I will, though, upload a short video on youtube, showing the new features!
Any feature requests before releasing the new version?
Do you want the ability to preview a product that is not active - out of stock while editing description?
John
In Topic: Alternative Administrator Categories/Products Page Addon (jQuery, ajax edit)
05 March 2013 - 01:56 AM
New screenshots.
Screenshot-Alternative Categories-Products Page Addon (jQuery, ajax) - Chromium-1.png 137.93K
39 downloads
Screenshot-Alternative Categories-Products Page Addon (jQuery, ajax) - Chromium-2.png 171.29K
40 downloads
Screenshot-Alternative Categories-Products Page Addon (jQuery, ajax) - Chromium-1.png 137.93K
39 downloads
Screenshot-Alternative Categories-Products Page Addon (jQuery, ajax) - Chromium-2.png 171.29K
40 downloads- osCommerce Support Forum
- → Viewing Profile: Posts: gadlol
- Privacy Policy
- Forum Rules ·



Find content