Load flash in my component

2015-10-23 Thread Leandro Freire da Silva
Hi group ? How to load component flash on my component ? *Error: *Call to a member function success() on null *File* /var/www/uniaoestudantil/src/Controller/Component/ComprovanteuploadComponent.php *Line: *16 -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http

Re: cakephp 3- how to style flash error messages?

2015-10-20 Thread Raul Magdalena Catala
thats is, thanks Jose El dilluns, 19 octubre de 2015 22:32:45 UTC+2, joserafael va escriure: > > Go to src/Template/Element/Flash/error.ctp > > And edit this file. Must be like this: > > > > > El domingo, 18 de octubre de 2015, 16:27:10 (UTC-4:30), Raul Magdalena >

Re: cakephp 3- how to style flash error messages?

2015-10-19 Thread joserafael
Go to src/Template/Element/Flash/error.ctp And edit this file. Must be like this: El domingo, 18 de octubre de 2015, 16:27:10 (UTC-4:30), Raul Magdalena Catala escribió: > > hello, > > i've tried with this but no exit > > $this->Flash->error(__('The magazi

Re: cakephp 3- how to style flash error messages?

2015-10-19 Thread Giorgio Barone
Try this: $this->Flash->error(__('The magazine could not be saved. Please, try again.'), ['class' => 'alert-danger']); You need to close before, the parenthesis of translation function __(). On Sunday, October 18, 2015 at 10:57:10 PM UTC+2, Raul Magdalena C

cakephp 3- how to style flash error messages?

2015-10-18 Thread Raul Magdalena Catala
hello, i've tried with this but no exit $this->Flash->error(__('The magazine could not be saved. Please, try again.' ,['class' => 'alert-danger'])); there is any way? thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on

Controller Flash component error

2015-10-14 Thread Sathish Sukumar
Hi When I use this method - $this->Flash->success(__('Your post has been saved.')); in the tutorial the following error is encountered "Call to a member function setFlash() on a non-object " Please help me out. Thanks, Sathish -- Like Us on FaceBook https://www

Re: DRY - flash message i18n

2015-04-06 Thread Salines
OK, But what if you first time create post? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving ema

Re: DRY - flash message i18n

2015-04-05 Thread Harold Putman
How about: "Your changes have been saved." and "There was an error saving your changes." On Saturday, April 4, 2015 at 5:44:09 AM UTC-4, Salines wrote: > > Hi, > > as a person who works mostly non-English web applications, usually > frustrating me bake g

DRY - flash message i18n

2015-04-04 Thread Salines
Hi, as a person who works mostly non-English web applications, usually frustrating me bake generated flash messages, where each model has its own success and error messages. If you build an application with dozens of models, the process of translation is time-consuming, repetitive sentences

Re: flash session and authentication not work in production

2014-12-21 Thread HK
décembre 2014 07:21:31 UTC, CUCULEAC STEFAN a écrit : >> >> Hello Sekou. >> >> I'm not an expert in Cakephp but before anyone can tell you something t >> think you have to check logs to see if you have errors there. >> If you have could you post them? maybe s

Re: flash session and authentication not work in production

2014-12-21 Thread Sekou Dioubate
errors there. > If you have could you post them? maybe someone can advise you. > > sâmbătă, 13 decembrie 2014, 21:05:14 UTC+2, Sekou Dioubate a scris: >> >> >> hello, >> I developed an application using cakephp 2.x. Everything works locally >> but when s

Re: flash session and authentication not work in production

2014-12-13 Thread CUCULEAC STEFAN
gt; > hello, > I developed an application using cakephp 2.x. Everything works locally but > when sent on the dedicated server online (for production), the flash > session and authentication not works. I arrive I was logged. I am lost, I > do not know where is the problem > thank y

flash session and authentication not work in production

2014-12-13 Thread Sekou Dioubate
hello, I developed an application using cakephp 2.x. Everything works locally but when sent on the dedicated server online (for production), the flash session and authentication not works. I arrive I was logged. I am lost, I do not know where is the problem thank you in advance! -- Like Us

