[symfony-users] properly download excel file

2011-05-23 Thread el-sid
hi all, does anyone know to properly download an excel file? in my code i have public function executeDownload(sfWebRequest $request) { $excel_file = Doctrine::getTable('Project')->find($request- >getParameter('id')); $this->setLayout(false);

[symfony-users] Re: ckWebServicePlugin unit tests

2011-04-04 Thread el-sid
can anyone please help me with this situation, or at least point me to the right direction. I would be happy to provide further information if needed. I'm stumped and google doesn't point to such an error. thanks again On Apr 5, 12:23 am, el-sid wrote: > ok, i managed to get the

[symfony-users] Re: ckWebServicePlugin unit tests

2011-04-04 Thread el-sid
# expected: 10 1..2 # Looks like you failed 1 tests of 2. i don't get why the output would be one unless the request object is outputting arrays. The methods and tests are exactly like in the documentation. please help On Apr 4, 10:19 am, el-sid wrote: > hi all, > > been

[symfony-users] ckWebServicePlugin unit tests

2011-04-04 Thread el-sid
hi all, been trying out the ckWebServicePlugin but i am unable to get the unit tests to show any result my app.yml is all: enable_soap_parameter: off #your environment for webservice mode soap: #enable the `ckSoapParameterFilter` enable_soap_parameter: on ck_web_service_plugin:

[symfony-users] Re: problem saving forms

2010-12-10 Thread el-sid
sorry, this part $this->processForm($request, $this->form); and this part $this->getUser()->signIn($this->form->getObject()); is not in the code. Thanks again On Dec 10, 6:10 pm, el-sid wrote: > okam really at my wits end here. can anyone please show me whats

[symfony-users] Re: problem saving forms

2010-12-10 Thread el-sid
lues. My problem is nothing gets saved in the database, and no error indicating why. Any help? thanks On Dec 6, 9:42 am, el-sid wrote: > Hi all, > > I am trying to modify the registration process in > sfDoctrineGuardPlugin to allow for an edit feature in the frontend. So > i came

[symfony-users] problem saving forms

2010-12-05 Thread el-sid
Hi all, I am trying to modify the registration process in sfDoctrineGuardPlugin to allow for an edit feature in the frontend. So i came up with this.. public function executeIndex(sfWebRequest $request) { $response = $this->getResponse()->addStyleSheet('template/ 2col.css');

[symfony-users] Re: image rendering problem-symfony 1.4

2010-12-03 Thread el-sid
t; tray.gif") 0 0 repeat-x; font:85%/1.2 "tahoma",sans-serif;} > > however this is not an appropriate question for this mailing list as > it has nothing to do with symfony not even with php.. > > On 3 Dez., 15:47, el-sid wrote: > > > > > > > >

[symfony-users] image rendering problem-symfony 1.4

2010-12-03 Thread el-sid
hello all, in my project, i have stored css files in web/css/template/ directory and images in web/images/template/ directory However, images are not displaying in my project. Using the element inspector for chrome, i find this error Failed to load resource: the server responded with a status of

[symfony-users] Re: How to set the title to each page dynamically

2010-11-28 Thread el-sid
or you can modify the title per module basis using the view.yml. However, make sure that you have not written anything between tags in the global layout, then you can specify title in the application level and myModule/config/view.yml level On Nov 22, 8:36 am, Pradeep wrote: > I found that title

[symfony-users] Re: The requested URL was not found on this server. ERROR

2010-08-09 Thread el-sid
tracked the solution(for apache config on debian) to this link http://tymonn.wordpress.com/2009/07/31/how-to-enable-mod_rewrite-in-apache2-debianubuntu/ for anyone interested. Thanks mates On Aug 9, 11:58 pm, el-sid wrote: > @Gustavo...i uncommented RewriteBase and nothing happened > @Ale

[symfony-users] Re: The requested URL was not found on this server. ERROR

2010-08-09 Thread el-sid
, look at your Apache logs to see if you > > have an error output. > > > The next step depends of your apache installation. You will have to install > > mod_rewrite. > > > Le 09/08/10 22:38, el-sid a écrit : > > >  hello, > >> i am trying to te

[symfony-users] The requested URL was not found on this server. ERROR

2010-08-09 Thread el-sid
hello, i am trying to test out how my app should behave in a production environment so this is what i did. In my settings.yml i set this prod: .settings: no_script_name: true logging_enabled:false i modified my htaccess file to look like this Options +FollowSymLink

[symfony-users] Re: forward404Unless() problem

2010-07-17 Thread el-sid
any ideas anyone? On Jul 16, 8:37 pm, el-sid wrote: > Hi, > > i am trying to redirect by action when it returns an empty result set > using foward404Unless(). the problem is it doesnt seem to have any > effect. It just brings me a page without the content > > in my action i

[symfony-users] forward404Unless() problem

2010-07-16 Thread el-sid
Hi, i am trying to redirect by action when it returns an empty result set using foward404Unless(). the problem is it doesnt seem to have any effect. It just brings me a page without the content in my action i have this public function executeIndex(sfWebRequest $request) { $this->article

[symfony-users] Re: integrating galleria into symfony 1.4

2010-06-16 Thread el-sid
messed up. Thanks again. On Jun 16, 12:09 am, el-sid wrote: > geez! i think you are right..just put firebug and it seems some of the > javascript code is being obstructed by the debug toolbar and/or with > my other javascript code there. On my layout..i had used: > >   > > though

[symfony-users] Re: integrating galleria into symfony 1.4

2010-06-15 Thread el-sid
and add module specific stylesheets and javascripts in the view.yml Is that about right?? Anyway, time to power down my brain. its late in my continent. Thanks for all your help Richard, i'll let you know how it goes. On Jun 15, 11:43 pm, Richard D Shank wrote: > On 06/15/2010 01:09 PM

[symfony-users] Re: integrating galleria into symfony 1.4

2010-06-15 Thread el-sid
rnative way of doing this On Jun 15, 10:40 pm, Richard D Shank wrote: > On 06/15/2010 12:09 PM, el-sid wrote: > > > > > thanks for reply, > > > i took your advice and put the code on the index and the changed the > >  tags..however, i notice that if i comment >

[symfony-users] Re: integrating galleria into symfony 1.4

2010-06-15 Thread el-sid
oh...what i mean is that the images display but the gallery is still not enabled On Jun 15, 10:09 pm, el-sid wrote: > thanks for reply, > > i took your advice and put the code on the index and the changed the > tags..however, i notice that if i comment > out these statements:

[symfony-users] Re: integrating galleria into symfony 1.4

2010-06-15 Thread el-sid
allery should be > > > >       > >           $pics->getImage()) ?> > > >       > > > > Disable the the script to see if the images are actually loading on the > page. > > On 06/15/2010 10:18 AM, el-sid wrote: > > > hi all, > > > i am trying to in

[symfony-users] integrating galleria into symfony 1.4

2010-06-15 Thread el-sid
hi all, i am trying to integrate this jquery script into symfony found at: http://galleria.aino.se/ . however i am coming up with a blank screen. i put the javascripts inside /js/galleria folder then in the showSuccess of my module, i put this getImage()) ?>

[symfony-users] Re: Form helper on symfony 1.4

2010-06-14 Thread el-sid
Hi gustavo, i think you would be better served by reading these manuals: http://www.symfony-project.org/forms/1_2/en/ http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms The forms framework was revamped so these manuals should get you up and going On Jun 14, 11:46 pm, Gustav

[symfony-users] Re: getRaw produces blank content

2010-06-09 Thread el-sid
it worked..it seems the generated content was disagreeable to my css On Jun 8, 7:56 pm, el-sid wrote: > i assume you mean: > getContent(ESC_RAW) ?> > > i also tried getContent(ESC_RAW) ?> > > didnt work either. View source still produces un escaped content but > can

[symfony-users] Re: getRaw produces blank content

2010-06-08 Thread el-sid
i assume you mean: getContent(ESC_RAW) ?> i also tried getContent(ESC_RAW) ?> didnt work either. View source still produces un escaped content but cannot be seen in the template On Jun 8, 5:06 pm, Tom Ptacnik wrote: > In the template > > getAtributte(ESC_RAW) ?> > >

[symfony-users] Re: getRaw produces blank content

2010-06-08 Thread el-sid
i mean unescape selected content On Jun 8, 3:23 pm, el-sid wrote: > hello all, > > I am trying to render content from the database that was stored using > tiny_mice and sfFormExtraPlugin > > in the controller > > $this->articles = Doctrine::getTable('Articl

[symfony-users] getRaw produces blank content

2010-06-08 Thread el-sid
hello all, I am trying to render content from the database that was stored using tiny_mice and sfFormExtraPlugin in the controller $this->articles = Doctrine::getTable('Articles')- >getNewsItems($request->getParameter('id')); in the template, i try this after looping in a foreach getRaw('conte

[symfony-users] getting object labels sfShoppingCart

2010-05-18 Thread el-sid
Hi, im trying to integrate sfShoppingCart with doctrine. Its all going well except for the view getClass() . 'Table', 'retrieveProductName'), $item->getId()) ?> getLabel() ?> getQuantity() ?> getPrice() ?> getDiscount()): ?> getDiscount() ?>

[symfony-users] how to loop through nested set categories with related data

2010-05-10 Thread el-sid
hello, i have this problem with looping through my query. my yaml is like so Category: actAs: NestedSet: hasManyRoots: true rootColumnName: root_id columns: name: { type: string(255), notnull: true, unique: true } Product: columns: category_id: { type: integer, notn

[symfony-users] Re: using sfJqueryTreeDoctrineManagerPlugin at admin backend

2010-04-30 Thread el-sid
i get that the question might sound a little dumb :-( but can someone please help me. google is not yielding any results on this particular plugin. thanks On Apr 30, 11:13 pm, el-sid wrote: > hi, i found this plugin to manage nested set tree but i am having > problems getting it to w

[symfony-users] using sfJqueryTreeDoctrineManagerPlugin at admin backend

2010-04-30 Thread el-sid
hi, i found this plugin to manage nested set tree but i am having problems getting it to work, i followed the instructions but nothing seems to happen my yaml file looks like this Category: actAs: NestedSet: hasManyRoots: true rootColumnName: root_id columns: cat_name: { t

[symfony-users] Re: processing hidden input in forms

2010-01-22 Thread el-sid
imply do echo "I'm > here";exit; or something like that. And when you will be sure that it > isn't executed or it's executed, then do some more ... > > On 21 led, 21:46, el-sid wrote: > > > ive modified the code in the controller so that it can se

[symfony-users] Re: processing hidden input in forms

2010-01-21 Thread el-sid
; $this->stock = $this->getRoute()->getObject(); $this->form = $this->configuration->getForm($this->stock); $this->processForm($request, $this->form); $this->setTemplate('edit'); } i dont get any error when i do this but t

[symfony-users] processing hidden input in forms

2010-01-21 Thread el-sid
hi, basically what i'm trying to do is hide two fields from the form Stock in the admin then when the user is creating or editing a new stock object. there is some background calculation that is done then passed as a request before the form is processed. The code am trying to process is this in /l

[symfony-users] Re: problem installing sfDoctrineGuard Plugin

2010-01-05 Thread el-sid
Environnementale! > > On Tue, Jan 5, 2010 at 3:15 PM, el-sid wrote: > > ok...i downgraded to symfony 1.3 and downloaded sfDoctrineGuardPlugin > > 4.0 and 3.0 > > followed some advice on symfony forums to do this > > > symfony plugin:install ./sfDoctrineGuardPlugin-3

[symfony-users] Re: problem installing sfDoctrineGuard Plugin

2010-01-05 Thread el-sid
i am trying to do a local plugin install. Is there a way to unset this default choice? please help On Jan 4, 11:34 pm, el-sid wrote: > hi all > i'm using symfony 1.4 with version 4.0.1 of doctrineguardplugin. > i downloaded the package from symfony website. when i issue

[symfony-users] problem installing sfDoctrineGuard Plugin

2010-01-04 Thread el-sid
hi all i'm using symfony 1.4 with version 4.0.1 of doctrineguardplugin. i downloaded the package from symfony website. when i issue the command ./symfony plugin:install /path/to/sfDoctrineGuardPlugin.tzg i get this error unable to register channel pear.symfony.com from the readme file, it says

[symfony-users] Re: using fixtures with images and audio files

2009-10-27 Thread el-sid
se is possible - but not optimal. > > On Tue, 27 Oct 2009 20:23:37 +0100, el-sid wrote: > > > hi all, > >  i have a system im working on that allows loading images and mp3 > > files into a mysql database. > > what i want to know is, is it possible to load sample fil

[symfony-users] using fixtures with images and audio files

2009-10-27 Thread el-sid
hi all, i have a system im working on that allows loading images and mp3 files into a mysql database. what i want to know is, is it possible to load sample files into the db using fixtures? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] referencing static html pages

2009-09-24 Thread el-sid
hi, i was wondering, is it possible to dynamically generate links on a page that point to static html pages in a symfony directory and, if possible, restrict access to them. im asking because ive seen so far that symfony configures routes to modules and a project im working on requires the static

[symfony-users] Re: problem with building sql

2009-09-21 Thread el-sid
thanks eric, from what u say, i changed all the relations by adding the prefix UrbanMusic and it worked. But i now get the logic behind it. thanks On Sep 21, 3:49 pm, erikms wrote: > Hi el-Sid, > from what I see, you have a *relation* to a table Tracks, but not the > actual table

[symfony-users] problem with building sql

2009-09-20 Thread el-sid
hi all, am new to symfony and have been using the jobbet tutorial to try building a new app. i posted this message on the symfony forums but got no reply so am trying out here. I am having problems parsing the yaml file. it generates the model classes using doctrine:build- model but gives me this