Jump to content

lightinthedark

Members
  • Posts

    66
  • Joined

  • Last visited

Everything posted by lightinthedark

  1. I expect you'll need to either find some common trait (eg that they're all of class "module" or some such) and specify a css rule that targets that class, or find all the ids that are used and treat them individually. I'd say the first approach is better if you can find some unifying feature. Firebug in firefox will help you enormously as you can click elements on the page to see their attributes and which styles are applied to them and even try out adding rules etc. Without seeing the actual page it's hard to be more specific.
  2. My 2pence: * None of the column names is underlined: the "session_id" and "client_id" column names have an underscore in them instead of a space because you aren't allowed to have spaces in column names. * Column names are not generally case sensitive ("client_id" is the same as "client_ID") but it couldn't hurt to make sure that the column names listed in phpmyadmin look the same as the columns listed in that error message. * If not all the columns listed in that error are present in the jos_session table when you look in phpmyadmin then you could try to modify the table has them * If you've still got your original download of Joomla 1.0 you may be able to look in the installation folder then sql then joomla.sql and find the structure for the jos_session table. If you find that you could drop the existing table and re-run the query from your original installation and see if that puts things back to how they should be (nothing of permanent importance is in jos_session, so this should be pretty safe... but you should always backup before doing anything that might cause harm) * I'd guess this could only have happened if you've changed something on the server or maybe installed a new component/module. Maybe you accidentally (somehow) installed a 1.5 component and it altered the database structure? * Maybe this is your server's way of telling you it wants you to upgrade to Joomla 1.5 and perhaps you should take the hint? Sorry I can't offer a more concrete solution, but hopefully this gives you some directions to explore.
  3. Thought it was really powerful. Good find. On a lighter note, did you notice how the UK did all its test on the other side of the planet from our home? Given that it was (unfortunately) going to happen _somewhere_, I think someone made a good call there.
  4. Well, it doesn't make my eyes bleed with flashy wizzy wassnames and doodas, which I count as a good thing, but an 8 year old may not. I guess it all comes down to target audience. Who is the site for? If it's for adults (parents) you are probably about right with what you have. If it's for the kids, then a few more colourful / interesting things might be nice (multiple pics instead of one big one, etc). Different users == different desires, so survey your market a little more widely I'd suggest (assuming that edugeekers aren't your market). Best of luck. :-Dave
  5. Am a regular visitor to onemorelevel. Red remover was a good game. The third bonus level in the dark was probably the hardest to get gold on. Personally, I've had a soft-spot for Hex empire (Risk-ish) for a while along with Colour shift (puzzle-ish) depending on what mood I'm in.
  6. Hi, Sorry for my earlier comment which has since been deleted due to the trollish nature of it (grumpy morning). In response to the question "Who actually cares about the correct use of apostrophe's ?" (also since removed): I do, and so do many other people. Apostrophes can change the meaning of a sentence, and when misused are a "mental speed bump" when reading. It's just more pleasant to read a gramatically correct question. Sorry if my original terse response caused offense. Meanwhile, on the subject of your original question, I refined the search that I originally suggested, and have managed to find what looks to be a promising document which seems to provide reasonably detailed information on what merseyside police would like a cctv system to provide: http://www.merseyside.police.uk/Docs/sefton/cctv.pdf and north yorkshire police (possibly the same document based on a quick skim) http://www.islandautomatics.co.uk/cctv35.doc If those don't provide you with all the information you need then I would have to agree with JJonas that the police are probably the best people to ask. If you don't want to talk to the police (for whatever reason), I have a friend who is working on a CCTV contract at the moment; I could ask him if he knows anything that might help you. Best of luck sorting this out.
  7. That's quite special
  8. Alternatively (and I know it's a cliche) use firefox (probably opera too). In FF if you use +<+> or +<-> the page and everything on it is scaled up/down.
  9. If you're a newbie to MSSQL server management then I'd strongly suggest that anything you do there you do first on a test / sample database, not live data. In theory you should be able to backup SIMS and restore the database under a different name then be able to poke that database as much as you like with minima risk to the SIMS db. Even better would be if you could do the restore on a physically separate box as that (I think) eliminates any risk to the live db. Depending on your long-term goals here it may be worth finding out any licensing issues that may trip you up later (Capita can be quite protective of "their" database schema so I hear). The last thing you want is to spend time creating something that you are then told you're not allowed to use. You might want to investigate using the commandreporter.exe tool (allows you to run SIMS reports from the DOS prompt) as an alternative way of extracting your data. Good luck finding your way. I hear that the database is an unholy mess of hundreds of barely normalised tables. The commandreporter may actually end up being easier to use (though slightly less flexible), and still gives you access to SIMS's internal ids for some fields if you need them if you export as xml. Good luck. Hello :-Dave
  10. With great power comes great responsibility ... and you're giving this to teachers How good are your backups? How good is your support agreement? Hello :-Dave
  11. @FABEnterprises: In this context "FOR XML PATH" is being used to compensate for MSSQL not having a "GROUP_CONCAT" function like MySQL does which allows for multiple rows to be combined into a single column on a single row. It takes the data from the SELECT inside the REPLACE and puts it all as one line of text which REPLACE then formats a bit more nicely ... in theory. Pretty clever way of bypassing some of MSSQL's limitations if you ask me. @Penfold: As I'm sure you're aware you shouldn't be poking the SIMS database. Naughty naughty. As for the query, it looks ok to me (though I'd have indented it differently :-P ) . and I see no reason why it shouldn't run fine. Really. I expect that if I ran this exact query on our server it'd come up with half a dozen nicely formated rows. Have you tried running just the subquery in the REPLACE on its own? Building up the whole query bit by bit? If you make any progress I'd be very interested to know how you get on. Another alternative is to use the commandreporter tool to grab all the relevant data to a csv or some such then import it into a database that allows you to do useful things like GROUP_CONCAT ... such as MySQL. Sorry it's not a more helpful answer. [edit] Looking at the reporting options within SIMS, it seems entirely possible to get the multi-row version of what you are after by using subreports and the like. Is it too much hardship to manually copy the UPNs for a contact's multiple children into a single entry/cell/whatever ? I know it's a manual process and therefore sucks, but it could be a heck of a lot easier in the short term. I guess the question is: how often are you going to need to do this? [/edit] [edit2] Having just run a report that I think gets the data you're after (but on multiple lines per contact) I get quite a few results, so maybe a manual process isn't a good fit. If you export the results of such a report to csv or xml then I'm sure you could use any number of linux-based text editing tools (sed, awk, etc.) to post-process the result list. Heck, I'm pretty sure that Excel has some sort of mechanism to do this (pivot tables?) if you get the data in there. Basically I'm saying that this may be a cat better skinned outside of MSSQL. [/edit2]
  12. Woo yeah! Go Tim :-D
  13. So bad it took a second reading to get it.
  14. IE8 on xp core2duo + slashdot = dog slow but no crash.
  15. Our department has a graphic designer who does stuff for the staff most of the time but they sometimes do websites and such for other schools. Send me a pm with some sort of spec and I'll give you our appropriate contact details. Hello :-Lightinthedark
  16. Alternatively (if you're not on friendly terms with the science techs?) I have used nail varnish remover in the past which has worked well for me. Just a quick wipe and it should work better.
  17. There's some deep stuff happening elsewhere I suspect, but my first attempt would be to replace: var lc = document.getElementById('left-column'); var rc = document.getElementById('right-column'); if ( lc && rc ) { tagname = 'haslayouttable rightandleftcolumn'; } else if (lc) { tagname = 'haslayouttable onlyleftcolumn'; } else if (rc) { tagname = 'haslayouttable onlyrightcolumn'; } else { tagname = 'haslayouttable onlymiddlecolumn'; } with tagname = 'haslayouttable onlymiddlecolumn'; From the look of it, that's what defines which columns get the special treatment. Hello :-Dave
  18. Having not seen the edugeek template or the specific css you're talking about this is just a guess: if you make the style rule that sets list-style-type to none more specific then you should be in happy land again. so, for example change: ul { list-style-type: none; } to div.menumoduel ul { list-style-type: none; } (or something close. Use firebug's "inspect" to find the class name of an appropriate element that is always and only around the menu lists) That way the "none" type will only be applied to the menu lists, meanwhile all other lists enjoy an un-fettered existence of bulletted goodness. Hello :-Dave
  19. We're working on a web-based system (named Arc) which allows teachers to take registers online and also allows parents / pupils (depending on access control settings) to see the data live. Arc also contains a report-writing section and a markbook (all parental accessible if you want). It is built as a set of components for Joomla, and we're looking at rolling out a trial version to a few schools next month. It sounds like you may be interested in this once it's ready for general release. I'll post some sort of announcement when we're ready to release, but if you are interested in the meantime feel free to PM me for more details. Hello :-Dave
  20. Sounds like a permissions issue. Check that the file named is writable by the web process, and that there aren't php safe-mode restrictions stopping scripts from writing files. Without more detail about your setup that's the most I can suggest. Perhaps someone with more knowledge can suggest other things to check? Hello :-Lightinthedark
  21. If I've understood correctly, you're asking the user to enter a url which you later want to use in your feedback form. Sending this through GET will confuse things because any query string in the url will be interpreted as a query string for the current page. I don't think you can encode the value on form submission (to make the $_GET['url'] not stop on the first "&" thinking it's reached the end of the 'url' part), so to my mind the answer is to use POST. Change the method of your form (method="post"), and look in the $_POST[] array instead of $_GET. Things should be a lot more straightforward there. If I've not understood quite right, then maybe PHP: urlencode - Manual and/or PHP: urldecode - Manual could be helpful? Hello :-Dave
  22. ... and with straight women too. Although they hide it better than us guys, I'm pretty sure that women have a sex-drive as well. Hello :-Dave
  23. 'Grats. Best wishes for your life together :-)
  24. I'd imagine: in the same place as you put "background: black" or whatever you did, add "color: white". You should end up with something like: h1 { background: black; color: white; } in the css file. If you've changed the background some other way and don't know which files might contain which rules for the part you want to change (on whatever site this is), then you can use firebug to inspect the element and see what rules apply to it and what files they're in. Hello :-Dave
×
×
  • Create New...