With just plain old PHP and even some Javascript built in this is actually very
difficult if not impossible to do as PHP was never designed to interact with a
users PC. Javascript was however designed to run client-side but does not have
direct access to a users hard drive for obvious security
Hi I used the
I used the sfPhpExcelPlugin-1.0.2.zip from the
http://www.symfony-project.org/plugins/sfPhpExcelPlugin/1_0_2
In this I used this both for creating an excel file and downloading the same
using PHP.
Also I used the same for uploading an excel file and then reading the
contents of
Hi,
I think there may be at least 2 solutions :
1st)
- Make for form so user can upload one or more file
- Modify that file in php, this point may be though, as php excel writers
have generally limited support. You can try something like this
http://pear.php.net/package/Spreadsheet_Excel_Writer
Yes, you are right. In this multiselect box can be all his children,
and also all folders without a parent. But there can't be a folders
which have another parent folder.
On 12 led, 19:33, smellycat37 charley.mail...@gmail.com wrote:
if a folder has a parent with the reference on folder_id, he
Hi,
If we want to use the same database for the two projects in Symfony 1.1, how
can we achieve that. I guess we just need to execute step1 and step 2 below.
=
1. php symfony propel:build-model
2. php symfony cc
3. php symfony configure:database
When I go to my application, it says only this:
Fatal error: Class 'BasePageGeneratorConfiguration' not found in /srv/
www/vhosts/startersspecialist.nl/httpdocs/apps/controlpanel/modules/
page/lib/pageGeneratorConfiguration.class.php on line 11
I think it has something to do with the admin
Nobody filter a list by checkboxes or by a multiple selectbox?
On 11 led, 20:51, Tom Ptacnik to...@tomor.cz wrote:
Hello,
I have classic admin generated backend (Symfony 1.4). Today I've tried
to customize the filter for the list view.
The problem is that I want to filter by multiple
you can access to a user object via sfContext::getInstance()-getUser
() if you user standard user object and credentials system...
On 15 led, 00:41, Darren884 darren...@gmail.com wrote:
Yes but how do I call the sfFormFilter object? I had tried $this-
configuration-getFilterForm but it runs
Left it unfilled, and then when saving the profile don't change the
password if the password field is blank..
Also you have to optimize a validation process for this behaviour.
On 14 led, 18:08, Darren884 darren...@gmail.com wrote:
HI basically I want to make it so as if a user is filling out
On 01/14/2010 11:20 PM, Gabo wrote:
Help!!
I have this in schema:
documents_users:
columns:
document_id: { type: integer }
user_id: { type: integer }
created_at: { type: timestamp }
y en the form, i change the widget user_id for this:
'user_id' = new
I believe $sf_request-getParameter('action') and $sf_request-
getParameter('module') should also work.
On 14 Jan., 21:38, dziobacz aaabbbcccda...@gmail.com wrote:
thx people !! :)
On 14 Sty, 20:57, tirengarfio tirengar...@gmail.com wrote:
Well put $ before both..
On Jan 14, 8:55 pm,
Hello,
How to delete values after bind() ?
I want to clean my form.
Thank,
--
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
Do you call include_javascripts() in your layout? Did you clear your
cache after the deployment?
On Fri, Jan 15, 2010 at 08:47, domnuprofesor domnuprofe...@gmail.com wrote:
yes, of course I cheked the html code...
No script tag is generated. Firebug reports no JS files loaded nor
any js
Dear all,
Hi, I would like to allow users getting redirected to www.mydomain.com if
they enter mydomain.com in the browser. I added rewrite rule in the
..htaccess that comes with symfony 1.2 but the rewrite rule does not seem to
work. When users enter mydomain.com, their browser continues to
The second line after the RewriteCond is wrong.
It should be more like:
RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
RewriteRule ^(.*) http://www.mydomain.com$1 [QSA,L,R=301]
Bascht
On 15.01.10 14:16, YTH wrote:
Dear all,
Hi, I would like to allow users getting redirected to
I was thinking about it and I'm not right...
You can, of course, display all folders in multiselectbox (child
folders, free folders and folders with different parent folder) but,
when you select a folder which has another parent, and set it as a
child folder for actual folder, it will be child
Two different projects with different tables/models? Or some tables
will be shared? Or all tables will be shared?
On 15 led, 10:31, DEEPAK BHATIA toreachdee...@gmail.com wrote:
Hi,
If we want to use the same database for the two projects in Symfony 1.1, how
can we achieve that. I guess we
What's your purpose of clearing the form of its values?
On Jan 15, 7:23 pm, DoRiaN doria...@gmail.com wrote:
Hello,
How to delete values after bind() ?
I want to clean my form.
Thank,
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
When the form isValid(), i display again the same form empty to add a
new element.
I do new Form because i don't know how to clean values.
On 15 jan, 14:27, ken marfillas...@gmail.com wrote:
What's your purpose of clearing the form of its values?
On Jan 15, 7:23 pm, DoRiaN doria...@gmail.com
Dear Bascht,
Great! It works now.
By the way, the rewrite rule that I used (which does not work) is from this
page, under the URL Layout section and after the Canonical Hostnames
heading:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
I just don't quite understand what's the
You mean the form fills the field with the password as default value?
I don't think that is ever a good idea. If you want a change password
form, here is the class that I'm using.
http://gist.github.com/278064
On Jan 15, 6:38 pm, Tom Ptacnik to...@tomor.cz wrote:
Left it unfilled, and then when
If you want to clear the form after it's proccessed, you can simply do
redirect to the same form (in the action)
On 15 led, 12:23, DoRiaN doria...@gmail.com wrote:
Hello,
How to delete values after bind() ?
I want to clean my form.
Thank,
--
You received this message because you are
Thanks for all the scenarios. If possible, please send me the solution for
some tables as well as all tables.
Regards
Deepak Bhatia
On Fri, Jan 15, 2010 at 6:54 PM, Tom Ptacnik to...@tomor.cz wrote:
Two different projects with different tables/models? Or some tables
will be shared? Or all
If you are using the admin generator, override apps/myapp/modules/
mymodule/lib/mymoduleGeneratorConfiguration.php
public function getFilterOptions()
{
return array('sf_user' = sfContext::getInstance()-getUser());
}
On Jan 15, 6:35 pm, Tom Ptacnik to...@tomor.cz wrote:
you can access to a
It should be located(generated) in
/cache/controlpanel/modules/page/lib/
On 15 led, 10:46, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
When I go to my application, it says only this:
Fatal error: Class 'BasePageGeneratorConfiguration' not found in /srv/
You need to add a custom query method in your filter class.
public function addTkskateColumnQuery($query, $field, $value)
{
if (!empty($value))
{
$query-addWhereIn('p. tkstate', $value);
}
}
On Jan 15, 5:50 pm, Tom Ptacnik to...@tomor.cz wrote:
Nobody filter a list
Have you defined the relation of documents_users to users in your
schema.yml? Are you trying to achieve the behavior of sfGuardUser to
sfGuardPermission via sfGuardUserPermission?
On Jan 15, 7:01 pm, Javier Garcia tirengar...@gmail.com wrote:
On 01/14/2010 11:20 PM, Gabo wrote:
Help!!
Are you trying to override a module in a plugin?
On Jan 15, 9:47 pm, Tom Ptacnik to...@tomor.cz wrote:
It should be located(generated) in
/cache/controlpanel/modules/page/lib/
On 15 led, 10:46, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
When I go to my application, it says
hi all,
i've tried to use the doctrine:migrate task, but i'm getting the
following error:
php symfony doctrine:migrate
doctrine Migrating from version 0 to 1
The following errors
occurred:
- SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot
delete or update a parent row: a
I don't call any include_javascripts().
I rely on the view.yml of each module I have defined.
I tried clearing the cache but no success.
Any ideas?
On Fri, Jan 15, 2010 at 3:03 PM, Gábor Fási maerl...@gmail.com wrote:
Do you call include_javascripts() in your layout? Did you clear your
cache
But in the documentation, it seems that it's supposed to be in a line
by default.
On Jan 15, 2:06 am, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
Maybe by adding some css?
Alecs
sent via htc magic
On Jan 15, 2010 6:40 AM, Doraemon theoneandonlydorae...@gmail.com wrote:
In the
In view.yml you specify which js files should be included when you
call include_javascripts() in your layout. Put the call right before
your /body tag and it should work.
sfCommonFilter did this for you, but it has been deprecated in
1.3/1.4. See
Yes, I create the relation with the tables..
but the widget is multiple = true print this error, but is false no print
error:
THE ERROR:
*Notice*: Undefined offset: 2 in *
Gábor, thank you for the hint.
I don't use symfony 1.3, I use symfony 1.2.9 so the problem should not be
there.
On Fri, Jan 15, 2010 at 5:08 PM, Gábor Fási maerl...@gmail.com wrote:
In view.yml you specify which js files should be included when you
call include_javascripts() in your layout.
I am trying to better integrate a Javascript Datagrid that I'm using
with the symfony routing system. I want to pass the unprocessed route
for to view a particular entity type to the javascript class.
For example, I have the following route:
email_show
/email/:id.sf_format
When displaying a
I'm trying to have 2 layers of embedded forms, meaning i have a
Product model that has many Series and the Series have many Documents.
I wanted to have the series form embedded in the product and the
documents embedded in series thus having two layers of embedding. I
followed the advanced
Hi there !
I'm working on a simple Quiz plugin for my Symfony project, so I'm
heavily using the Symfony embedding form system to have one big form
to edit my whole quiz :
- Quiz title
- Quiz questions
- For each questions, a list of proposals
I want to be able to add a question and a proposal
Hello friends,
I have a good job opening for symfony and thought it will better to
share it here.
Here's the description:
Position: Senior Software Engineer - PHP
Company Profile: Our firm is a product engineering company that builds
commercial grade software for its customers. Our customers
Are your files chowned to the apache group? Does symfony has access on your
ymls for parsing? Are you sure that you have the correct priviledges on your
cache folder?
Switch it to dev mode (i think you have to upload the dev file) and check
whatever your debug bar says.
I guess you are a romanian
Hi ppl,
I'm trying to alter a formulary which is being embedded on another form, in
order to change from table to divs, but i'm getting stuck, since i don't
know which template should i change. I tried to create a _form.php on both
of the forms, but it only change the father form, not the
Hi,
I have a referer url and I want to identify what is the module from that
url. So I will need to parse this url the same way symfony does it on it´s
routing or front controller. How can I parse a string containing a URL to
know what is the module in it considering the actual defined routing
Hello,
I'm having some issues trying to use sfDoctrineGuardPlugin with a
symfony project that uses 2 Doctrine connections.
I use 2 connections because I have a phpBB forum embedded in my project
(using prestaForumConnectorPlugin), and I want to keep the forum and
application specific
Hi,
I have added this in a template:
div id=mutsu class=apple/div
?php if( $('mutsu').hasClassName(apple) ){
alert(div has CSS apple class.); ?
}
but when i load the template in the browser, the javascript alert is not
showed.
Even in Netbeans i have a syntax error...
I added
Chris LeBlanc
webPragmatist
(817) 988-9616
http://www.webPragmatist.com/
--
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
Hi,
Just lose the ?php ? tags and you're good to go. ;)
You're trying to run javascript code in the PHP interpreter, which
isn't going to work.
All you have to do is replace your code with:
div id=mutsu class=apple/div
if( $('mutsu').hasClassName(apple) ) {
alert(div has CSS apple
On 01/15/2010 09:20 PM, Tiago Nunes wrote:
You're confusing PHP code with Javascript code, and that's not good.
Thanks Tiago, it's true..
Anywy im trying this:
?php echo javascript_tag(
if($('mutsu').hasClassName(apple)) {
alert(div has CSS apple class.);
}
) ?
And it doesn't
El 15/01/2010 18:10, Javier Garcia escribió:
Thanks Tiago, it's true..
Anywy im trying this:
?php echo javascript_tag(
if($('mutsu').hasClassName(apple)) {
alert(div has CSS apple class.);
}
) ?
And it doesn't work...
No problem with ordinary code:
script type=text/javascript
Was there any follow up regarding the bug that kept sending out email?
I recall Fabien looked into it and decided that Google was responsible
for the bug, but usually Google fixes such bugs in 24 or 48 hours.
This has been going on for 2 months or so. I've trouble believing that
Google would leave
No, it's forever or you die instantaneously ! :-)
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
.
To unsubscribe from this group, send email to
In my last email I forgot the opening and closing javascript tags
(or the symfony helper), but Rodrigo already gave you the correct
answer.
Try:
?php echo javascript_tag(
if($('mutsu').hasClassName('apple')) {
alert('div has CSS apple class.');
}
) ?
--
Tiago
Can someone please tell me or show me an example on how to access a
form filter object from within an action so I can pass objects and
variables to it? This is killing me that Symfony does not allow
instances to travel globally.
--
You received this message because you are subscribed to the
Hi guys I finally found the solution. The setOptions does not work
with FilterForms.
You must edit /lib/generate/sfModelGeneratorConfiguration.php and make
getFilterForm resemble getForm so it can contain options.
The first instance of the getFilterForm will be called in the
protected buildQuery
There is an easier way which works when you have ssh access.
Remove public_html directory and create symbolic link to project/web
ln -s where/your/project/is/web public_html
This method allows to place files wherever you want.
--
You received this message because you are subscribed to the
53 matches
Mail list logo