If, when you add the Auth component, you get the inte the “redirect loop” try adding:
if (isset($this->params['requested'])) {
$this->Auth->allow($this->action);
}
Should fix it. Worked for me.
My web tips, and by this I mean links to sites where people actually have a clue.
Or when the day comes that I actually have some time over to sit down and think through something.
And have even more time to write it down.
Regardless, I’ll try to make it worth your while.
If, when you add the Auth component, you get the inte the “redirect loop” try adding:
if (isset($this->params['requested'])) {
$this->Auth->allow($this->action);
}
Should fix it. Worked for me.
Accessing host webserver from within VirtualBox: IP 10.0.2.2 … note to self mostly.
Flash är lite av webbens gissel för det ger oss en hel del roliga spel och sånt men samtidigt så är det inte särskilt anpassat för spel.
Speciellt på facebook där t ex Happy Aquarium blir toksegt så fort man har för många fiskar som rör sig samtidigt. Det kan iofs ha att göra med hur pass bra grafiken är gjord och sånt för om man jämför Farm Ville med Farm Town så är Farm Town inte alls lika segt men grafiken är sämre.
En annan sak som stör är att det endast finns en webbläsare som det flyter bra i och det är Firefox men där ha Flash en tendens att skena iväg och äta upp allt minne i datorn medans i t ex Chrome så blir det bara segare och segare ju mer som händer.
Undrar om Silverlight skulle funka bättre… men då kan inte icke-windows-operativ va med längre.
Pest eller kolera.
Flash är lite av webbens gissel för det ger oss en hel del roliga spel och sånt men samtidigt så är det inte särskilt anpassat för spel.
Speciellt på facebook där t ex Happy Aquarium blir toksegt så fort man har för många fiskar som rör sig samtidigt. Det kan iofs ha att göra med hur pass bra grafiken är gjord och sånt för om man jämför Farm Ville med Farm Town så är Farm Town inte alls lika segt men grafiken är sämre.
En annan sak som stör är att det endast finns en webbläsare som det flyter bra i och det är Firefox men där ha Flash en tendens att skena iväg och äta upp allt minne i datorn medans i t ex Chrome så blir det bara segare och segare ju mer som händer.
Undrar om Silverlight skulle funka bättre… men då kan inte icke-windows-operativ va med längre.
Pest eller kolera.
Too much fluff and adds surrounding these things when I search:
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/
Keep it simple! You’re welcome! =)
Not finished but I felt I had to get it out there or I would never finish it.
So here you have it, comments form isn’t done, not that it matters since commenting doesn’t work either.
And the comments list isn’t done either.
I’ll get to it, it’s not the site has to be perfect, it’s just my own playground anyway. :)
Update: Category pages don’t look good. And if you don’t like the border-radius with the box-shadow in Google Chrome, tell Google to fix Chrome because it looks good in Safari and Firefox 3.1. So there!
The Tooltip is my own and it is hosted att Google Code and is called DropDown it was a working name and I’ll just have to live with it now. ;) Hover the dates to see the tooltip.
It’s gonna be simple and make use of stuff that the good browsers has built in… border-radius and stuff like that.
Soon, just have to find the time to finish it.
window.external.AddSearchProvider is part of the OpenSearch 1.1 Draft and is available in both Firefox and IE7/8 but there is a slight difference in how it works, or rather doesn’t work.
Don’t missunderstand me, it works in all of the above browsers but NOT in the same way.
In Firefox you can wrap the function call in another function call, to do object detection and those nice things.
But in IE7/8 you have to call the function from an inline onclick event handler. You can’t wrap it in any way or it won’t work.
If you do you get the most common JS error in IE “The object doesn’t support this property or method”.
Just FYI for those of you who doesn’t want to spend four hours wondering what you did wrong. Like me! ;)
If you thought that there is any other kind of solution to any IE quirk you’d be wrong.
Sorry about the lack of screenshots.
I had a problem with lists and the fact that IE rendered the list-item’s with a “Ghost Margin” at the bottom which meant that the list didn’t line up properly.
So I started to look for solutions, needless to say all other browsers behaved like expected, and tried to reduce the line-height, didn’t work.
Added zoom:1 to IE stylesheet? Didn’t work!
I few more silly things like negative margins and friends… didn’t work…
So it ended with me staring at the style for the LI in IE Developer Toolbar and noticed that the LI had a default vertical-align set to baseline.
Now why should a LI have vertical-align?
Well, I have no idea but I changed it to bottom and the problem went away. Just like that!
Not the most obvious solution but it works.
I read somewhere “I don’t know what’s going on inside IE’s rendering engine, but I bet it ain’t pretty!”. I’ll second that.
Har precis börjat på nytt jobb, nåja jag är inne på tredje veckan så så ny är jag inte längre. Trevliga, duktiga kollegor och lite roligare arbetsuppgifter är det iaf. Jo just det, jag har börjat på Eniro.
I went looking for pictures of Pelle Lindberghs mask and found www.hockeymasks.com!
Check out their catalog, there are some really weird masks in there, and some really cool ones as well. Well worth a visit.
The reason I went looking is that I have, what I think is, a pretty cool idea for a tattoo.
I ran across the link How do I make my site ‘light up’ with Internet Explorer 8? on Anne Van Kesterens blog today and I must say that IE8 is really shaping up to be pretty a useful browser.
Microformats, huh, who knew?, although it is not a specification or even a draft it really is a step in the right direction.
And before you start bitching about the Activities Provider stuff you must remember that Mozilla has a lot of the same kind of stuff built in as well.
As long as developers remember to be unobtrusive these things are not going to be an issue, it’s up to us!!
And then they get to the cause of such debate lately: <meta http-equiv=”X-UA-Compatible” content=”IE=7”> and sure, why not, it makes it real easy for developers to fix intrawebs and customer webs in a flash and still get the browser out onto the market. That’s all I will say on the matter, unless the change their mind again.
I’m not quite sure what Anne is talking about when he says “Disappointed with the seemlingly proprietary extensions, never proposed in the relevant W3C Working Groups”. The only thing I can imagine is the HTC and COM part of the “Improved Namespace Support” section but those things does not seem any different than when Mozilla uses XUL-behaviors.
That’s it for me, looking forward to IE8. Although I will always love Firefox (Firebird … Phoenix … it’s been with me for so long) ♥
A re-write of Dustin Diaz’s searchPlay but uses Prototype Object for class-based OOP.
Hides the form elements default value onFocus
and restores it onBlur unless you change the value.
/* Requirement: Prototype.js Usage: * new SearchPlay(“search_q”); * new SearchPlay(“search_within”);*/
var SearchPlay = Class.create();
initialize: function(element) { this.element = $(element); this.original_value = this.element.defaultValue; this.element.observe(“focus”, this.focus.bindAsEventListener(this)); this.element.observe(“blur”, this.blur.bindAsEventListener(this)); }, focus: function(event) { if ($F(this.element) == this.original_value) { this.element.value = ‘’; } }, blur: function() { if (!this.element.present()) { this.element.value = this.original_value; } }
SearchPlay.prototype = {
};
My version uses Prototype and is written using Prototype’s object for class-based OOP
Quite nice and short. I’m actually a little proud of it. :)
UPDATE: The menu (to the right of me) now uses the Accordion script. And, as soon as I can find a use for it, I will implement the DropDown script as well.
No I don’t have any news but I have a dream.
Wouldn’t it be zupercool if Firefox supported SVG Icons in it’s interface, resizable toolbars and other interface buttons.
That would be really cool, like you can do with Winamp, granted it looks real silly at 200% but it is really, really visible. :)
I have found the documentation for :db_system storage to be lacking.
Jag har, antagligen som många andra, både IDG:s nyhetsfeed och Roger Johanssons feed i Mozilla Thunderbird, så jag läser båda varje dag.
Igår så hade IDG en artikel om hur rika alla bloggare skulle kunna vara om det inte hade varit statistik dom presenterade.
Jag mailade länken till Roger och han bara skrattade. Tror jag behöver en reklamsäljare.
blev kommentaren. Så här är mitt bidrag.
Eftersom man inte får tuta i sin egen lur, så tutar jag åt Roger, klicka på hans Google Adds
Jag gjorde det, vågar du?
Sen vill jag påpeka att han INTE har bett mig uppmana nån till detta, eftersom detta är emot Googles regler!
Det gäller att hålla sig uppdaterad! :)
Några nyheter i Firefox 3:
display: inline-blockdisplay: inline-table, vad den nu gör?!I senaste numret av Datormagazin så stod det egentligen inte så mkt om vad Firefox 3 skulle innehålla, mest att man kan använda online-tjänster offline. Det finns mer godis.
Jag läste idag om att det kommer att fattas mellan 5 och 10 000 st IT-proffs inom en snar framtid.
Jag tänkte ta tillfället i akt och presentera mig själv:
Jag är ett IT-proffs, webbutvecklare heter det tydligen numera.
Mitt mål brukar vara att de sidor jag arbetar med ska validera, både XHTML och CSS även om jag har vant mig vid att det är svårt att får CSS:en validera om man vill att sidan ska se likadan ut i alla webbläsare.
Jag är snabb på att lära mig och är intresserad av det mesta, även om jag föredrar gränssnittsdelen av webben.
Jovars det rullar på, jag har precis fått min F-skattesedel och ska hjälpa GreateSkate med nya webshoppen.
Well, I have taken a shine to CakePHP and I am thinking of moving this blog over to Cake and I am testing my way through the framework to see how to do it.
It’s really exiting and since I am big RubyOnRails fan Cake is even more exiting because I am soo much better at PHP than Ruby.
See ya as soon as I have built myself a wicked BlogModel. :)
Wouldn’t it be awesome to be able to do a search for events taking place in a specific area on a specific day through Google, all they have to do is recognize Microformats and all everyone else has to do is to use them on their sites.
This should be so easy I can’t believe it hasn’t been done yet.
And for gods sake, try and make Geotagging a bit easier or at least gimme some more tools.
I can’t figure out how to convert all the different coordinates into the correct format.
Due to excessive spam I am turning comments of for now.
They will be back when I have the energy to re-code the form.
Tydligen så har SEO Kontroll en tävling med orden Aftonbladhet, Expressn, Svenska Dagbladhet och Internnetvärd.
Visst vore det roligt om jag hamnade högre än nån av dom bara genom denna artikel. ;-)
Näe, jag tror inte det heller och jag vill egentligen inte retas med kollegor men jag måste få testa.
This is so cool, there are so many, fun, things you could do with this.
Paste the town with stickers and let people figure out what they do.
You need to download the software for your cellphone first but once that is done you’re good to go. Find out more here…
Zimbra has done some performance testing on both FF1.5, FF2.0, MSIE6 and MSIE7, interesting stuff.
What I find really annoying is when RSS feed aren’t built properly … get your dates straight idg.se
For every new article I get all the old ones with a new updated date (or published or whatever). It’s called spamming. And annoying.
Or maybe I should blame Mozilla Thunderbird for not being able to sort out the duplicates. Maybe that’ll be fixed in 2.0 whenever that arrives.
What ever … it bugs the hell out of me …
I wanna buy the bling duckie but I can’t afford it … I wish I had a reason for you to buy me candy too
Only a small complaint, if I set the text area to Swedish and have the Swedish dictionary installed, I think the spell checker should switch to that dictionary and not force me to select it myself.
No biggie but that would make more sense.
Another complaint, if I change the language in one textarea the language in all textareas change but the text inside does not get parsed again.
Lets see if the spell checker is working, well what do you know ...
Sitting waiting for FF2.0 … I know I can download it already but I’m waiting for the proper release.
Well kind of, this is just me wishing for an easier way of grouping css-rules.
I like the idea of being able to send a page to technorati and getting a vcard back but it doesn't work.
If you are interested you can preview it here but bare in mind that I am not finished.
The goal is to strip things down a bit so that the site doesn’t contain too much irrelevant bullshit. I am re-doing the right column! Rest assured.
The page is a mess but if you check the CSS you'll find a whole lot of strange CSS3 mojo.
Just to show you how much fun you can have with CSS3.
Forgot the link: css3 selectors test pageJust when you thought no-one reads your comments someone surprises you:
bitesizestandards.com
Thanks for the link.
I haven’t checked the other popular browsers but this is one feature in Firefox that I really like.
A few weeks ago (on the 16th january) I downloaded some nice and free icons but the other day I realized that I couldn’t remember where from.
This is where Firefoxs download manager came to the rescue, find the downloaded file in the list, right-click and select properties: There you have it, the full url of the download.
In my case it was: http://famfamfam.madeserve1.co.uk/famfamfam_silk_icons_v012.zip which really wasn’t the website but after a two seconds on Google I found the site www.famfamfam.com, full of super-nice icons and flags.
So support the authors relaxing hobby and use his free icons, just make sure to give credit.
First of all I would like to take this opportunity to thank Microsoft for the amount of work the web developer/designer community will be given after the upcoming release of Internet Explorer 7.
Just found a link to a page that offers Firefox free of charge.
After many years behind the keyboard something dawned on me ... maybe I should be more structured ... *gasp*
A really good article with examples and everything.
I like articles/how-tos, they make me so much better at using photoshop.
Internet Explorer is behaving very strange.
This is intended for those of you who has updated Mozilla Firefox to 1.5.
Since I got my own website I thought it would be cool to get some stats to go along with it and since Google offered Analytics for free I choose it.
Jag tänkte att jag skulle berätta hur jag har valt att strukturera min XHTML.
Om du vill att Google ska gilla dig så är det viktigt att du skriver bra och informativa rubriker.