-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate from Evo 1.0.13 #451
Comments
That shouldn't be a problem, no need to take other steps. |
Thanks for the quick response. So that means I can jump directly up to 1.3? |
Yes, not sure about minimum system requirements. PHP 5.6 or later would be advisable. |
I would wait for 1.4 which is imminent. |
I would go for 1.2.1 first. Then 1.3.6 or wait for 1.4 (should be released soon). |
Does that mean Ditto has now been officially binned, will there now be no more backward compatibility with newer Evo versions Although it's been claimed many a time, DocLister does not do everything Ditto does |
It is not binned. Ditto is being maintained a lot to be as much as possible compatible with new EVO and latest PHP. But Ditto code is old and dev team is focused on DocLister. It should be used instead of Ditto where possible to get best compatibility and performance results. I've been playing with DocLister for a few months and it is very powerful and rather easy to make a transition from Ditto. And now I'm not that sure if it cannot do all that Ditto does :) We still need to work on better, more detailed (english) documentation though, but DocLister should be your choice in new projects. |
As I am not a PHP'r it is hard for me to understand why it's not possible to make DocLister do exactly what Ditto can - that would make the choice of moving over easy I fully appreciate that NEW in some cases is better, but backward compatibility has been and always should be a priority Evo isn't just used by those who post here in GitHub, but I get the feeling that that is forgotten a lot nowadays In my opinion what should also be taken into consideration is people have custom code built around the default snippets and plugins that came with Evo for many many years - there is a cost factor that should be taken into consideration, having to re-code custom code is costly |
@modxuser Show me what Ditto can and what DocLister can not? |
Tagging - this discussion has already been mentioned Just found the post: #176 (comment) Maybe reading the whole thing from start would be more beneficial :) |
|
Your call uses a bespoke table - Ditto doesn't |
@modxuser $out = $modx->runSnippet('DocLister', array(
'debug'=>'0',
'id'=>'sidebar',
'display'=>'7',
'depth'=>'3',
'tpl'=>'Posts_sidebar',
'controller'=>'site_content_tags',
'summary'=>'notags,len:65',
'parents'=>'150',
'tvList'=>'CatLists,img',
'showParent'=>'0',
'addWhereList'=>'template IN (11)',
'paginate'=>'pages',
'tagsTV'=>'7',
'TplWrapPaginate'=>'@CODE: ',
'orderBy'=>'id DESC',
'offset'=>'2',
'tagsData'=> $modx->documentObject['id'] != 1 ? 'then=`static:'.$modx->documentObject['id'] : '',
'prepare' => function($data, $modx){
$data['CatLists'] = $modx->runSnippet('CategoryList', array(
'sep' => '||',
'data' => $data['tv.CatLists'],
'outSep' => ', ',
'tpl' => '@CODE: <a href="[+url+]" title="[+e.title+]">[+title+]</a>',
));
return $data;
}
)); |
@modxuser |
and whats a controller ? Can Doclister now replicate all the following: Here the tagging extender: |
Read the documentation
Yes, the example above is written |
Your answer is nice - I have read the docs, but still dont understand what is implied with it site_content_tags So you need a seperate plugin, or do I see that false ? |
Can you also translate this:
|
@modxuser |
Read the documentation, еverything is written |
Obviously you dont want to understand me - the docs are not fully comprehensive for someone who isnt a developer And I have also mentioned it, not once, not twice, multiple times - I am not a PHP developer, you have code in the call that I can not understand let alone write and I guarantee you, I am not the only one |
@modxuser |
Very helpful indeed |
@modxuser |
Can you not read (#451 (comment)) ? I have read the docs I actually re-wrote them when I re-built the whole English documentation site |
@modxuser |
I give up |
I cannot agree more with this statement. There certainly was no vote or referendum on ditto usage - if there was I know what I would have voted for. For new sites, sure DocLister could be learnt and used instead. But for existing Evo sites that have come from 1.2.1 previously, it is not time / cost feasible to replace Ditto with DocLister for every single site. Working backwards compatibility has got to be a priority or the usage / community is going to shrink even more. Please consider and engage the Evo user community before making wholesale changes that have the potential to leave many sites stranded. What if there is a critical security update that needs to be done? Doing those updates for client sites is time consuming and stressful enough to turn around in a timely manner without also having to test / fix / replace Ditto calls that aren't working and breaking the site. Who absorbs that forced time cost? The web designer or our clients? And why should either? I think we need a "Ditto to DocLister converter plugin" to help transition existing sites to DocLister for older sites if Ditto is going to stop working. The improvements, enhancements and maintenance by the EvolutionCMS developers is to be applauded with the utmost gratitude. You're doing an amazing job. But please keep in mind that existing users need backwards compatibility as a priority and engage your userbase on these big decisions. Out of interest: Is there another fork from 1.2.1 that is being maintained and more mindful of backwards compatibility? |
Ditto work on 1.4 not see problems. But by default move from core to extras.
Last year i use DocLister and not see case where need Ditto.
We start new site for docs : docs.evo.im - is multilangs and build on files from github if you want you can with translate and add question if some not understand we help ;)
Отправлено с iPhone
… 23 янв. 2018 г., в 03:51, nick0 ***@***.***> написал(а):
I fully appreciate that NEW in some cases is better, but backward compatibility has been and always should be a priority. Evo isn't just used by those who post here in GitHub, but I get the feeling that that is forgotten a lot nowadays. In my opinion what should also be taken into consideration is people have custom code built around the default snippets and plugins that came with Evo for many many years - there is a cost factor that should be taken into consideration, having to re-code custom code is costly
I cannot agree more with this statement. There certainly was no vote or referendum on ditto usage - if there was I know what I would have voted for. For new sites, sure DocLister could be learnt and used instead. But for existing Evo sites that have come from 1.2.1 previously, it is not time / cost feasible to replace Ditto with DocLister for every single site. Working backwards compatibility has got to be a priority or the usage / community is going to shrink even more. Please consider and engage the Evo user community before making wholesale changes that have the potential to leave many sites stranded.
What if there is a critical security update that needs to be done? Doing those updates for client sites is time consuming and stressful enough to turn around in a timely manner without also having to test / fix / replace Ditto calls that aren't working and breaking the site. Who absorbs that forced time cost? The web designer or our clients? And why should either?
I think we need a "Ditto to DocLister converter plugin" to help transition existing sites to DocLister for older sites.
The improvements, enhancements and maintenance by the EvolutionCMS developers is to be applauded with the utmost gratitude. You're doing an amazing job. But please keep in mind that existing users need backwards compatibility as a priority and engage your userbase on these big decisions.
Out of interest: Is there another fork from 1.2.1 that is being maintained and more mindful of backwards compatibility?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I've updated about 15 sites to 1.4, without replace Ditto with Doclister. You just need to update Ditto from Extras module and everything will work as before.But I understand the issue and personally I would have preferred to keep Ditto for a couple of versions, to make updates easier. ABOUT TAGS Just to check if it was possible, a few months ago I did a test on a test site (tattoocms) to replace Ditto with Doclister with the main goal of keeping everything as it was before. Why? because my clients they would not accept a change in URL that affects SEO just for an upgrade. With a couple of modification to the nice code posted by @pmfx here #176 (comment) Results: |
Yes, you can use Ditto but install from Extras and no problems i not see any problems. |
The main issue is Doclister parameters does not fit Ditto parameters. I think, most recent evo/modx users does not know, but originally there was NewsListing snippet before Ditto. Ditto replaced NewsListing about 10 years ago. The same happended with DropMenu snippet that was replaced by WayFinder, I believe this is what the users expected from Doclister, FormLister and DLMenu: an easy updateNew components are always welcome when the upgrade is painless ;) |
@Nicola1971 Tags and TvTagCloud have been my hangup too. Do you have a plug-n-play package to get these working? This is making me dizzy. |
@risingisland I did it some time ago. it's 99% @pmfx code, with some modifications I will try to move and replicate on a localhost site with a clean demo content. So i can try to do a "package" in some way, maybe with a small How To. |
Hope this help :) Feel free to improve or fix |
@Dmi3yy - Just an idea before go to bed:
At least for critical extras like Ditto, eform.
We can bundle in next releases for some times (from 1.4 to 2.0) and help all users to have a nice upgrade experience. 😃 |
i dont know how to do it, but i dont think is too much complicated: just a check if version < X |
or
|
we can close 😃 |
Bookmarked and thank you for the work you have shared, I will, as soon as I have time, look into this again |
Since the project is not in the hands of modxcms i was wondering if it is still upgradable and what would be best practice.
I have a very old 1.0.13 MODx Evolution site. Can i directly upgrade to 1.3.x or do I have to take additional steps in between?
--- Update
I upgraded without any hazzle up to 1.4 rc thx for all the quick responses! This issue can be set to solved
The text was updated successfully, but these errors were encountered: