A day of going nowhere
July 24, 2007
OK, so the user login stuff is working now, though those annoying change password bugs are still there (the first box is filled in with some random crap and if you try to submit different password and confirmation you get a list of users to choose from). Going to leave bug fixing for now, though i’ll ask about it on the forums.
Next step is to add the links section – just the manual stuff for now. Functionality:
- The user can click on ‘add a link’, and be presented with a page which is effectively the same as the one they use to add a link to the list page.
- Once added, a link is associated with the article above.
- Links and articles have a many-to-many relationship – an article can have many links and a link can be associated with many articles.
- The user should have the option to add the link to the article list while they’re at it (not all links should be articles in their own right but many of them will probably belong there
This has raised a complication: some links are also articles. Like it says above, when adding a link the user should have the option of ‘promoting’ it to a fully fledged article. That raises the complication of how to store articles and links: originally it was going to be a many to many relationship between articles and links, but if articles can link to other articles as well (which they should i think) then you have a many to many articles-links and a many to many articles-articles.
I’m not sure how to best go about this – maybe it’s better to have a single list of articles but add a field called ‘link’ which is checked for items that aren’t 1st class articles?
title = top.frame1.document.title;
Or inline –
string 2 = (“title = ” + parent.myframe.document.title);
“uncaught exception: Permission denied to get property HTMLDocument.title”
Today’s been a writeoff pretty much. Found a few things out, and maybe worked out why i couldn’t get what i wanted to work, but haven’t actually managed to DO anything. Better luck tomorrow.