Hi,
In my pretty easy CMS application i have written a own configuration
handler, which is called very early during a request.
This request fetches all cms pages from the database and adds all
according routes to the routing.
In this way you could use the link_to and url_for helpers as you
Check if your symfony is up to date. Some improvements were made in routing
system.
Read carefully the reference guide about routing :
http://www.symfony-project.org/reference/1_2/en/05-Factories#chapter_05_routing
Identify what could be done to optimize the loading/caching of your routes.
(I
This discussion is similar to this one :
http://groups.google.com/group/symfony-users/browse_thread/thread/a001363810c7a5d5/efd5f207f46253ad?hl=enlnk=gstq=email+route#efd5f207f46253ad
Please continue the discussion in the foreign, to find a solution faster.
Thanks,
Alexandre
2009/10/20 Sid
Hi,
our test task failed under Windows, it says 'Unable to find PHP
executable'.
All other symfony task works, only the test task failed.
The Search Path is right and we're using 1.2.9 with doctrine.
--~--~-~--~~~---~--~~
You received this message because you
This is a path setting in windows. Look at the symfony.bat file and put the
correct path to your PHP executable.
On Tue, Oct 20, 2009 at 9:50 AM, ridcully ohnhei...@googlemail.com wrote:
Hi,
our test task failed under Windows, it says 'Unable to find PHP
executable'.
All other symfony
Hey,
I think in each case you must have to create an extend class (up!)
By example :
in backend/modules/sfGuard/lib/signinBackendForm.class.php
proflBackendForm.class.php
in frontend/modules/login/lib/signinFrontendForm.class.php
proflFrontendForm.class.php
And on each extends class you can
Our Problems seem there is a space in the directoryname C:\program
file where the PHP executable lies.
Google says it's a bug in symfony, is any workaround there?
THX
Joerg
On Oct 20, 9:55 am, Gareth McCumskey gmccums...@gmail.com wrote:
This is a path setting in windows. Look at the
Join .Net Community
This group represents the Microsoft .Net community. All .net
programmers all around the world are welcome here. In this group
you'll find the latest releases of .Net related products, frameworks,
Upgradation, technologies, IDEs etc. You also can share your
experiences and
no thanks
On Tue, Oct 20, 2009 at 1:08 PM, Shawon_ pipa...@gmail.com wrote:
Join .Net Community
This group represents the Microsoft .Net community. All .net
programmers all around the world are welcome here. In this group
you'll find the latest releases of .Net related products,
Mind not spamming the list with unrelated posts please?
On Tue, Oct 20, 2009 at 12:08 PM, Shawon_ pipa...@gmail.com wrote:
Join .Net Community
This group represents the Microsoft .Net community. All .net
programmers all around the world are welcome here. In this group
you'll find the
hi, i'd like to have a route for my posts like this:
post_by_slug:
url: /:sf_culture/post/:slug
class:sfDoctrineRoute
param:{ module: openbubble, action: show }
options: { model: OpenBubble, type: object }
I call the links like this in indexSuccess.php:
?php echo
Forgot to mention that if I follow this :
http://forum.symfony-project.org/index.php/m/73455/19006/0///#msg_73455
and add an Id to the route like this
openbubble_by_slug:
url: /:sf_culture/post/:id/:slug
class:sfDoctrineRoute
param:{ module: post, action: show }
A fixaround would be to create a batch :
c:\windows\system32\php.bat
that contains
c:\program files\\php.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
But the best thing is to fix the symfony.bat file.
Try replacing lines 22 to 26 with :
IF EXIST .\symfony (
%PHP_COMMAND% -d html_errors=off -d
Sorry, my pc is doing weird things...
so: I forgot to mention that if I follow this :
http://forum.symfony-project.org/index.php/m/73455/19006/0///#msg_73455
and add an Id to the route then it works correctly
#works
post_by_slug:
url: /:sf_culture/post/:id/:slug
class:
Have done that. escaping_strategy is on and set to ESC_SPESCIALCHARS.
To problem is with the implementation of the htmlspecialchars.
On 19 Okt, 23:10, Alexandre SALOME alexandre.sal...@gmail.com wrote:
Check your settings.yml in config folder of your application. There is an
escaping strategy
Okay thx! But how do I use that when I extended the form class?
I got these forms:
ObjectForm extends BaseObjectForm
ObjectI18nForm extends BaseObjectI18nForm
Then in my app lib I created these forms:
MyObjectForm extends ObjectForm
MyObjectI18nForm extends ObjectI18nForm
Ofcourse, the form
It looks exactly like SSI. Maybe it will be your more standard way if
you manage to implement SSI on dynamic page ;)
On Oct 19, 11:46 am, SA sarunas.atkociu...@gmail.com wrote:
Hello,
we are developing a news website which mostly consists of constantly
changing, but fully cacheable content,
I would like to know how many time my domain is accessed each day and
store this info in my DB
For the previous non-symfony version of my website I wrote a script in
the index.php that did the trick.
But now that I use symfony and that I try to follow the OO and MVC
spirit I'm not sure of the
In symfony 1.0 I would have used the filter system.
In symfony 1.2 I think the event system can help you.
Maybe the other devs have better ideas.
Regards
On Oct 20, 2009, at 8:11 PM, aymeric wrote:
I would like to know how many time my domain is accessed each day and
store this info in my
Hi,
The new sf 1.3 jobeet tutorial contains a new chapter about how to configure
and send emails with the new integrated Swif Mailer system. The tutorial has
been updated to fit the new recommandations of sf 1.3 / 1.4.
Hugo.
De :
I bought the tutorial book and it directs me to the 1.2 download page
to download the jobeet project. However, I can only find the sandbox
there and the base code, no jobeet project.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi, I want know how I configure my application to work with multiple schemas
in Sql Server.
I have a delegate database with several schemas, and I will work with just
some of them, but the command propel:build-schema generate all tables.
Another problem is, when symfony make queries in database
hi there,
i am using an objects for select with the multiple = true (symfony
1.2)
everything works fine with the exception of capturing the array. in
the action.
$this-getRequestParameter('...') only returns one of the items
selected.
I have tried also _$POST with the same result.
can anyone
Hi,
I use symfony with doctrine and I try to store some binary data in my
MySQL database. So I defined a class with a blob field like this:
File:
columns:
id:
type: integer
primary: true
unsigned: true
notnull: true
autoincrement: true
name:
type:
Hi All,
I am very new in Symfony ! :-) and this is my first post.
I am getting Fetal error after running propel:build-model command in
day3 of jobeet tutorial !
I also tried SVN (http://svn.jobeet.org/propel/tags/release_day_03)
but result is same .
my console output :
I have a simple question: why is the remember me feature storing
information in the database?
It works well because it is storing the user login in a cookie, so I
think that the sf_guard_remember_key table is completely
unnecessary. It is just storing the user id, some dates, and his IP.
If I
I have a simple question: why is the remember me feature storing
information in the database?
It works well because it is storing the user login in a cookie, so I
think that the sf_guard_remember_key table is completely
unnecessary. It is just storing the user id, some dates, and his IP.
If I
But why is the filter storing the IP if it is not using it to
authenticate the user?
On 11 oct, 11:06, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
use just the cookie ... not the ip itsself ...
On Fri, Oct 9, 2009 at 5:46 PM, Charles Bernard
bernardchar...@gmail.comwrote:
Hi
Hi All,
Answering my questions .
I've increased memory_limit to 128M in php.ini (*) and every things looks
fine ! :-)
(*) you need to know which php.ini is used by your console , you could find
it by run $ php check_configuration.php
Also If we have check memory_limit then probebly would save
Hello, i want to know how I can select last 6 rows of my table named
'users'
I want to show last 6 users registred on website. But didnt know how
with criteria..
Thanks all.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi.
I think its because you're trying to set idCategory as null (in the
forien key) while the field defined as 'notnull: true' .
you should change the forien key (under relation) or idCategory
definition.
--~--~-~--~~~---~--~~
You received this message because
I'm coding on a Mac, but a collegue is coding on a Windows System, and
i think it's not a shame to code under Windows.
But the the php.bat is not the Problem, because a symfony.bat
doctrine:build-all-reload works 100% on this Windows system.
I think the testrunner wants to create a new PHP Task
Someone who has experience with this?
On 19 okt, 10:37, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
When I have some i18n fields in my form, it is displayed like this:
price: field
rank: field
en:
-- title: field
-- description: field
nl:
-- title: field
-- description:
saw you answered your own questions,
just wanted to mention if you want to start using xml instead of yml, you
can run
'symfony propel-convert-yml-schema' and vice versa
'symfony propel-convert-xml-schema'
lates,
Arian
--~--~-~--~~~---~--~~
You received this
www.*symfony*-project.org/*jobeet*/
2009/10/15 rernst rolf.er...@24hourloop.com
I bought the tutorial book and it directs me to the 1.2 download page
to download the jobeet project. However, I can only find the sandbox
there and the base code, no jobeet project.
Sort descending by userid, and limit 6? addDescendingOrderByColumn()
and setLimit()
On Sun, Oct 18, 2009 at 19:29, Gabi debiasi...@gmail.com wrote:
Hello, i want to know how I can select last 6 rows of my table named
'users'
I want to show last 6 users registred on website. But didnt know
You can also just drop something into sfUser and override it's initialize
method.
On Tue, 20 Oct 2009 14:13:55 +0200, harryjekyll harryjek...@gmail.com
wrote:
In symfony 1.0 I would have used the filter system.
In symfony 1.2 I think the event system can help you.
Maybe the other devs
It does seem to be a bug that exists in the propel version as well.
On Sat, Oct 17, 2009 at 21:01, HiDDeN davidmoralesmoj...@gmail.com wrote:
But why is the filter storing the IP if it is not using it to
authenticate the user?
On 11 oct, 11:06, Alexandru-Emil Lupu gang.al...@gmail.com
I can't find a way to solve that issue...
Nobody has any suggestion/idea?
--~--~-~--~~~---~--~~
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
On Tue, 20 Oct 2009, aymeric wrote:
But now that I use symfony and that I try to follow the OO and MVC
spirit I'm not sure of the right way to do this.
Does anyboy has an answer?
Why not just use Google Analytics?
--
--~--~-~--~~~---~--~~
You received
Hey Gareth,
That unfortunately also doesnt work; gives a url like:
a href=
http://site1.localhost/C%3A%5Cdev%5Csymfony-workspace%5CtheAppName%5Cweb/files;Download
File/a
I just did something ghetto and figured out how to calculate path based on
where web directory is in web root folder which
Not everyone wants data on the cloud ;)
On Tue, Oct 20, 2009 at 4:02 PM, Eno symb...@gmail.com wrote:
On Tue, 20 Oct 2009, aymeric wrote:
But now that I use symfony and that I try to follow the OO and MVC
spirit I'm not sure of the right way to do this.
Does anyboy has an answer?
Using a pre-filter is your best bet...
http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_filters
On Tue, Oct 20, 2009 at 2:11 PM, aymeric elag...@gmail.com wrote:
I would like to know how many time my domain is accessed each day and
store this info in my DB
There are statistical tools that can be locally installed, like Mint.
On Tue, Oct 20, 2009 at 16:23, Gareth McCumskey gmccums...@gmail.com wrote:
Not everyone wants data on the cloud ;)
On Tue, Oct 20, 2009 at 4:02 PM, Eno symb...@gmail.com wrote:
On Tue, 20 Oct 2009, aymeric wrote:
But
If you have created_at or update_at fields you can use those too.
If you need me to describe the exact methods and so on to use then you
really should be reading the book more as those are basic functions to
perform
On Sun, Oct 18, 2009 at 7:29 PM, Gabi debiasi...@gmail.com wrote:
Hello, i
True. But again some people don't want the n'th degree of statistics and a
basic counter is sufficient. Its all about his requirements. I'm a fan of
not over complicating a solution to your needs.
On Tue, Oct 20, 2009 at 4:25 PM, Gábor Fási maerl...@gmail.com wrote:
There are statistical tools
The Idee comes not from us, Zend Server CE install PHP under Programm
Files.
On Oct 20, 2:40 pm, david da...@inspiredthinking.co.uk wrote:
It's generally not a good idea to have php installed under program files
- suggest to your colleague to reinstall it to a folder under the root of
a
I wish ot use ENUM type in my Doctrine model, and according to
doctrine manual I have to set attribute
Doctrine::ATTR_USE_NATIVE_ENUM to TRUE (
http://www.doctrine-project.org/documentation/manual/1_1/en/defining-models#columns:data-types:enum
)
Where can I do it in symfony ?
In your ProjectConfiguration. Check the Symfony + Doctrine documentation on
the symfony website for how to set attributes.
http://www.symfony-project.org/doctrine/1_2/en/03-Configuration
- Jon
On Tue, Oct 20, 2009 at 11:11 AM, Hong Kil Dong fetfru...@gmail.com wrote:
I wish ot use ENUM type
Maybe.. i've done what you sai, setting setnull: true o these
fields, but the error persist.
It seems to be fault on the onDelete: SET NULL property on doctrine
schemas foreign keys.
If i remove these it works!!!
But i don't want to remove the foreign field..
On 18 Ott, 11:04, Yahel
On Tue, 20 Oct 2009 08:11:13 -0700 (PDT)
Hong Kil Dong fetfru...@gmail.com wrote:
I wish ot use ENUM type in my Doctrine model, and according to
doctrine manual I have to set attribute
Doctrine::ATTR_USE_NATIVE_ENUM to TRUE (
hi,
you can find this in:
http://www.symfony-project.org/doctrine/1_2/en/03-Configuration
im using my attribuites in databases.yml
On Tue, Oct 20, 2009 at 1:11 PM, Hong Kil Dong fetfru...@gmail.com wrote:
I wish ot use ENUM type in my Doctrine model, and according to
doctrine manual I have
That will work as well.
- Jon
On Tue, Oct 20, 2009 at 11:30 AM, Greg Maruszeczka gma...@gmail.com wrote:
On Tue, 20 Oct 2009 08:11:13 -0700 (PDT)
Hong Kil Dong fetfru...@gmail.com wrote:
I wish ot use ENUM type in my Doctrine model, and according to
doctrine manual I have to set
I use this in my own form formatter:
protected $rowFormat = 'trth%label%/thtd%hidden_fields%%field
%/tdtd%error%ul%help%/ul/td/tr';
My i18n form is loaded at the %field% spot, as a complete new table.
My question: is it also possible to load the i18n form as a new table
below the other ones,
Hi,
I have created the backend for the sfGuardUser module.
Then I have added the Profile fields to the filter using this tutorial
(in spanish):
http://jsangil.blogspot.com/2009/09/modificacion-de-filtros-en-symfony-para.html
Now i have problems when i use sfValidatorEmail and
sfValidatorFile:
I found this article but it only works if you can install sfDbFinder
(Sf 1.1):
http://redotheweb.com/2008/09/25/sorting-by-custom-column-in-the-symfony-admin-generator/
Javi
On Oct 14, 2:14 pm, tirengarfio tirengar...@gmail.com wrote:
On Oct 14, 1:39 pm, Alexandru-Emil Lupu
On Tue, 20 Oct 2009, mbernasocchi wrote:
?php echo link_to($post-getTitle(), 'post_by_slug', $post) ?
Shouldn't that second parameter name the route and pass the slug? i.e.
link_to($post-getTitle(), '@post_by_slug?slug=' . $post-getSlug());
Im assuming your model has a getSlug() method and
On Tue, 20 Oct 2009, Alexandru-Emil Lupu wrote:
2) you would still have problems with this issue. I remember you that the
link_to and url_for is using the allready generated routes.
You could write your own routing class to handle that.
But ss I said earlier, seems easier to me to fix all
I tried the method described here, but it doesn't work...
http://www.symfony-project.org/book/1_2/12-Caching#chapter_12_sub_clearing_cache_across_applications_new_in_symfony_1_1
I define this method in backenConfiguration.class.php:
public function getFrontendCache()
{
if
Well, it’s just very initial
The problem: Follow Practical Jobeet with Propel and Doctrine, and using
Symfony1.3, How long takes interac with a simple CRUD?
Reading the Chapters 1 and 3, for each ORM, and warp to front controller for
DEV enviorement inside a benchmark file, these is the results
Hi all.
I'm trying to get field values in my View after having done multiple
joins between some tables (models) but i don't know how to do..
I have three tables: Interview, Answer and Question.
I want to show a single interview with all the Questions and the
Answers related to that Interview (by
Hi
I have 1 table in my project, called sf_guard_user_profile. In
which, there are 2 fields,
1. first_name
2. last_name
I m working on search module
in table, suppose there is 1 entry
firstname = 'John'
lastname = 'Lee'
In search if any body searches for 'john lee', how to match ?
bcoz
$exploded_query = explode( , $this-query);
$k-getNewCriterion(
sfGuardUserProfilePeer::FIRST_NAME,%.$exploded_query[0].%,Criteria::LIKE)
$k-getNewCriterion(
sfGuardUserProfilePeer::LAST_NAME,%.$exploded_query[1].%,Criteria::LIKE)
On Wed, Oct 21, 2009 at 5:25 AM, Avani avani.v.puj...@gmail.com
63 matches
Mail list logo