Re: setting Flash messages from model

2014-04-22 Thread euromark
You were also the one asking here? http://www.dereuromark.de/2014/04/21/cakephp-flash-messages-2-0/ Right? I answered there. Most errors should result in an exception of some kind which you can catch. Am Montag, 21. April 2014 00:47:15 UTC+2 schrieb Ankan Adhikari: > > *Nothing new:* &

setting Flash messages from model

2014-04-22 Thread Ankan Adhikari
to be responsible for setting the flash message also. the following approach works, but it doesn't seem very neat. //Somewhere in a model method: public function savethisstuff($data) { if($not_ok){ $this->error = __('My error message'); return false; }

Re: Flash messages redirect after a time interval?

2013-11-14 Thread Nick Rogers
Wow, I've been using CakePHP for years and never even knew about flash; I've always just used setFlash. Thanks for the information! On Thursday, November 14, 2013 7:16:58 AM UTC-7, euromark wrote: > > That is an old behavior invoked by flash() directly, which most of use

Re: Flash messages redirect after a time interval?

2013-11-14 Thread euromark
That is an old behavior invoked by flash() directly, which most of use never ever use :) https://github.com/cakephp/cakephp/blob/master/lib/Cake/Controller/Controller.php#L1000 So I would just ignore that and use flash messages via setFlash() Mark Am Donnerstag, 14. November 2013 06:47:19 UTC

Flash messages redirect after a time interval?

2013-11-14 Thread Nick Rogers
Have a look at lines 33 and 34 of core.php<https://github.com/cakephp/cakephp/blob/2.4.2/app/Config/core.php#L33>. Is that referring to flash messages set by $this->Session->setFlash(); in the controller and then echo $this->Session->flash(); in the view? I have never witn

Re: My awesome flash system

2013-09-20 Thread Prashant Shah
Hi, On Thursday, September 5, 2013 4:16:43 AM UTC+5:30, euromark wrote: > > Or has already been invented by people 5 years ago :D > see my tools plugin for example (Common component + helper) > > Great ! I googled a lot and couldn't find anything that I could use. I will be using your tools plugi

Re: My awesome flash system

2013-09-04 Thread euromark
rashant Shah > > wrote: > > Hi, > > This is first time I am working with cakephp and I was not satisfied with > the flash message system in cakephp. > > Here is how to setup your own awesome flash system (MIT License) : > > - Multiple messages for each type > - Separ

Re: My awesome flash system

2013-09-04 Thread Jeremy Burns : Class Outfit
How is that more awesome than what you do out of the box? On 4 Sep 2013, at 16:14, Prashant Shah wrote: > Hi, > > This is first time I am working with cakephp and I was not satisfied with the > flash message system in cakephp. > > Here is how to setup your own awesome

My awesome flash system

2013-09-04 Thread Prashant Shah
Hi, This is first time I am working with cakephp and I was not satisfied with the flash message system in cakephp. Here is how to setup your own awesome flash system (MIT License) : - Multiple messages for each type - Separate divs for each type - Each message shown as Create a file : app

Re: Login and registration form on same page - Flash issue

2013-04-08 Thread Nathan Pierce
Thanks Henry. I'm working on learning ACL right now, so I might not need a solution to this anymore. Thanks! On Saturday, April 6, 2013 2:02:10 PM UTC-4, Henry Turk wrote: > > I would assume he is eventually going to implement SecurityComponent to > handle this issue. > > On Thursday, April 4, 2

Re: Login and registration form on same page - Flash issue

2013-04-06 Thread Henry Turk
I would assume he is eventually going to implement SecurityComponent to handle this issue. On Thursday, April 4, 2013 4:32:00 AM UTC-7, André Luis wrote: > > I really didnt get what you want to do, but one thing... if anyone can > register, do not use the hidden field for the role, because it´s

Re: Login and registration form on same page - Flash issue

2013-04-06 Thread Henry Turk
Nathan, There was a nice article explaining in the bakery a few years back that would solve your problem: http://bakery.cakephp.org/articles/RabidFire/2010/06/26/multiple-forms-per-page-for-the-same-model On Friday, April 5, 2013 6:31:26 AM UTC-7, Nathan Pierce wrote: > > Anyone have a solution

Re: Login and registration form on same page - Flash issue

2013-04-05 Thread Nathan Pierce
Anyone have a solution for this yet? Again, I have one pay with a login and registration form. I want the validation messages from the User model to not show on both email inputs on that page, I want them assigned to only one. This may require changing the login form input to email_login, but

Re: Login and registration form on same page - Flash issue

2013-04-04 Thread Nathan Pierce
Ah, yes! Sorry about the confusion. I figured they were just turned into flash messages by the system. I'll start calling them validation messages. I tried converting the message => into an array and specifying a key, but it didn't work. Since the validation message is linked

Re: Login and registration form on same page - Flash issue

2013-04-04 Thread Jeremy Burns | Class Outfit
Oh I see - I was slightly confused. You're talking about validation messages (which are properly handled in the model), not flash messages (which are properly handled by the controller). Let me think about how to do what you want... Jeremy Burns Class Outfit http://www.classoutfit.com

Re: Login and registration form on same page - Flash issue

2013-04-04 Thread Nathan Pierce
Oh, interesting. I've got the User model handling the flash messages. Maybe my logic about this is wrong. array( 'rule' => array('custom', '/^[a-z0-9 ]*$/i'), 'message' => '

Re: Login and registration form on same page - Flash issue

2013-04-04 Thread Jeremy Burns | Class Outfit
Model arrays? You set this in the controller. So when your form posts to the controller action it then calls the appropriate action (either in the Auth component or the User model). If the action returns an error you set the flash message (in the controller). At that point you'd set the f

Re: Login and registration form on same page - Flash issue

2013-04-04 Thread Nathan Pierce
Thanks Jeremy, I actually tried that yesterday. I guess I didn't set it properly in the User model arrays. I'll try it again. On Thursday, April 4, 2013 7:43:13 AM UTC-4, Jeremy Burns wrote: > > You can set a specific key for each flash message and then flash it out > where a

Re: Login and registration form on same page - Flash issue

2013-04-04 Thread Jeremy Burns | Class Outfit
You can set a specific key for each flash message and then flash it out where and when needed. See: http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#creating-notification-messages Jeremy Burns Class Outfit http://www.classoutfit.com On 4 Apr 2013, at 12:37:50, Nathan

Re: Login and registration form on same page - Flash issue

2013-04-04 Thread Nathan Pierce
Fortunately there is no admin role. In fact, if they changed it to teacher, they would just have access to the teacher stuff. Not a security risk fortunately. What I'm trying to do is have two forms on the same page, but them not share the flash verification warnings that come back. Righ

Re: Login and registration form on same page - Flash issue

2013-04-04 Thread André Luis
I really didnt get what you want to do, but one thing... if anyone can register, do not use the hidden field for the role, because it´s value can be changed easily with some javascript, or even with webdesigner toold. For example, if I (studant) will register and watch the code in Chrome, with

Login and registration form on same page - Flash issue

2013-04-03 Thread Nathan Pierce
Hey all! I have to say this community is awesome. I'm pleased to see there is help for newbies like me. I have an issue which I need suggestions for. I like doing things the proper way and not creating an obtuse mess of code to do something simple. Here it is: Uses Auth (nothing crazy) View -

Re: Flash not working with redirect

2012-10-04 Thread Ajay Patidar
ut you're obviously experiencing > issues. Try this. > > function foo() > { >$this->Session->setFlash("Hello world"); >$this->redirect('/', null, true); > } > > On Jan 7, 11:57 pm, Ben Coleman wrote: > > H

Re: browser compatibility: the weirdest thing ever with IE. throws flash message all the time!!!

