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);
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
# 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
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:
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
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
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');
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:
>
>
>
>
>
>
>
>
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
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
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
, 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
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
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
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
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
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
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
>
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:
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
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()) ?>
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
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
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) ?>
>
>
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
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
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() ?>
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
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
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
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
;
$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
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
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
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
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
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
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
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
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
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
41 matches
Mail list logo