There have been 23 items by rkrajnik (Search limited from 26-October 19)
I've downloaded the GCE (2.8.4) to install on a CI4 environment. CI4 is running very well, other apps on it and working. The download GCE has a dir structure of /examples, /src, and /public. The GCE docs say to rename the "libraries" folder with "GroceryCrudEnterprise". Being that there is not a "libraries" folder in the GCE download, what next?
Trying to run my existing CGE 2x on CI3.1* and trying to update to CI4, with GCE 2.8.2... GCE install instructions (https://www.groceryc...4-installation/) are completely wrong - there aren't /examples, /libraries, etc. folders except within sub-folders. Do I simply "find" those deeper folders and replace them based on the GCE docs? GCE could be great but they (Johnny) missed the key features and focused on "marketability" instead of developer first.
I'll figure this out on my own... cant rely on this community to be honest.
Johnny knows his team needs to fully fix their date/time storage and display date-related code. It's way too confusing (most of my apps are date-sensitive, I just assumed that GCE would handle date formats normally.) Johnny needs to listen a bit more to his customers and not an "industry" that he seems to think he needs to follow. I expect this to get better , Johnny is a good man!
I've not seen this issue in other frameworks, but can GCE simply show all dates (regardless of grid, add/edit/clone form or other GCE views) as a single format? seems like this should be pretty simple, but stupid me can't find a way, help! I understand that many apps need to be configured for multi-date situations, but that should negate the simplicity of local dates.
If so, how in GCE? I can use "add" callbacks to format the default values, format values in the "add" callback, but the "edit", as well as "clone" callbacks simply hang and don't work as other framework experiences.
I'm sure this is a simple fix for me, can anyone help? Simply want to use 'us_date' for this entire app, rather no "callbacks" or other "twists", can CGE do this?
I'm new to GC (Ent) but what I find when looking for answers to the many issues I deal with in GCEnt, I get many "variations" for the app structure and module names, e.g. grud-enterprise.php, grud_enterprise.php, grocery_crud.php.... etc. is there a guideline document that clearly (clearly, not the original developers view) that describes the true name conventions of the dir structure, file names, etc. for each "version"?
I'm trying to fix a simple date display problem in GCEnt but so many version of different files I need to "check" and "fix"... a basic reference/naming authority for GCEnt is sorely needed. I've enjoyed learning GCEnt but would never use it in client production simpy because the docs are so weak.
Hopefully someone can help restore my faith in this product.
GCEnt Dates - why so strange?
First the GCEnt installed a "gcrud-enterprise.php" and a "gcrud_enterprise.php" ("dash" and "underscore".) The former (dash) does not have a reference to "date" settings, the later (underscore) "gcrud_enterprise.php" has...
referring to date settings. I'm looking for "us-date" across my entire application, in this case.
Which lets me set the GLOBAL (GCEnt GLOBAL) date/time display without the need for a bunch of "callbacks" to restate my preferred format?
Why are displaying dates so wacked in GCEnt? I store a DATETIME in mySQL and then GCEnt I have to write callbacks for every date filed to get to to display correctly - correctly only means ONE format (m-d-Y) in my case, yet I need callbackColumn(), callbackAddField(), callbackEditField(), callbackCloneFiled()... etc. There has be a way in GCEnt to store a DATETIME in a db and display it based on a system setting - not a localization setting (which is ok for some fields, if it works.)
There is only one Date/Time, who cares how its "saved" within standards, but display is consistently wihtin GCEnt!
I've add a call to SetActionButton() to include an "add" option for that row. I'd like populate all data/fields from grid row to the new add form, allow changes and then "Save" as normal. My SetActionButton() is:
That allows the "Add a Visit" option for the row but if selected flashes a blank screen and returns to the original grid without prompting the user for data changes, etc.
Hoping this is simple and I'm just overlooking something obvious.
Thanks in advance.
I'm trying to include a value on a GCEnt "Add" page to show how many "records" exist in a table based on the information the user types. E.g. on the "Add" form and user enters "Smith" in the "last name" field, I'd like to show how many "Smith"'s there are in a specific table... of course there are additional criteria such as "date", "address", "city", etc. that should be included in the count filter. I know SQL syntax inside-and-out but not clear on how to add this display fields to the GCEnt "Add" form. Any help would be great. Thank you.
Continuing to get the "Unable to load the requested class: Grocery_CRUD" from the CI3/GC Ent... func from my "controller" where the error persists:
I can't find any solid, reliable way to fix this, help?!!?