Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Catalog Plugin
#26
What started out as just adding a class to the Matrix has now turned into a full, OOP overhaul of the plugin.

[Image: matrix1.png]

[Image: matrix2.png]

[Image: matrix3.png]

[Image: matrix4.png]

[Image: matrix5.png]

[Image: matrix6.png]

Above is an example of the visual changes that have been made, using a dummy table called 'dummy.entries' (for a blog). In accordance with your suggestion shawn, admin forms can be generated by specifying the field's class (e.g. 'Metadata Window (Left)'). You can drag and drop the fields into the order that you want (as before), but from that same screen you can edit all of the field details. Then there is a link called 'form' which previews how the outputted form will look in the admin panel.

Also added are a few new field properties - default (for defining default content for fields when records are created) and class (which does what I explained above). 'Description' text also gets put as a placeholder in the field. In addition, record content such as textareas, textlong, wysiwyg...is saved using CDATA tags (so they don't require additional escaping).

Still ironing out the kinks in it, so there isn't a commit on github.
Reply
#27
Wink GreaT job again AngryBoy!
Reply
#28
this looks the biz... great work...
Looking forward to seeing these updates...
My Github Repos: Github
Website: DigiMute
Reply
#29
For the love of god anti-aliasing is your friend.

This looks awesome.

I imagine this would make special pages and custom fields obsolete, and enable actual apps to be built in minutes.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#30
(2013-06-12, 00:52:03)shawn_a Wrote: For the love of god anti-aliasing is your friend.

As a sprite artist, I oppose that statement (at least not the level of anti-aliasing that you get on the web :-P). Some fonts are better AAed than others.

Matrix wouldn't make Special Pages and Custom Fields absolete, even if it were improved to its fullest. There are specific cases where those plugins will not be paralleled in their ease of use, given the context. Especially given their language support.

As for apps being built in minutes...my guess is that was the initial goal n00dles was aiming for. In time we shall see. Glad to know that you guys like what you see *smiles*
Reply
#31
but unless your plugin will not be able to translate into Russian? I have already started to translate plugin Matrix
Reply
#32
I will keep the same language hooks as the one already provided by n00dles whilst avoiding creating new ones (for now, anyways), so you should be covered, Oleg.
Reply
#33
No development anymore?
Reply
#34
(2013-06-12, 03:50:16)Angryboy Wrote: I will keep the same language hooks as the one already provided by n00dles whilst avoiding creating new ones (for now, anyways), so you should be covered, Oleg.

I'm back to it ...
@Angryboy
I'll gladly help if there is some progress ....
I'm working on a complex slider plugin, but will pause work for "catalog" if needed ...

I think we need a solid all-round catalog ... adding eCommerce modules to it, later on will be quite easy with a Jquery shopping cart ..
Reply
#35
Development is not dead on this. I've been working on it on/off for the last 2 weeks and have a rough alpha build. Here are some screenshots:

http://postimg.org/image/e1rkkra4n/
http://postimg.org/image/823th3pc7/
http://postimg.org/image/o1mh0nldz/
http://postimg.org/image/rmicjvpxj/
http://postimg.org/image/e6zx866tj/
http://postimg.org/image/v8sra9lon/
http://postimg.org/image/ge45w3c3r/
http://postimg.org/image/xv89r7cw7/
http://postimg.org/image/a1p0m991j/
http://postimg.org/image/xh6xrlssn/
http://postimg.org/image/6zy8cavwn/
http://postimg.org/image/bkker8flz/

It has most of the features specified by Tzvook in the first post. Main things missing are non-slugged support (for non-latin-languages), the 'featured products' section and the i18n search support (it's partially there). Everything else is in there to some extent.

(This build is not dependent on The Matrix; it is a standalone plugin).
Reply
#36
(2014-04-02, 06:03:47)Angryboy Wrote: Development is not dead on this. I've been working on it on/off for the last 2 weeks and have a rough alpha build. Here are some screenshots:

http://postimg.org/image/e1rkkra4n/
http://postimg.org/image/823th3pc7/
http://postimg.org/image/o1mh0nldz/
http://postimg.org/image/rmicjvpxj/
http://postimg.org/image/e6zx866tj/
http://postimg.org/image/v8sra9lon/
http://postimg.org/image/ge45w3c3r/
http://postimg.org/image/xv89r7cw7/
http://postimg.org/image/a1p0m991j/
http://postimg.org/image/xh6xrlssn/
http://postimg.org/image/6zy8cavwn/
http://postimg.org/image/bkker8flz/

It has most of the features specified by Tzvook in the first post. Main things missing are non-slugged support (for non-latin-languages), the 'featured products' section and the i18n search support (it's partially there). Everything else is in there to some extent.

(This build is not dependent on The Matrix; it is a standalone plugin).

That one deserves not a wow, but a WOW :-)
screenshots are impresive indeed, looking forward...
Reply
#37
you will somehow provide support for non-Latin languages, see here http://get-simple.info/forums/showthread...8#pid44368
(2014-04-02, 06:03:47)Angryboy Wrote: Development is not dead on this. I've been working on it on/off for the last 2 weeks and have a rough alpha build. Here are some screenshots:

http://postimg.org/image/e1rkkra4n/
http://postimg.org/image/823th3pc7/
http://postimg.org/image/o1mh0nldz/
http://postimg.org/image/rmicjvpxj/
http://postimg.org/image/e6zx866tj/
http://postimg.org/image/v8sra9lon/
http://postimg.org/image/ge45w3c3r/
http://postimg.org/image/xv89r7cw7/
http://postimg.org/image/a1p0m991j/
http://postimg.org/image/xh6xrlssn/
http://postimg.org/image/6zy8cavwn/
http://postimg.org/image/bkker8flz/

It has most of the features specified by Tzvook in the first post. Main things missing are non-slugged support (for non-latin-languages), the 'featured products' section and the i18n search support (it's partially there). Everything else is in there to some extent.

(This build is not dependent on The Matrix; it is a standalone plugin).
Reply
#38
Now there is an option for non-latin languages. All categories and products are created with a unique number prepended to their slug (which is transliterated if the language file has a transliteration key). So for example, lets say I created a category 'Rings', then a sub category 'Wedding Rings', then created a product called 'A Wedding Ring'. The url structure of the slugged and non-slugged versions would be as follows:

http://localhost/getsimple/catalog/0-rings/1-wedding-rings/0-a-wedding-ring.htm
http://localhost/getsimple/index.php?id=catalog&category=1&product=0

When one structure is picked, the other url structure will yield a 404 error.

-----

Now the only things that needs full implementation are the search functionality (again, partially done) and the shopping cart (also partially done). This is a very rough alpha build - I wouldn't even suggest that language files be made for it, simply because the hashes are subject to change (hopefully reduced in number). This is really to test what sorts of error crop up when people try to install it (I've tried it on a windows and a linux installation and both seemed to work).

http://s000.tinyupload.com/download.php?...8399123253

Back up your site before installing and try at your own risk...
Reply
#39
I have issues in creating new categories (no save or cancel button, no wysiwyg ...)
Code:
Fatal error: Class 'I18nNavigationFrontend' not found in /home/tzvook/test.mydomain.com/plugins/i18n_navigation/editorinit.php on line 6
I'm using latest i18n plugins ...

by the way :
is it GS 3.1.x compatible ?
Reply
#40
I tested it in 3.3.1. Not earlier versions. If you are using the latest i18n plugin, then we both have the same version (3.2.7 at the time of speaking).

A few questions:
- Is that the full error message?
- When exactly does the message come up?
- Can you give screenshots of the error?

Your error is a bit puzzling, because I don't recall coding anything that would use the editorinit.php file from i18n...
Reply
#41
(2014-04-07, 18:55:35)Angryboy Wrote: I tested it in 3.3.1. Not earlier versions. If you are using the latest i18n plugin, then we both have the same version (3.2.7 at the time of speaking).

A few questions:
- Is that the full error message?
- When exactly does the message come up?
- Can you give screenshots of the error?

Your error is a bit puzzling, because I don't recall coding anything that would use the editorinit.php file from i18n...

I use GS 3.1, so it may be the cause ..
I attached the screenshot (debug working)


Attached Files Thumbnail(s)
   
Reply
#42
(2014-04-07, 18:55:35)Angryboy Wrote: A few questions:
- Is that the full error message?
- When exactly does the message come up?
- Can you give screenshots of the error?

Your error is a bit puzzling, because I don't recall coding anything that would use the editorinit.php file from i18n...

Hi Angryboy
I just tested it on a clean (localhost) GS 3.3.1 install that has only the newest i18n plugins on it .... The Matrix is not installed

Error is the same:
Code:
Fatal error: Class 'I18nNavigationFrontend' not found in D:\xampp\htdocs\GetSimple\GS331\plugins\i18n_navigation\editorinit.php on line 6
I get it under the editor in the folowing pages:
1. catalog options
2. create category
3. create product
-----------------------


(2014-04-07, 18:55:35)Angryboy Wrote: ... I don't recall coding anything that would use the editorinit.php file from i18n...

You call editorinit.php in the end of inc/ckeditor.php
Code:
        exec_action('html-editor-init');
and commenting it out solve the problem, but breaks the editor ...
I'm still looking ...
Reply
#43
I can see now that I get the error when I enable I18N Base, strangely enough (before I had just enabled the Navigation/Breadcrumbs structure). I18N Base probably has a hook for html-editor-init (i.e. a function that executes after the js for the editor has been output) that calls the I18nNavigationFrontend class, but that class has yet to be loaded (as 'Catalog' is loaded first before any 'I18N-' plugins (alphabetical order) and I18N has no autoloader).

What is stranger is that the editor still loads for me; it's just that the fatal error is shown just after the editor (so I don't get a blank textarea like in your image). Also, when I comment out the exec_action line, the editor works just fine.

Does the following code fix any problems? In the inc/ckeditor.php file, replace the exec_action line with:
PHP Code:
if (!class_exists('I18nNavigationFrontend') && file_exists($i18n_nav GSPLUGINPATH 'i18n_navigation/frontend.class.php')) {
  include(
$i18n_nav);
}
exec_action('html-editor-init'); 

I go back to college this week (so I'll be busy for the next 2 months) and can't promise progress on the Catalog plugin in that time period...sorry about that. But I will return to it in the summer.
Reply
#44
(2014-04-21, 18:23:57)Angryboy Wrote: Does the following code fix any problems?

Yes, it does
But when I use custom config @ gsconfig.php , CKE is gone again ... looks like something to do with GSEDITORTOOL =/= EDTOOL

---------------
I think it'll be logical to open the browse-dialog for the product/category photos
---------------

(2014-04-21, 18:23:57)Angryboy Wrote: I go back to college this week (so I'll be busy for the next 2 months) and can't promise progress on the Catalog plugin in that time period...sorry about that. But I will return to it in the summer.

I'll try to dig bugs till then ...
well ... Front catalog page is empty , categories and products buggy too ...
Reply
#45
.
.
. . . BUMP . . .
.
.

(2014-04-21, 18:23:57)Angryboy Wrote: I go back to college this week (so I'll be busy for the next 2 months) and can't promise progress on the Catalog plugin in that time period...sorry about that. But I will return to it in the summer.

... Front catalog page is empty , categories and products buggy too ...
Caמ you please just take a look at it ????

New category works on local server, but gives an error on real server:

PHP Code:
Fatal error: Class 'SplStack' not found in /home/demo/demo.mydomain.com/plugins/catalog/lib/catalogcategories.class.php on line 26 
Reply
#46
where can i download this beta or latest stable version?
user plugin: scroll to top
Reply
#47
(2014-05-30, 05:21:44)xxdex Wrote: where can i download this beta or latest stable version?

It seems that the file exceeded maximum storage time ...
but it's not ready for use yet - as you can read here, there are some issues ...
If you want to debug, i'll zip it for you, but I recommend waiting a bit, till Angryboy will have time to polish it a bit ...
Reply
#48
if You can, share it please. i will test it and maybe find some more idea'a for develop this plugin. in what of matrix version are You test it ?
user plugin: scroll to top
Reply
#49
(2014-05-30, 07:27:14)xxdex Wrote: if You can, share it please. i will test it and maybe find some more idea'a for develop this plugin. in what of matrix version are You test it ?

Here is the file, no need to install matrix
Reply
#50
(2014-05-30, 09:11:25)Tzvook Wrote:
(2014-05-30, 07:27:14)xxdex Wrote: if You can, share it please. i will test it and maybe find some more idea'a for develop this plugin. in what of matrix version are You test it ?

Here is the file, no need to install matrix

Very thank You Tzvook. i'm testing it /
i was tested a several others catalog (item managers) and this is a best catalog in get simple...

how to display a menu in template get simple...?
like categories in catalog: it's possible ?

i want input custom place in template to display a categories in my template.
I see in catalog "template" options and there i have:
Main : , Catalog :, etc...
but i dont know how to call functions from front end template... to display it
it's possible ?

My suggestion for catalog:
option to display a category items:
- ASC,
- DSC,
- custom (likemenu.. change a position in list of items is changing position of item in list)
- date

all categories product in one site - from asc to dsc
and
only 5-6 (custom number) items from promoted category
should have a callback function's to use it in template like:

PHP Code:
<div class="categories">
<
ul>
Catalog_getCategories();
</
ul>
</
div
user plugin: scroll to top
Reply




Users browsing this thread: 3 Guest(s)