Page 2 of 6

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 07, 2018 2:00 am
by straightlight
So pretend it’s stable....
Being pretentious before an official release is irrelevant, since the final release has not yet been released. Better to ask this question once the release will be stable period.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 07, 2018 2:35 pm
by uksitebuilder
For those asking is it worth upgrading, then answer is definitely NO.

It is an ALPHA release and should only be used by developers and testers to find and report bugs.

Likewise when the BETA is released.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 07, 2018 2:47 pm
by davidbfranks
uksitebuilder wrote:
Tue Aug 07, 2018 2:35 pm
For those asking is it worth upgrading, then answer is definitely NO.

It is an ALPHA release and should only be used by developers and testers to find and report bugs.

Likewise when the BETA is released.
I meant once it’s fully released and stable is there is any point upgrading....

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 07, 2018 6:57 pm
by straightlight
Event has not arrived yet. Wait for that future to come before knowing the answer. Back to the future is only a movie.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 07, 2018 7:33 pm
by davidbfranks
Well Daniel said
I plan for 1 week of alpha release while i fix bugs then 1 month of beta so extension developers have time to update their extensions.
It's been a week, no bug fix commits on GitHub,

So I won't hold my breath.....

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 07, 2018 7:37 pm
by straightlight
Correct, it says: plan . Planning is only a pessimist time-period that has been defined. It is not official even though he is already behind schedule.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Thu Aug 09, 2018 11:10 pm
by Richard Lee
What be changing in new version and previous version.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Fri Aug 10, 2018 4:57 am
by straightlight
Read the previous replies about it. All the details are indicated already.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Fri Aug 10, 2018 4:57 am
by davidbfranks
Richard Lee wrote:
Thu Aug 09, 2018 11:10 pm
What be changing in new version and previous version.
Not much, Daniel said:
Added
Bootstrap 4
Font Awesome 5
Jquery 3.3.1
Ability to have search engine index pages in multiple languages.
Added ckeditor back
Template code can now be edited before it processed using lamba functions.
All URL's generated in the catalog controller files now have language= appended to them.
SEO URL's can now replace any normal URL query and not just pre defind ones link product, category, manufacturer pages.
Added a CRON job system so no need for extension developers having to manually add this via the cpanel's.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Fri Aug 10, 2018 1:38 pm
by hydrowire
Template code can now be edited before it processed using lamba functions.
I'm still not able to get OCMOD to work on edited template code using the admin > Design > Theme Editor.

Someone else reported the same issue on github as well: #6758

The code in question is in /catalog/controller/event/theme.php on line 34:

Code: Select all

26: // If you want to modify the output of the template we add a
27:	$this->lambda = function (&$code) use (&$route, &$args, &$directory) {
28:		// If there is a theme override we should get it
29:		$this->load->model('design/theme');
30:
31:		$theme_info = $this->model_design_theme->getTheme($route, $directory);
32: 
33:		if ($theme_info) {
34:			$code = html_entity_decode($theme_info['code'], ENT_QUOTES, 'UTF-8');
35:		}
36:	};
It seems to override all modification code from the modification storage cache with edited code directly from the database, without any OCMOD modification that was previously applied.

I tried to make it work but failed. As edited template code with Theme Editor is per store based, OCMOD is file based, I can't find a solution to this.

Anyone knows how to get OCMOD modification and edited Template code to work well together using the lambda function as claimed?

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Fri Aug 10, 2018 8:05 pm
by straightlight
I did noticed that portion lately as it seem the system/library/template/Twig.php file has also been modified to confine the Twig extension by, instead, using extends. This was, however, discussed on GitHub but I do prefer the use of YAML files rather than the design/theme route since it can provide up to unlimited solutions with the Symphony Engine without interfering with other extension developers.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Mon Aug 13, 2018 6:43 pm
by JNeuhoff
This is probably an old known issue, but it still hasn't been resolved:

Having turned off caching, and then changed the common/header.twig by the built-in theme editor, the change works fine. However, when I change the same file 'catalog/view/theme/default/template/common/header.twig' via OCmod, then only the latter change shows up, the first one done via the theme editor gets ignored.

The simple solution would be for the OCmod: When it loads the template file to be modified, it should also check whether there are other changes already done it from the theme editor, e.g. do a simple DB query first:

Code: Select all

$modified_template = $this->model_design_theme->getTheme( $route, $theme_directory )
If it detects prior changes, use the code from that DB query for further modification by OCmod, otherwise use the original template file for the modification by OCmod.

---------------------------------------

Actually, after having done some more tests, the template changes from the theme editor never appear to show up at all, regardless whether there are also OCmod changes or not.

This whole OpenCart theme fiasco gets increasingly messy with each new release.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 14, 2018 10:09 pm
by davidbfranks
Daniel wrote:
Wed Jul 25, 2018 9:02 pm

I plan for 1 week of alpha release while i fix bugs then 1 month of beta so extension developers have time to update their extensions.
So 3 weeks later almost no progress by the looks of things.....

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Wed Aug 15, 2018 8:04 am
by MonolithForge
Thanks for waiting on php 7. We're running Slackware 14.2 and are stuck with 5.6 at the moment ;-)

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Fri Aug 17, 2018 11:55 am
by mag-developer
Daniel wrote:
Wed Jul 25, 2018 9:02 pm
...
Added
Bootstrap 4
Font Awesome 5
Jquery 3.3.1
...
Great news!
It would be nice to have an updated version of the Swiper in the distribution, since version 3.x is no longer supported and the API was changed by the developer.
and Magnific Popup as well.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 21, 2018 2:33 am
by davidbfranks
So almost a month now, no progress....

Over a year since the last release.

I'm beginning to get very fed up with OpenCart.

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 21, 2018 4:46 am
by IP_CAM
davidbfranks wrote:
Tue Aug 21, 2018 2:33 am
I'm beginning to get very fed up with OpenCart.
But why ? Do they owe you something ? 8)
Ernie

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Tue Aug 21, 2018 2:00 pm
by davidbfranks
IP_CAM wrote:
Tue Aug 21, 2018 4:46 am
davidbfranks wrote:
Tue Aug 21, 2018 2:33 am
I'm beginning to get very fed up with OpenCart.
But why ? Do they owe you something ? 8)
Ernie
You’ve always got a smart answer haven’t you, do you not have anything else better to do?

What about the fact I’ve invested thousands of pounds into the OC Marketplace which they directly benefit from?

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Wed Aug 22, 2018 3:39 pm
by ravikumar22
Daniel wrote:
Wed Jul 25, 2018 9:02 pm
Ok Guys,

Finally after many months a new version is nearly ready.

Please remember this is an alpha release and should not be used on a live site. Its also recommended to use php 7 or above.

Download
https://github.com/opencart/opencart/ar ... 0.0_a1.zip

Added
Bootstrap 4
Font Awesome 5
Jquery 3.3.1
Ability to have search engine index pages in multiple languages.
Added ckeditor back
Template code can now be edited before it processed using lamba functions.
All URL's generated in the catalog controller files now have language= appended to them.
SEO URL's can now replace any normal URL query and not just pre defind ones link product, category, manufacturer pages.
Added a CRON job system so no need for extension developers having to manually add this via the cpanel's.

Fixed
https://github.com/opencart/opencart/co ... a5b719d+34

Issues can be reported here:
https://github.com/opencart/opencart/issues

There are still many bugs to be fixed. If you find an issue please make a sure its not already been reported.

I also plan to add a GDRP and cookie policy system for EU users while its still in Alpha.

I plan for 1 week of alpha release while i fix bugs then 1 month of beta so extension developers have time to update their extensions.

After this release is finished i have a big list of new features i will be adding.
Hi Daniel,
Thanks for the Releasing New Version. :) ;) ;D
and thanks for adding the "CRON job" system.
I didn't' understand this line. "Template code can now be edited before it processed using lamba functions."
you mean "Lambda function"?
also, I want to say. I had found many bugs in the released package whenever you release the new version. so I wish you must test the released version before final version launch. many of my customers just run away due to when I upgrade to the new version. I always get the bug in the new version. that's very frustrating.
since I always fixed that thing. but the bug in core opencart release files. that is not good. I hope you understand.
thanks,
ravi :)

Re: OpenCart Alpha 3.1.0.0 has been released

Posted: Wed Aug 22, 2018 4:37 pm
by affect
Added
Bootstrap 4
Font Awesome 5
Jquery 3.3.1
Ability to have search engine index pages in multiple languages.
Added ckeditor back
Template code can now be edited before it processed using lamba functions.
All URL's generated in the catalog controller files now have language= appended to them.
SEO URL's can now replace any normal URL query and not just pre defind ones link product, category, manufacturer pages.
Added a CRON job system so no need for extension developers having to manually add this via the cpanel's.
Library updates are great, but I'd say a little underwhelming, considering it's been more than a year of development.

And it's pretty much all developer stuff, too – little tangible benefit for store owners who care nothing for libraries and template code and need robust, powerful and user-friendly e-commerce.

It will take more than that to keep OpenCart relevant for end users in 2018.