what is the default parameter in url_for . true or false?
On Apr 4, 11:33 am, D3F <[EMAIL PROTECTED]> wrote:
> url_for has extra parameter "true",
> example:
>'listing/list?prop_category=' . $prop_category . '&listing_type=' .
> $listing_type . '&search_str=' . $location, true)
>
> On Apr 4,
Thanks friend .
now its working...
On Fri, Apr 4, 2008 at 12:03 PM, D3F <[EMAIL PROTECTED]> wrote:
>
>
> url_for has extra parameter "true",
> example:
> 'listing/list?prop_category=' . $prop_category . '&listing_type=' .
> $listing_type . '&search_str=' . $location, true)
>
>
>
>
> On Apr 4, 8
url_for has extra parameter "true",
example:
wrote:
> Hi Friends,
>
> I have generated a routing rule in routing.yml
>
> search_email_friend:
> url: /:prop_category/:listing_type/properties/:search_str
> param: { module: listing, action: list}
> requirements: { listing_type: rent|sale|new|
Thanks Thomas...
I've always felt that there should be a scope between session and
request...
Think of a wizard in an interactive web application...
We need the data for 4-8 requests...but not after that...
I think struts 2.0 has something for this...
Have you guys felt this? Do you clear the
Hi Friends,
I have generated a routing rule in routing.yml
search_email_friend:
url: /:prop_category/:listing_type/properties/:search_str
param: { module: listing, action: list}
requirements: { listing_type: rent|sale|new|resale, prop_category:
residential|commercial }
and create a url in
It can be help me.
Thanks,
Manish.
On Fri, Apr 4, 2008 at 1:55 AM, Thomas Rabaix <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> There are different solutions to temporary store form information :
> - use the session : store the form value into a hash key array
> - use hidden values in the form
create a __toString() function in your payment table and have it
return the
public function __toString()
{
return $this->paymentTypeName();
}
That is what you want.
James
On Apr 3, 2008, at 9:29 PM, Craig Boxall wrote:
> Hi,
>
> I've got a foreign key in my schema:
>
> I have a
Im running symfony 1.0.13
Ive just installed Oracle from a rpm on a Fedora 7.
Everything is ok. Ive created an user and its logging in on the schema
throught console without problems.
Im now testing..
My schema.yml:
propel:
cliente:
id:
nome: varchar(200)
propel.ini
propel.database
I guess the best would be to store enough information in your lucene
db to be able to re-create most of your data from it, it will be
faster and does not need to retrieve data from your db on display. you
could easily store in lucene your avatar filename and display the
avatar without the need of
Ian: I have seen and considered installing phpaspect (or similar
alternative on our development site).
Lee: Not so much auditing although an interesting idea as well.
Basically I was looking to catch and log all fatal errors however it's
occured to me that this will not work.
We end up with fatal
Hmmm, not sure this will work, but, if you are using the admin
generator, in your generator.yml, you might try:
list:
title: My List Title
display: [ _my_partial, column1, column2 ]
fields:
my_partial: { type: checkbox }
Does that work?
--~--~-~--~~
Hi,
I've got a foreign key in my schema:
I have a table called registration with a field called
payment_type_id which is a foreign key relationship to the table
payment_type and the field id
Symfony is generating this relationship for me happily but in the
admin, i want to display payment_
Create a table of attributes and create a relationship between your
attribute table and the field that has one of the values. Then in
your model for attributes define the __toString() function and the
admin genorator will automatically pull whatever __toString() returns
so if you have a f
Indeed, he should use the wonderfull Symfonians application and the dedicated
wiki page :) :)
- Message d'origine
De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
À : symfony users
Envoyé le : Jeudi, 3 Avril 2008, 23h55mn 38s
Objet : [symfony-users] Re: Symfony Developer (For freelance)
Bad style body. This is not the place for that.
Posting it on all groups makes it even worser.
Sorry, my 2 cents.
Michael
On 3 Apr., 20:55, tolga <[EMAIL PROTECTED]> wrote:
> Hi there,
> I have experience with Symfony Framework created frontend of an
> internetional dating site.
> I want to c
Thanks Jill, not quite what I was after but thanks anyway.
Basically, in the 'list' view I've created a new partial column
"has_attribute_x" which (obviously) corresponds to getHasAttributeX()
in my actions. That method does nothing more than:
public function getHasAttributeX()
{
return $this
Hello,
There are different solutions to temporary store form information :
- use the session : store the form value into a hash key array
- use hidden values in the form
- store the values in the database (a memory table)
- use sfFunctionCache (this is not documented but it is very nice)
Is u
Im trying now to use Temporary Tables in mysql.
I get all the results from the index lucene search, create a new
temporary table and insert all the ids in the table.
After that i do a INNER JOIN on the temp table...
Would this be a good solution?
You have to remember that there could be many ids
Hi symfonians,
first of all i have to thank Carl for this great plugin ( sfLucene ).
Now to my questions :
The search on the index works perfect.
I get a sfLucenePager object after that.
Now my question is, what would be the best approach to gather additional
data from the database for exampl
Duh... ???
On Apr 3, 2:11 pm, Marco Schierhorn <[EMAIL PROTECTED]> wrote:
> Hi,
>
> is there an easy way to drop some objects of the result object of the
> sfLucenePager Object?
> I have to reduce the number of values which i get with getNbResults.
> My thoughts are to just get the data of the in
Hi Nicolas,
what's your motivation behind this separation you are trying to achieve?
Anyway, this separation is already built into Symfony, just not across
different files and directories depending on the layer. The URL
myproject/product/listproduct/ for example will actually call the
executeLi
use
secure_module: secure // your secure module with message
secure_action: index
2008/4/3, Bruno Reis <[EMAIL PROTECTED]>:
>
> Hi,
>
> when a user does not have acess he is redirected as configured in
> settings.yml:
>
> all:
> login_module: login
> login_action:
Hi,
you could use another action than index to set your message, then
redirect to index :
secure_action:needCredentials
-> in the login controller :
public function executeNeedCredentials()
{
$this->setFlash('message', 'You have to login to access this area');
$this->redirect('login/i
Hi,
when a user does not have acess he is redirected as configured in
settings.yml:
all:
login_module: login
login_action: index
secure_module: login
secure_action: index
it is working fine. But, how do I show a message to the user on the login
telli
In symfony, when you go to a 'list' webpage and either sort or filter
the records, you get a cookie that remembers this sort or filter. If
you don't 'reset' the filter, or somehow undo the sort (I don't even
know if it is possible to undo the sort in a default install of
symfony?), this cookie wil
Hi,
yes, it's possible, not as a class, but rather as a _function_.
You can define you own escaping function: grep for "ESC_ENTITIES" and
look like it's done in symfony 1.0 core, you can do the same with your
custom escaping function.
We backported htmlspecialchars() escaping from sf 1.1 to sf
Same problem. Any ideas?
--~--~-~--~~~---~--~~
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 [EMAIL
Hi,
i have generate a routing rule in routing.yml and create a url
according routing rule in templet.
it's working correctly when i don't clear the cookies from the firefox/
IE.
but when i clear the cookie from firefox/IE, it's not working.
Basically when i clear the cookies from private data in
Lee Bolding wrote:
> I'm guessing that it's something to do with hardcoded /'s in paths
or maybe 2 /'s in a row - took me ages to figure that out when deploying
onto a windows machine once actaully, maybe a co-worker figured it
out... either way, annoying :)
define(SOMETHING, dirname(__
Lee Bolding wrote:
> I'm guessing that it's something to do with hardcoded /'s in paths
or maybe 2 /'s in a row - took me ages to figure that out when deploying
onto a windows machine once actaully, maybe a co-worker figured it
out... either way, annoying :)
define(SOMETHING, dirname(__
Alex wrote:
> Hello,
>
> I would like to use my own class for escaping output.
>
> escaping_method: ESC_ENTITIES # Function or helper used for
> escaping. Accepted values: ESC_RAW, ESC_ENTITIES, ESC_JS,
> ESC_JS_NO_ENTITIES.
Unforunatly, you can't - atleast not in sf1.0 (I've not checked sf
Hi All,
Can somebody verify for me that sfAlternativeSchemaPlugin doesn't work
on Windows?
I've tried it on my own machine, and another developer here on his
machine and it just doesn't seem to build the objects. The same
codebase works fine on our Linux servers, and on my Mac.
I'm guessi
Hi,
is there an easy way to drop some objects of the result object of the
sfLucenePager Object?
I have to reduce the number of values which i get with getNbResults.
My thoughts are to just get the data of the index.
Before this solution i did a find on the index.
After i did run a "filter" over
So how do YOU guys handle session data?
You create form-bean like classes, and use them in actions? or you
store the fields individually as attributes?
My code is getting unmanageable right now...because of so many form
fields...all represented as separate variables...and maintained in
hidden va
thank you very much for all your answers :)
c.sidney
On Apr 2, 10:07 pm, Tom Haskins-Vaughan <[EMAIL PROTECTED]>
wrote:
> OK, that's better than my answer! :D
>
> Nicolas Perriault wrote:
> > On Wed, Apr 2, 2008 at 3:19 PM, shaiin <[EMAIL PROTECTED]> wrote:
>
> >> I'd like to know what the diff
I need to generate schema exactly as in database, i.e. also to
generate table's length.
f.e.: integer(8) instead of INTEGER ...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this gr
On Apr 2, 5:47 pm, Tom Haskins-Vaughan <[EMAIL PROTECTED]>
wrote:
> * propel-generate-schema generates the schema.yml file from a given
It's probably a mistake, you wanted propel-build-schema. It does work,
but it generates schema.yml for
all tables in the given schema. It can be less then prac
37 matches
Mail list logo