Smart
Home
Smart, including smart in my blog, and smart talk in Folkestone.
Blog / forum etc:
Nov12
FAIL
I can't seem to do it, have et my tin of spaghetti bolognaise (nice one Sainsbury's for stocking a vegan friendly version of this convenient lunch again, it's been a while) and have things going round in my mind. BUT trying to take a proper break so as to keep me fresh for the afternoon. If I blog about what I'm thinking about at work do you think that will keep me fresh enough? Here's what's troubling me anyway, I want a smarty plugin that is REALLY REALLY REALLY simple so it can be called like{translate 'hello'}
I've already got the back end actually doing the translation so that's fine, and I know I can do {translate word='hello'}
but I want something even simpler. For a while I tried a modifier instead of a function like{'hello'|translate}
But I want something more. A modifier like that doesn't have access to the $smarty object for one thing, so I can't see (for example) if other things have been assigned on the page without a whole lot of globalising...
Maybe @theHuzz has solved this while I've been writing this, as I twittered it too hoping someone would:
@pauly what about a block function then you could use {translate}hello{/translate} ?
It's a bit longer, and is slightly more complex for my target audience to use but it might do the job. In fact the example here is, um, a translation function.
I will carry on thinking about this after lunch.
Should have spent that time working on making my venue urls look like this as an seo experiment...
2009 :: Comment / reply
Jan4
Pictures
Eminem: Smarter than we think?
Lawks, check this out, if you've not already been sent it:
Followed up a hunch I had with a little bit of research on the web today, and it appears that i've come up with a result. Something in the back of my mind suggested to me that "eminem" was a Latin word and as far as I can discern, so it is. It's the present subjunctive tense, active voice, first person singular of the verb "to threaten; to menace", meaning simply, "I may threaten / menace" - which is basically what he does to the world and its wife. Intriguing, eh? On the surface of it, "Eminem" is simply a word made from his initials, "M and M", and so this could be entire coincidence...
Which little discovery crystallises some thoughts i've been having on the subject of Eminem this past month; whether it is his stupidity which is faked or whether the possibility of lurking intelligence is a fallacy; a record company confection. To my mind, not even someone in a record company could come up with a latin phrase based on his initials which accurately describes his abrasive style, so it must be either a complete coincidence, or maybe Marshall's a smarter cookie than we previously thought.
Anyone with a BRANE in the house? Is this true?
A site that might help: www.quicklatin.com/
Pauly :: 2001 :: Comment / reply
Events:
SMARTIE PARTIE Valentines Special, Alex Miles, Joe Le Groove, Lady Duracel / Get Lifted, Peter Dorling / DirtyFunki, Ramone, Chris Biscuit, Filth Fanatics Den & Centro 13 Feb £10.00 (tickets)
Rate SMARTIE PARTIE Valentines Special, Alex Miles, Joe Le Groove, Lady Duracel / Get Lifted, Peter Dorling / DirtyFunki, Ramone, Chris Biscuit, Filth Fanatics
Also there's an xml feed of smart, a JSON feed , search my smart venue info.
Hope you found what you're looking for, if not please leave a message about "smart".
Add smart as a venue here, help me out, and the next person.
Google the site here