2012-06-02 Thread luftlinie
me the message, although, logically, it is > > correct in my code. it worked in other browsers and IE goes to those > > profile without redirecting.. > > I am not even close to getting this. I am totally stunned. Its so > > weird. > &g

Re: browser compatibility: the weirdest thing ever with IE. throws flash message all the time!!!

2012-05-31 Thread johnny
this. I am totally stunned. Its so > weird. > > Is there any way, that IE cant handle cakes flash messages, or the CSS > with it? > > here is my controller profile code: > === > $locked = $this->User->find('first&#x

browser compatibility: the weirdest thing ever with IE. throws flash message all the time!!!

2012-05-31 Thread luftlinie
stunned. Its so weird. Is there any way, that IE cant handle cakes flash messages, or the CSS with it? here is my controller profile code: === $locked = $this->User->find('first', array( 'fiel

Re: How to embebedd flash menu buttons on my site?

2012-02-14 Thread Sam Sherlock
Seo is less of a concern with flash. If you need to Target mobile devices then requiring flash is bad. If your having issue loading xml/images/content into flash look at setting the base param with $this->Html->url('/'); - S On 14 Feb 2012 09:38, "phpMagpie" wrote:

Re: How to embebedd flash menu buttons on my site?

2012-02-14 Thread phpMagpie
When you say flash menu buttons, do you mean Adobe Flash or really flashy graphical buttons? If they are Adobe Flash I would consider if using them at all is a good idea. There is a very really chance that the links within Adobe Flash buttons may not be indexable (search engines will not be

Re: How to embebedd flash menu buttons on my site?

2012-02-12 Thread Sam Sherlock
ot; wrote: > I own a website based on phpcake. > I bought even a flash buttons menu for my site, but i dont know how to > replace these buttons with the default one. > I tried to read but i am confused. > Someone can help me with this problem? > Thanks in advance to everyone. >

How to embebedd flash menu buttons on my site?

2012-02-12 Thread Devis
I own a website based on phpcake. I bought even a flash buttons menu for my site, but i dont know how to replace these buttons with the default one. I tried to read but i am confused. Someone can help me with this problem? Thanks in advance to everyone. -- Our newest site for the community

Re: Flash message after render not showing

2012-02-06 Thread jeremyharris
no problem, glad you figured it out -jeremy -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to

Re: Flash message after render not showing

2012-02-06 Thread Tony
I'm a dufus. I didn't realize that $this->Session->flash() had been commented out of the view. When I did debug($this->Session->read()) in the view, I noticed that the value was set, so that sent me on the right path. Sorry for the bother. Thanks for the reply. -- O

Re: Flash message after render not showing

2012-02-06 Thread jeremyharris
Have you debugged the session in the layout? In the view? I would debug them using debugKit or just adding debug($this->Session->read()) in both the view and layout, to make sure nothing's mucking with it and that it is indeed being set. -- Our newest site for the community: CakePHP Video Tuto

Flash message after render not showing

2012-02-05 Thread Tony
t;request->data['Invite']['email']); $this->render('welcome'); ... } The problem is that when "welcome" is rendered, the flash message is not showing up until the user goes to the page following the content rendered b

Session Flash not displaying on deployment

2012-01-27 Thread Pratz_
Hi, For some reason Session Flash is working absurdly on deployment on server, though working right on local server. The flash is not displaying most of the times. However if I put $this- >Session->read() in controller, then the Session Flash works perfectly right. I am using CakePHP 2.0

my domain on shared host justhost is not displaying flash messages

2012-01-24 Thread varai
My domain on the shared host is not displaying any flash messages. It is displaying fine on my local server. I have the following in the students_controller: function add(){ $this->Session->setFlash('Your child\'s admission has been received. We will send you

Re: Flash in cakephp

2011-12-09 Thread AD7six
On Dec 9, 6:43 am, Praveen Pandey wrote: > how can i use flash in cakephp without using any external source code. > please help me. The same way you'd use flash in php. AD -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the

Flash in cakephp

2011-12-09 Thread Praveen Pandey
how can i use flash in cakephp without using any external source code. please help me. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To

Re: Cakebook crashes Flash on Chrome

2011-11-24 Thread Sam Sherlock
Chrome seems to be prone to crashing due to flash (seems to be various problems) many result in crashing. for me I get this alot in chrome - I can't recall it happening in firefox (if it does not on the same scale) http://www.google.com/support/forum/p/Chrome/thread?tid=13137185df92e1eb&

Re: Cakebook crashes Flash on Chrome

2011-11-24 Thread Graham Weldon
Just on this point.. I get flash crashing on chrome a lot when browsing Github. Its not an issue with the cakebook. Its an issue with flash and chrome, as far as I can tell. Cheers, Graham Weldon http://grahamweldon.com e. gra...@grahamweldon.com p. (+61) 0407 017 293 Skype: grahamweldon On

Re: Cakebook crashes Flash on Chrome

2011-11-24 Thread Simon Males
, at 23:28, Vigrond wrote: > > Cakebook crashes Flash on Chrome > > This issue has existed for at least a year now, and it's extremely annoying. >  I have no idea what causes it.  But whenever it happens, I have to restart > my browser only to have Flash crash again after a wh

Re: Cakebook crashes Flash on Chrome

2011-11-23 Thread Jeremy Burns | Class Outfit
I am not getting that issue, so I don't think it's Cakebook that is causing your problem. Jeremy Burns Class Outfit http://www.classoutfit.com On 22 Nov 2011, at 23:28, Vigrond wrote: > Cakebook crashes Flash on Chrome > > This issue has existed for at least a year now,

Cakebook crashes Flash on Chrome

2011-11-23 Thread Vigrond
Cakebook crashes Flash on Chrome This issue has existed for at least a year now, and it's extremely annoying. I have no idea what causes it. But whenever it happens, I have to restart my browser only to have Flash crash again after a while. I have oftentimes 20-30 tabs open at a given

Re: flash message when validate in model doesn't work

2011-10-11 Thread WebbedIT
Why are you validating within a model? On Oct 10, 3:26 pm, taqman filler wrote: > I need to fix it > > 2011/10/10 euromark : > > > > > > > > > so what exactly do you want from us?^^ > > > On 10 Okt., 14:53, taqman filler wrote: > >

Re: flash message when validate in model doesn't work

2011-10-10 Thread taqman filler
I need to fix it 2011/10/10 euromark : > so what exactly do you want from us?^^ > > > On 10 Okt., 14:53, taqman filler wrote: >> but flash message in auth or other action is work >> >> thankyou > > -- > Our newest site for the community: CakePHP Video Tut

Re: flash message when validate in model doesn't work

2011-10-10 Thread euromark
so what exactly do you want from us?^^ On 10 Okt., 14:53, taqman filler wrote: > but flash message in auth or other action is work > > thankyou -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.ca

flash message when validate in model doesn't work

2011-10-10 Thread taqman filler
but flash message in auth or other action is work thankyou -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this

Re: cakePHP 1.3 Session Flash Message Not Showing

2011-09-22 Thread Joffin Joy
Thanks for the feedback...now the flash message is showing on saving from controller.but the auth messages are not still displaying ie on trying to log in the auth failure message is not showing am still missing anything as i am merging from cakephp 1.2.9 to 1.3. Below is the code

Re: cakePHP 1.3 Session Flash Message Not Showing

2011-09-22 Thread ecsyle
I think you meant to change it to: echo $this->Session->flash(); On Sep 22, 8:15 am, dw wrote: > Make sure you have: > echo $session->flash(); > > in your layout. I think I remember that changing from 1.2 to 1.3 > > -d > > On Sep 22, 8:19 am, Joffin Joy wrote:

Re: cakePHP 1.3 Session Flash Message Not Showing

2011-09-22 Thread dw
Make sure you have: echo $session->flash(); in your layout. I think I remember that changing from 1.2 to 1.3 -d On Sep 22, 8:19 am, Joffin Joy wrote: > Hi Sir, > > I was working with 1.2.9 for a long time and never updated the > cakephp. > > But when i updated the ca

cakePHP 1.3 Session Flash Message Not Showing

2011-09-22 Thread Joffin Joy
Hi Sir, I was working with 1.2.9 for a long time and never updated the cakephp. But when i updated the cake to 1.3 the save is working but the flash message is not showing. Please help me as i want to integrate facebook connect to my app but cakephp 1.2.9 is not working correctly with facebook

Media Views for streaming mp3 with flash player

2011-09-16 Thread lebert
I have a page with a audio flash player that streams several mp3 files. This player uses an XML file that has the path of all those files, which are in a audio folder in the webroot directory. What I don't like is that it's pretty easy for a user to get to the XML file (which is a

Re: Non-caching of flash elements continued

2011-07-11 Thread euromark
abble.com/Non-caching-of-flash-elements-td... > > Basically the problem is that in my layout (default.ctp), my flash > messages are not being displayed. > > Specifically: > > Case 1 > > 1. > In MyController.view1 > I use setFlash and redirect to /my

Non-caching of flash elements continued

2011-07-11 Thread Michael Christoff
I was wondering whether the issue below had ever been solved... http://cakephp.1045679.n5.nabble.com/Non-caching-of-flash-elements-td1279440.html Basically the problem is that in my layout (default.ctp), my flash messages are not being displayed. Specifically: Case 1 1. In

Re: Flash Session Variable

2011-06-15 Thread MrSensitive
t... > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > On 15 Jun 2011, at 00:47, Ryan Schmidt wrote: > > > How about > > > > $flash = $this->Session->flash(); > > if (!empty($flash)) { > >    echo '&

Re: Flash Session Variable

2011-06-15 Thread Jeremy Burns | Class Outfit
ded, but... Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Jun 2011, at 00:47, Ryan Schmidt wrote: > How about > > $flash = $this->Session->flash(); > if (!empty($flash)) { > echo '' . $flash . ''; > } >

Re: Flash Session Variable

2011-06-14 Thread Ryan Schmidt
How about Session->flash(); if (!empty($flash)) { echo '' . $flash . ''; } ?> On Jun 14, 2011, at 17:00, Krissy Masters wrote: > Missed the part where i said "I know about the flash session class options > but I need something more than a clas

RE: Flash Session Variable

2011-06-14 Thread Krissy Masters
Missed the part where i said "I know about the flash session class options but I need something more than a class in this case." Its more than just a class div I need. -Original Message- From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Ryan Sc

Re: Flash Session Variable

2011-06-14 Thread Ryan Schmidt
On Jun 14, 2011, at 15:06, Krissy Masters wrote: > I know about the standard Session->flash(); ?> > > > > But I want to wrap it inside a div with an isset() so the div will only > appear with the presence of an actual message but what is the variable to > check for?

Re: mp3 player in flash

2011-05-08 Thread Kane The Pirate
ntroller > > or is the app within artist? > > it looks to me the latter (although other parts of your email make me think > that artist is a controller) > and the fix may be as simple as make the flash instance recieve > /cake/artist/webroot/music/myfile.mp3 > that should be the

Re: mp3 player in flash

2011-05-05 Thread Sam Sherlock
be as simple as make the flash instance recieve /cake/artist/webroot/music/myfile.mp3 that should be the same as /cake/artist/music/myfile.mp3 I think your passing a relative url to the flash instance since it finds the mp3 from the index but not the detailView action I have an app that plays mp3s

Re: mp3 player in flash

2011-05-05 Thread Kane The Pirate
On 3 maio, 23:24, Sam Sherlock wrote: > perhaps its due to cakes use of mod rewrite > > if so I suggest using firebug's net tab to see the urls of the mp3's being > loaded > then firgure out a way to ensure the your app has correct urls consistently > > are you using absolute paths to the mp3s w

Re: mp3 player in flash

2011-05-05 Thread Kane The Pirate
On 3 maio, 23:24, Sam Sherlock wrote: > perhaps its due to cakes use of mod rewrite > > if so I suggest using firebug's net tab to see the urls of the mp3's being > loaded > then firgure out a way to ensure the your app has correct urls consistently > > are you using absolute paths to the mp3s w

Re: mp3 player in flash

2011-05-03 Thread Sam Sherlock
perhaps its due to cakes use of mod rewrite if so I suggest using firebug's net tab to see the urls of the mp3's being loaded then firgure out a way to ensure the your app has correct urls consistently are you using absolute paths to the mp3s within your xml file or as params passed to swfobject?

Re: mp3 player in flash

2011-05-03 Thread Kane The Pirate
Its workin now! but just in my index page, and only if I access my url without any slashes after the index. ex: localhost/cake/artist - this works ex: localhost/cake/artist/ - this doesn't work ex: localhost/cake/artist/detailView/12 - doesn't work. I'm trying to understand. I used the router to s

Re: Random Flash Messages

2011-04-27 Thread chris
l the time a user is logged in, > > > with  $this->disableCache(); > > > sDoesn't sound like a very sensible solution.. > > > cake doesn't randomly generate flash messages, they are provoked when > > a request is received and shown on the next (html) page t

Re: Random Flash Messages

2011-04-26 Thread Eduardo Pinto
n IE, my > > thread is here > > >http://groups.google.com/group/cake-php/browse_thread/thread/f92934d0... > > > In the end I disabled the cache for all the time a user is logged in, > > with  $this->disableCache(); > > sDoesn't sound like a very sensible

Re: Random Flash Messages

2011-04-26 Thread AD7six
in, > with  $this->disableCache(); sDoesn't sound like a very sensible solution.. cake doesn't randomly generate flash messages, they are provoked when a request is received and shown on the next (html) page to render. Having this happen with IE only should have been a hint. If you log req

Re: Random Flash Messages

2011-04-26 Thread chris
Sounds similar to an issue I was seeing. It only happend on IE, my thread is here http://groups.google.com/group/cake-php/browse_thread/thread/f92934d0974fbbec/238e7a934d9ef9f8#238e7a934d9ef9f8 In the end I disabled the cache for all the time a user is logged in, with $this->disableCache();

Random Flash Messages

2011-04-23 Thread Eduardo Pinto
Hi there, I'm having this problem: http://ask.cakephp.org/rus/questions/view/random_flash_messages It's exactly the same problem. Has anyone passed through this? Thanks, -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions s

Re: mp3 player in flash

2011-04-08 Thread Kane The Pirate
or smth like that. > Also , did you program that flash or did you use some already done > solution... > > Do you read data from MySql DB, or do you just play fixed playlist > from hd.. > > All the best , Milos > > On Apr 1, 6:14 pm, Kane The Pirate wrote: > > > Hi

Re: mp3 player in flash

2011-04-02 Thread Miloš Vučinić
What do you use for media streaming ? There are different media servers, if you use any.. If not, then you cannot stream these media and you have to wait to load whole song to play it.. So there could be the problem, slow connection or smth like that. Also , did you program that flash or did you

mp3 player in flash

2011-04-01 Thread Kane The Pirate
Hi, I'm trying to do my cake application play some musics. All the paths are right. It tell the name of the file and it's size, but don't give the music name, or file name, and don't play my music. Some Idea how to do that? -- Our newest site for the community: CakePHP Video Tutorials http://tv.

Re: Problem displaying session flash messages

2011-03-09 Thread Daniel
That fixed it. Thanks for your help! Daniel On Mar 9, 12:42 pm, Jeremy Burns | Class Outfit wrote: > That's slightly old syntax. Try echo $this->Session->flash(); > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > On

Re: Problem displaying session flash messages

2011-03-09 Thread Jeremy Burns | Class Outfit
That's slightly old syntax. Try echo $this->Session->flash(); Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 8 Mar 2011, at 23:25, Daniel wrote: > Hi everyone. I've been working through the book "Beginning CakePHP" > a

Problem displaying session flash messages

2011-03-09 Thread Daniel
Hi everyone. I've been working through the book "Beginning CakePHP" and have hit a stumbling block at Chapter 6. I can't get my flash message to appear when there's an error! My baked Posts Controller has the function: function view($id = null) {

Open Flash Chart Helper version 3

2011-02-03 Thread Name256
Hello, I have been testing the ofc helper in drawing line charts and had a difficult time getting it to work but I eventually got many of the essential stuff running. The only essential thing that I am having difficulty with right now is setting the tooltip on the linechart. I have looked at a few

Re: Auth flash errors appearing in IE when not expected

2011-01-21 Thread Dr. Loboto
Yes, it is standard approach to disable cache for logged users. This list have a lot of questions about IE so it's not true that "it is not mentioned that IE can have issues". On 21 янв, 18:41, chris wrote: > Thanks for your reply. > > I think what I will do is to use the cache disable method fo

Re: Auth flash errors appearing in IE when not expected

2011-01-21 Thread chris
Thanks for your reply. I think what I will do is to use the cache disable method for anything when the user is logged in. That way the other pages, which willl just be static information pages, can be cached by the browser. Is it a standard thing that cakePHP users find themselves doing? It seems

Re: Auth flash errors appearing in IE when not expected

2011-01-20 Thread Dr. Loboto
Of course it will have negative effect. More requests to server, less "immediate" pages for users. But in many cases you cannot avoid it. IE (at least 6-7) have another negative effect of caching. Imagine that you have tabbed page where tabs are loaded with AJAX. And "main" tab have absolutely sam

Re: Auth flash errors appearing in IE when not expected

2011-01-20 Thread chris
Thanks alot for your reply. I've given it a quick test, and it does indeed seem to fix the issue. Do you, or anyone else, know the effect this will have on my application though? It seems that this will stop all my pages being cached by the browser, however, will this have a particularly negativ

Re: Auth flash errors appearing in IE when not expected

2011-01-19 Thread euromark
my guess: browser cache problem put this in your beforeRender() in the app controller: if ($this->layout == 'default') { $this->disableCache(); } On 19 Jan., 17:58, chris wrote: > Still no clues on this. > > Tested further on 2 different computers, with IE8 and

Re: Auth flash errors appearing in IE when not expected

2011-01-19 Thread chris
Still no clues on this. Tested further on 2 different computers, with IE8 and the results are the same. Works fine in Chrome and Firefox, any ideas at all? Cake version is 1.3.6 if that helps at all. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check ou

Re: Auth flash errors appearing in IE when not expected

2011-01-18 Thread chris
Sorry to bump this, but really stuck for any ideas on why this is happening. If anyone has any ideas at all on this then please let me know. Thanks. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message becaus

Auth flash errors appearing in IE when not expected

2011-01-14 Thread chris
Hi I'm developing an application which uses the auth component to do user login etc. All seems to work fine, I am using the 'controller' based authorization, and using isAuthorized() in the appcontroller and other controllers. The problem I have only seems to happen in IE. Version 7 is the one I

Re: how to render form details as XML for flash front end

2010-12-17 Thread Stephen
Hey there I second what Ryan Schmidt says but if you disagree or the decision is out of your hands, this may help you. http://book.cakephp.org/view/380/XML Perhaps this http://book.cakephp.org/view/624/Xml-parsing and if for some bizarre reason you need to generate xml from within the controll

Re: how to render form details as XML for flash front end

2010-12-16 Thread Ryan Schmidt
On Dec 16, 2010, at 05:54, keymaster wrote: > Our flash developer wants to create a totally flash front end to our > cake app. > > He is asking us to change our view layer to render XML instead of > HTML, for all views, including forms. > > The flash front end will build t

  1   2   3   4   5   >