Post by davidbfranks » Tue Aug 07, 2018 2:47 pm

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....

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London

Post by straightlight » Tue Aug 07, 2018 6:57 pm

Event has not arrived yet. Wait for that future to come before knowing the answer. Back to the future is only a movie.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by davidbfranks » Tue Aug 07, 2018 7:33 pm

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.....

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London

Post by straightlight » Tue Aug 07, 2018 7:37 pm

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Richard Lee » Thu Aug 09, 2018 11:10 pm

What be changing in new version and previous version.

Newbie

Posts

Joined
Wed Dec 06, 2017 11:03 pm

Post by straightlight » Fri Aug 10, 2018 4:57 am

Read the previous replies about it. All the details are indicated already.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by davidbfranks » Fri Aug 10, 2018 4:57 am

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.

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London

Post by hydrowire » Fri Aug 10, 2018 1:38 pm

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?

Developing Quality OpenCart Extensions since 2011.
View my extensions


User avatar
Active Member

Posts

Joined
Wed Jan 26, 2011 5:41 pm


Post by straightlight » Fri Aug 10, 2018 8:05 pm

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by JNeuhoff » Mon Aug 13, 2018 6:43 pm

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.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by davidbfranks » Tue Aug 14, 2018 10:09 pm

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.....

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London

Post by MonolithForge » Wed Aug 15, 2018 8:04 am

Thanks for waiting on php 7. We're running Slackware 14.2 and are stuck with 5.6 at the moment ;-)

Newbie

Posts

Joined
Sat Jul 14, 2018 3:13 am

Post by mag-developer » Fri Aug 17, 2018 11:55 am

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.

User avatar
Newbie

Posts

Joined
Sat Mar 18, 2017 12:19 am

Post by davidbfranks » Tue Aug 21, 2018 2:33 am

So almost a month now, no progress....

Over a year since the last release.

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

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London

Post by IP_CAM » 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

User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by davidbfranks » Tue Aug 21, 2018 2:00 pm

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?

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London

Post by ravikumar22 » Wed Aug 22, 2018 3:39 pm

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 :)

Image
:) :D :( :o OpenCart Support | Please email at: devinlabsolutions@gmail.com :drunk: :laugh: :)


User avatar
New member

Posts

Joined
Sun Apr 12, 2015 6:33 am

Post by affect » Wed Aug 22, 2018 4:37 pm

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.

MultiMerch Marketplace for OpenCart

Image


User avatar
Active Member

Posts

Joined
Sat Aug 13, 2011 5:04 pm


Post by paulfeakins » Wed Aug 22, 2018 7:44 pm

Thanks very much for all your hard work Daniel!

Cron job system sounds pretty cool!

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by davidbfranks » Thu Aug 30, 2018 11:20 pm

Daniel wrote:
Wed Jul 25, 2018 9:02 pm
Ok Guys,

Finally after many months a new version is nearly ready.

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.
@Daniel

It's been over a month since you posted this, any progress or updates at all.....?

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London
Who is online

Users browsing this forum: No registered users and 43 guests