Re: [symfony-users] Re: No content
You can usually chmod via ftp, and clearing the cache is just deleting the contents of the cache/ folder. On Fri, Jan 22, 2010 at 23:08, Pax95 piotre...@gmail.com wrote: Is there another way to omit settting chmod and clearing cache? I have no access to shell currently. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: No content
Btw. These errors say there're no some files and on my original project too, but in local server it works. So the problem is probably in chmod. What files exactly do i have to change persmissions? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] Re: No content
Make the cache/ and the log/ folders writable, same for your web/uploads/ (if you use it). And make sure apache has read access to everything else. On Sat, Jan 23, 2010 at 12:43, Pax95 piotre...@gmail.com wrote: Btw. These errors say there're no some files and on my original project too, but in local server it works. So the problem is probably in chmod. What files exactly do i have to change persmissions? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] Images belonging to a modal box are not showed
In the css it refers to the images as `url(images/...)`, but you need `url(/images/...)`. On Sat, Jan 23, 2010 at 13:32, Javier Garcia tirengar...@gmail.com wrote: Hi, i have installed this library to show modal windows: http://www.dolem.com/lytebox/ It works fine, but the images belonging to the modal window (for example one that shows a cross and the word Close) are not showed. I put them in web/images. Any idea? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] Images belonging to a modal box are not showed
Thanks Gábor! On 01/23/2010 01:37 PM, Gábor Fási wrote: In the css it refers to the images as `url(images/...)`, but you need `url(/images/...)`. On Sat, Jan 23, 2010 at 13:32, Javier Garciatirengar...@gmail.com wrote: Hi, i have installed this library to show modal windows: http://www.dolem.com/lytebox/ It works fine, but the images belonging to the modal window (for example one that shows a cross and the word Close) are not showed. I put them in web/images. Any idea? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Images belonging to a modal box are not showed
Sorry i was rush..Actually it doensn't work.. I have tried also with /image.png and image.png but it still doesnt work..Anyway inside the modal box is also showed the symfony toolbar even when im in the user enviroment (frontend.php).. Javi On Jan 23, 2:11 pm, Javier Garcia tirengar...@gmail.com wrote: Thanks G bor! On 01/23/2010 01:37 PM, G bor F si wrote: In the css it refers to the images as `url(images/...)`, but you need `url(/images/...)`. On Sat, Jan 23, 2010 at 13:32, Javier Garciatirengar...@gmail.com wrote: Hi, i have installed this library to show modal windows: http://www.dolem.com/lytebox/ It works fine, but the images belonging to the modal window (for example one that shows a cross and the word Close) are not showed. I put them in web/images. Any idea? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] Re: Images belonging to a modal box are not showed
Did you try `url(/images/whatever.png)`? Keep in mind that while on your local server the url is different - for me it would be /projectname/web/images/imagename.png, as I stick to localhost, not creating virtual hosts, like the jobeet tutorial advises. On Sat, Jan 23, 2010 at 14:31, tirengarfio tirengar...@gmail.com wrote: Sorry i was rush..Actually it doensn't work.. I have tried also with /image.png and image.png but it still doesnt work..Anyway inside the modal box is also showed the symfony toolbar even when im in the user enviroment (frontend.php).. Javi On Jan 23, 2:11 pm, Javier Garcia tirengar...@gmail.com wrote: Thanks G bor! On 01/23/2010 01:37 PM, G bor F si wrote: In the css it refers to the images as `url(images/...)`, but you need `url(/images/...)`. On Sat, Jan 23, 2010 at 13:32, Javier Garciatirengar...@gmail.com wrote: Hi, i have installed this library to show modal windows: http://www.dolem.com/lytebox/ It works fine, but the images belonging to the modal window (for example one that shows a cross and the word Close) are not showed. I put them in web/images. Any idea? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: sfValidatorDate in sf1.3/14 ?
To convert a date you can use sfDateFormat (instead of doing the transformation in validator - inconsistent due to none association between regex and date fields - Alex pointed it correctly). something as: $df = new sfDateFormat(); $retDate = $df-format($data_op_tted, $pattern = 'i', $inputPattern = 'dd/MM/', $charset = 'UTF-8'); $retDate should be in format '-mm-dd'. On Nov 27 2009, 4:47 pm, goofy goofy.m...@gmail.com wrote: Hi, after migration 1.2 to 1.3, ny sfvalidatordate dont work anymore and i cant find solution : I just want to type dd/mm/yy and get it in mysql format : new sfValidatorDate(array( 'date_format' = '/^(\d{2})\/(\d{2})\/(\d{2})/', 'date_output'='Y-m-d', 'with_time' = false, 'required' = true)), -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Symfony Filter
Hello Symfonians, I am working on symfony 1.0 application. Its a kind of Software as Service model. When a user registers he will get his own site (frontend/backend). The users can signup for a 30 days trails. And we have a help document which is having backend page links. In the Backend application we are using a filter to auto detect the site.If its in trail mode the filter will do auto login and redirected to the accessed page. But this is working when we put our filter in the following way ( Above security filter ). If I put the below security its automatically logged in but landed on admin homepage instead of the accessed page I would like to know putting a filter above the Security will be a problem for the application. Please share your views rendering: ~ web_debug: ~ trail_site_login: class: trailSiteLoginFilter security: ~ # generally, you will want to insert your own filters here # instead of putting here I put the filer above the security cache: ~ common:~ flash: ~ execution: ~ Thanks -Asif -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] How upload a file in dynamic folder
Hello, In symfony 1.0 I did the upload as follows: public function executeUpdate() { // Define ID do usuario que esta logado $user_id = $this-getUser()-getAttribute('user_id'); if (!$this-getRequestParameter('id')) { $news_conteudo = new NewsConteudo(); } else { $news_conteudo = NewsConteudoPeer::retrieveByPk($this- getRequestParameter('id')); $this-forward404Unless($news_conteudo); } $news_conteudo-setId($this-getRequestParameter('id')); $news_conteudo-setTitulo($this-getRequestParameter('titulo')); $news_conteudo-setNomeFrom($this-getRequestParameter ('nome_from')); $news_conteudo-setEmailFrom($this-getRequestParameter ('email_from')); $news_conteudo-setConteudo($this-getRequestParameter ('conteudo')); $news_conteudo-setConteudoTexto($this-getRequestParameter ('conteudo_texto')); $news_conteudo-setOwnerId($user_id); $fileName = $this-getRequest()-getFileName('file') ? $this- getRequest()-getFileName('file') : ; $fileType = $this-getRequest()-getFileType('file') ? $this- getRequest()-getFileType('file') : ; if($fileName): if(!file_exists(sfConfig::get('sf_upload_dir') . '/newsletter')): @mkdir(sfConfig::get('sf_upload_dir') . '/newsletter'); chmod(sfConfig::get('sf_upload_dir') . '/newsletter',0777); endif; if(!file_exists(sfConfig::get('sf_upload_dir') . '/newsletter/ anexos/')): @mkdir(sfConfig::get('sf_upload_dir') . '/newsletter/anexos/'); chmod(sfConfig::get('sf_upload_dir') . '/newsletter/anexos/',0777); endif; $default_dir = sfConfig::get('sf_upload_dir') . '/newsletter/ anexos/' . $this-getRequestParameter('id'); @mkdir($default_dir); chmod($default_dir,0777); $this-getRequest()-moveFile('file', $default_dir.'/'.$fileName); endif; $news_conteudo-setAnexo($fileName); $news_conteudo-save(); how to do this in symfony 1.4, put the file in a folder created by id? Excuse my English Thank´s -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] deployment
Hi all, i'm working with the deploy system of the symfony for a good time. But i have one doubt about this feature, specifically about the rsync. Here is my properties.ini: [production] host=www.domain.com port=22 -i E:\cygwin\home\Augusto\.ssh\id_rsa user=user dir=/home/USER/website #parameters=-azC --progress --force --delete —exclude-from=config/rsync_exclude.txt -p Everything works great except for one thing. Permissions. I dont know but the rsync didnt set the files permissions well done. Here is a example: drwx-- 8 USER GROUP 4096 Jan 23 21:57 public_html Look that the directory only have permission for the owner. How can i set the permission as 755 in the same time that i'm running the deployment of symfony? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] related selects (dependant drop-down menus)
How can I do related (dependant) drop-down menus with symfony or using a third party library like jquery? which is the best or the easiest way to do it? thanks in advances for your answers. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Pan and Zoom Javascript Library for Images
Yes, Magic Touch is free to use. There is also a paid version. You can see all plans on that link above. To request a Symfony plugin, contact us http://www.magictoolbox.com/contact/ and we will investigate it. On Jan 22, 3:45 pm, DEEPAK BHATIA toreachdee...@gmail.com wrote: Hello, Thanks for your mail. I hope this is free. Regards Deepak Bhatia On Fri, Jan 22, 2010 at 11:47 AM, Magic Toolbox themagictool...@googlemail.com wrote: Deepak, We are about to add GIF support to Magic Touch. It was designed for pan and zoom of images: http://www.magictoolbox.com/magictouch/ It's easy to use without a plugin, but we could probably create a Symfony plugin for you if you need. Magic Toolbox On Jan 21, 3:11 pm, DEEPAK BHATIA toreachdee...@gmail.com wrote: Hi, I want to give the functionality of pan and zoom of gif images. Do we have specific plugin available for the same in the Symfony ? Regards Deepak Bhatia -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.