Topic: Migrating to Revolution  (Read 32514 times)

Pages: 1 2 [3] 4 5   Go Down

#41: 30-Jan-2008, 02:34 PM

Coding Team

sottwell
Posts: 10,529

WWW
Apparently so, because a snippet I've been using for some time now in 0.9.6 to output the SESSION array as a tutorial device doesn't work for the latest 0.9.7 that I just installed a few days ago. Fortunately for me, print_r has a "return" mode where it puts its output into a variable, so I can have the snippet return that along with the <pre> formatting tags.
sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html

#42: 30-Jan-2008, 02:53 PM

Foundation

OpenGeek
MODx Co-Founder
Posts: 6,956

damn accurate caricatures...

WWW
Actually, it sounds like the output buffer is not capturing the output from snippet execution.  I'll look into it and resolve it if that's the case, though I will still recommend that you output either directly from the snippet or to a placeholder rather than using echo, print, etc.  At the very least, you can wrap the code that uses such in your own output buffer and return that from the snippet/put into a placeholder; that should also provide a quick fix for you until I can get to it (or someone else figures it out).
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @ Collabpad
work productively.
work intelligently.
work together.
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
  Frank Zappa

#43: 31-Jan-2008, 09:02 AM

Coding Team

BobRay
Posts: 5,354

WWW
I noticed another quirk. On the File tab in the manager, clicking on any of the subdirectories creates a copy of what's already there. There's no way to navigate to the deeper levels since every new level is just a copy of the root directory.

I have no .htaccess file and FURLs are off. The paths in Tools | Configuration all look correct. Am I missing something?

Bob
 
MODx info for newbies: http://bobsguides.com/MODx.html

#44: 31-Jan-2008, 09:22 AM

Moderator

splittingred
Posts: 1,512

i am alt-country rock

WWW
I noticed another quirk. On the File tab in the manager, clicking on any of the subdirectories creates a copy of what's already there. There's no way to navigate to the deeper levels since every new level is just a copy of the root directory.

I have no .htaccess file and FURLs are off. The paths in Tools | Configuration all look correct. Am I missing something?

Bob
 

BobRay - due to the Ext2 migration, the 3rd party plugin we were using for that had to be removed. We've been in the process of writing a file/directory browser from scratch, but it's not done.

So, in essence, don't expect the file browser to work perfectly yet.
shaun mccormick | modx foundation
modx revolution | jira bugtracker | official docs | svn tracker | api docs

#45: 31-Jan-2008, 09:34 AM

Moderator

splittingred
Posts: 1,512

i am alt-country rock

WWW
BobRay - due to the Ext2 migration, the 3rd party plugin we were using for that had to be removed. We've been in the process of writing a file/directory browser from scratch, but it's not done.

So, in essence, don't expect the file browser to work perfectly yet.

Actually strike that - it works on the latest rev, minus the Upload Files option...what revision are you using?
shaun mccormick | modx foundation
modx revolution | jira bugtracker | official docs | svn tracker | api docs

#46: 31-Jan-2008, 09:35 AM

Coding Team

BobRay
Posts: 5,354

WWW
[BobRay - due to the Ext2 migration, the 3rd party plugin we were using for that had to be removed. We've been in the process of writing a file/directory browser from scratch, but it's not done.

So, in essence, don't expect the file browser to work perfectly yet.

Thanks. Glad to know it's not a config. error on my part.
The files are on my local machine, so I don't really need the file browser.

Bob
MODx info for newbies: http://bobsguides.com/MODx.html

#47: 31-Jan-2008, 02:22 PM

Coding Team

BobRay
Posts: 5,354

WWW
I've got a barely presentable first approximation of my 0.9.7 migration page up.

Please let me know if I've said anything that will get people into trouble or skipped any important steps.

I'd also appreciate any comments on errors, suggested additions, and clarifications.

http://bobsguides.com/Migrating-to-097.html

Bob
MODx info for newbies: http://bobsguides.com/MODx.html

#48: 31-Jan-2008, 04:39 PM

Foundation

OpenGeek
MODx Co-Founder
Posts: 6,956

damn accurate caricatures...

WWW
Great stuff BobRay -- I'll take a look in detail this evening and get you some feedback (especially on the user/security stuff), but overall, this is a great pioneering effort and will be invaluable in determining some of the finer points of the process in preparation to automate it.  Thanks again for taking the initiative and sharing your experience.
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @ Collabpad
work productively.
work intelligently.
work together.
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
  Frank Zappa

#49: 31-Jan-2008, 10:21 PM

Coding Team

BobRay
Posts: 5,354

WWW
Great stuff BobRay -- I'll take a look in detail this evening and get you some feedback (especially on the user/security stuff), but overall, this is a great pioneering effort and will be invaluable in determining some of the finer points of the process in preparation to automate it.  Thanks again for taking the initiative and sharing your experience.

Thank you for the kind words.

BTW,  I'm working on getting Wayfinder working and it appears that some things are missing from the modx-components SVN archive you posted. The Wayfinder class file is there but the actual snippet code and the config directory are missing. I tried using re-writing the old Wayfinder 2.0 snippet code but couldn't get it to work.

I think the snippet code might also be missing from the Ditto trunk there.

Bob
MODx info for newbies: http://bobsguides.com/MODx.html

#50: 31-Jan-2008, 11:00 PM

Coding Team

BobRay
Posts: 5,354

WWW
I've got few more quirks in the 0.9.7 manager.

1. On the elements tab, the file tree at the left duplicates all my categories under every heading. I don't know if this is a bug in the tree display (like the one in the file manager tree listing), by design, or if it's because my imported categories are messed up.

2. I think I mentioned this before, but I can't edit locked chunks even though I'm the admin and the only user.

3. The site preview function flashes the site preview on the screen, then hides it behind the Manager window in IE7 (but not in FF). Once I select the preview window on the task bar, it shows normally. If I keep the mouse off to the side, the preview window is not hidden until I move the mouse over it.

4. This is a little iffy, but I think clearing the site cache might not always clear the snippet cache. I cleared the cache twice in a row with no preview or editing in between and these two lines showed up as having been deleted both times (but not the third time).
 
C:/xampp/htdocs/Mysite/core/cache/web/elements/modSnippet/4.cache.php
C:/xampp/htdocs/Mysite/core/cache/web/elements/modSnippet/5.cache.php

This may just be a reporting problem rather than a failure to clear the snippet cache.

I would have posted 2 and 3 on Trac, but I didn't know whether they belonged under 0.9.7 or 0.9.7-beta.

Bob
 
MODx info for newbies: http://bobsguides.com/MODx.html

#51: 31-Jan-2008, 11:03 PM

Moderator

splittingred
Posts: 1,512

i am alt-country rock

WWW
Great feedback BobRay.

Post things under 0.9.7-beta. If in doubt, pick one and we'll adjust for you. Smiley

Shaun
shaun mccormick | modx foundation
modx revolution | jira bugtracker | official docs | svn tracker | api docs

#52: 31-Jan-2008, 11:18 PM

Coding Team

sottwell
Posts: 10,529

WWW
BTW,  I'm working on getting Wayfinder working and it appears that some things are missing from the modx-components SVN archive you posted. The Wayfinder class file is there but the actual snippet code and the config directory are missing. I tried using re-writing the old Wayfinder 2.0 snippet code but couldn't get it to work.
I believe the only thing you need to do to the Wayfinder snippet is to change documentIdentifier to resourceIdentifier.
sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html

#53: 31-Jan-2008, 11:22 PM

Coding Team

BobRay
Posts: 5,354

WWW
Great feedback BobRay.

Post things under 0.9.7-beta. If in doubt, pick one and we'll adjust for you. Smiley

Shaun

Thanks. When I went to post, 0.9.7-alpha was the only choice.   Smiley

Bob
MODx info for newbies: http://bobsguides.com/MODx.html

#54: 1-Feb-2008, 12:28 AM

Coding Team

BobRay
Posts: 5,354

WWW
BTW,  I'm working on getting Wayfinder working and it appears that some things are missing from the modx-components SVN archive you posted. The Wayfinder class file is there but the actual snippet code and the config directory are missing. I tried using re-writing the old Wayfinder 2.0 snippet code but couldn't get it to work.
I believe the only thing you need to do to the Wayfinder snippet is to change documentIdentifier to resourceIdentifier.

Looking at the diffs here (http://svn.modxcms.com/crucible/browse/modx-components) made me think there were a fair number of changes. It looks like some of the member functions have a different number of arguments.

Bob
MODx info for newbies: http://bobsguides.com/MODx.html

#55: 1-Feb-2008, 01:01 AM

Coding Team

sottwell
Posts: 10,529

WWW
ah, right... I'm using Wayfinder 1.0.1
sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html

#56: 1-Feb-2008, 01:53 AM

Foundation

OpenGeek
MODx Co-Founder
Posts: 6,956

damn accurate caricatures...

WWW
The translated Wayfinder 2.0 was working as originally translated.  I think splittingred started trying to refactor it and the current HEAD revision of that branch is not functional.  I believe revision 18 was working...

http://svn.modxcms.com/crucible/changelog/modx-components/wayfinder?cs=18
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @ Collabpad
work productively.
work intelligently.
work together.
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
  Frank Zappa

#57: 1-Feb-2008, 11:37 AM

Coding Team

BobRay
Posts: 5,354

WWW
The translated Wayfinder 2.0 was working as originally translated.  I think splittingred started trying to refactor it and the current HEAD revision of that branch is not functional.  I believe revision 18 was working...

http://svn.modxcms.com/crucible/changelog/modx-components/wayfinder?cs=18

I've never seen this one before (TSVN's response going to the URL above):

"Error * PROPFIND request failed on '/crucible/changelog/modx-components/wayfinder%3Fcs=18' PROPFIND of '/crucible/changelog/modx-components/wayfinder%3Fcs=18': 501  Method_PROPFIND_is_not_defined_in_RFC_2 068_and_is_not_supported_by_the_Servlet _API_  (http"

Bob



MODx info for newbies: http://bobsguides.com/MODx.html

#58: 1-Feb-2008, 12:14 PM

Foundation

OpenGeek
MODx Co-Founder
Posts: 6,956

damn accurate caricatures...

WWW
Sorry, my bad.  That's a human readable changelog view BobRay, not an SVN url.
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @ Collabpad
work productively.
work intelligently.
work together.
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
  Frank Zappa

#59: 1-Feb-2008, 01:07 PM

Coding Team

BobRay
Posts: 5,354

WWW
I should have figured that out myself  Embarrassed

I got both the snippet and class files for version 18 (2.0.97) from that site and pasted them in, but the minimal Wayfinder call still gives no output at all:

Code:
[[Wayfinder? &startId=`0`]]

I have the default config directory (from the 0.9.6 version 2.0) in place. I don't know what else to try.

It's hard to work on the site without Wayfinder working.

Bob
MODx info for newbies: http://bobsguides.com/MODx.html

#60: 1-Feb-2008, 01:09 PM

Coding Team

BobRay
Posts: 5,354

WWW
The 0.9.6 version of Personalize is working (sort of) although it never sees me as logged in in site preview mode. I'm just on as the admin so I'm not sure if that's normal or not.

Bob
MODx info for newbies: http://bobsguides.com/MODx.html
Pages: 1 2 [3] 4 5   Go Up
0 Members and 1 Guest are viewing this topic.