On Wed, 18 Dec 2002, Jamie McClelland <jmcclelland@...>
>DAVE! This is amazing.
> You've been really busy.
yes, a bit.
> I still haven't worked out all the details, but I did get through most
>of the code and have figured out the big picture. Great work!
>I fixed the tiny bug that was preventing the tree menu code stored in
>the database to function. I simply changed the double quotes to single
>quotes in the admin_tree_menu_icon.ihtml file. If it was working for
>you before - maybe this will break it on your machine... not sure...
It didn't work initially. All the html came out:
so I did a stripslashes() on the html code after the eval() and it now,
again, works on my system. The question is, does it also still work on
>I also got inspired to fix the category/folder bugs. I think I've rid
>the code of all the old category references. You'll need to re-create
>your database though for it to work (the pt_core_backups still created
>the field as category instead of folder). Now when you save a page the
>backup should succeed.
Great. Actually I'd already changed a few things and your changes caused
a load of CVS Conflicts! A first in Pagetool history I think :-) I've
sorted out the conflicts and just done a commit so all my current
changes are now in CVS. Oh, as part of those commits I made 'folder' an
integer and not a text field. In both pages and the backup table folder
is the id of the folder from the table folders.
> (note - i only changed the metabase schema - it's too much work to
>maintain both metabase and the native mysql schema. I think we should
>just use metabase during development and the dump a new mysql schema
Yes, I've been just making database changes to the Metabase schema as
well. As you say it's quite easy to do a mysqldump and get the MySQL
>I see why you aren't refreshing the folder list on every click (way too
>expensive) - but it's frustrating having to reload the entire frameset
>to get a new page or folder to show up in the list. Would it be
>possible to add a link at the top of the nav frame called "Refresh
>folders" that would only refresh the nav frame and would re-run the
The 'Close All' link currently refreshes the frameset, as well as the
nav frame and the main frame. But a consequence of that is all the
folders close :-(
The idea, eventually, is for the 'Continue' button to refresh the frame
set (it does), hence refreshing the nav tree code and then refreshing
the nav and main frames as well, BUT with the folder tree open to the
current page/folder and, say, the newly added page in edit mode in the
main frame (it doesn't currently). I'm still getting my head around the
pt_admin_nav variable and how it all works and how to calculate it:-)
>I also killed the old menu headers on the top just so it will look prettier.
I'd left them in until now as I kept copying the URL strings :-) But as
you say it does look prettier without. And maybe we need the Pagetool
'splash' blueprint.jpg image on the front page of admin. Or maybe a new
splash image for the new version. As you can see from my icons my
graphical ability is limited so I'll leave mew logo and splash images to
someone else :-)
>I'll be away for 10 days starting saturday (and will be out of email
>touch), but I'll be back in january with a new years resolve to put
>more work into pagetool.
And I'm away as of tomorrow, Friday, not back until 6 Jan.
I've a few thoughts, queries and suggestions that I might set down in
another email, but if I don't get time for that:
To all Pagetool developers and users:
Have a Merry Christmas
Happy and Prosperous
New Year :-)
d a v e