()-signOut();
}
Thanks Again.
On Nov 19, 1:39 pm, Gareth McCumskey gmccums...@gmail.com wrote:
What about doing a pre-filter?
http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Laye...
On Thu, Nov 19, 2009 at 6:08 AM, Avani avani.v.puj...@gmail.com wrote:
Hi friends
Hi friends,
In my application, I am facing some strange problem
I have a link profile
a href=?php echo url_for('profile/index'); ?
Profile/a
When I run the site, when I click on profile link,
it goes to myprojecturl/core.php/ and shows blank page.
when I press
Hey, this is the problem only with opera, in other browsers, its
working ok.
On Oct 29, 12:12 pm, Avani avani.v.puj...@gmail.com wrote:
Hi friends,
In my application, I am facing some strange problem
I have a link profile
a href=?php echo url_for('profile/index
::LAST_NAME,%.$exploded_query[1].%,Criteria::LIKE)
On Wed, Oct 21, 2009 at 5:25 AM, Avani avani.v.puj...@gmail.com wrote:
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
, Oct 21, 2009 at 9:45 AM, Avani avani.v.puj...@gmail.com wrote:
ya.. it's working
Thanks Gareth.. :)
On Oct 21, 12:12 pm, Gareth McCumskey gmccums...@gmail.com wrote:
$exploded_query = explode( , $this-query);
$k-getNewCriterion(
sfGuardUserProfilePeer::FIRST_NAME
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
Hi all,
I have module of photolibrary in my project.
In which, when user upload photo, I have resized the photo using
sfThumbnail Plugin.
Now, I have a link for rotating photo. For that, I have used code
below:
$image = sfConfig::get('sf_web_dir').'/images/photo_3_147.jpg.png';
Hi All,
I am confused about 1 query in my symfony project.
I have 2 tables as shown below.
1. photo
-photoid
-photoname
-userid
-tripid (either 0 or related tripid if trip is
assigned)
2. Trip
-id
-tripname
Oh... Thanks a lot Georg,
You guessed correct.
Thanks everyone :)
On Oct 7, 2:09 pm, Georg Gell geor...@have2.com wrote:
Guessing: you have short_open_tag=1 in php.ini on your pc, but
short_open_tag=0 on your laptop.
Avani schrieb:
Below is my code
345
Hi all,
I am working on symfony since last 1 month. Yday I just installed
symfony to my other laptop. I dont know why I am getting errors in my
templates which works for my pc.
I am gettting errors everywhere when I used
?php if(condition):
endif: ?
if I have used ?php if{} ?
) : ?
something
?php endif; ?
On Oct 7, 9:59 am, Sid Bachtiar sid.bacht...@gmail.com wrote:
It should be:
?php if (condition): ?
h1Hola hola hola/h1
?php endif; // with semi colon ?
On Wed, Oct 7, 2009 at 2:58 PM, Avani avani.v.puj...@gmail.com wrote:
Hi all,
I am working on symfony since
Hi all,
I want your help for comparing date.
In my database, I have 1 column named start_time and it's type is
datetime.
Now, I want to display records by comparing date only. Time need to be
ignored while comparing. I dont know how to do this using criteria.
$c_iti = new Criteria();
opinion keeping abstraction
is more important than cleanliness so the first option is probably better.
On Mon, Sep 28, 2009 at 8:48 AM, Avani avani.v.puj...@gmail.com wrote:
Hi all,
I want your help for comparing date.
In my database, I have 1 column named start_time and it's type
.
Good luck.
On Sep 17, 8:01 pm, avani pujara avani.v.puj...@gmail.com wrote:
Hey Frieds,
I want to add weather information to my site. I want to use sfWeatherPlugin.
But I heard that it's unreliable? is it so?
What is good solution to show weather information?
Thanks in advance
Hey Frieds,
I want to add weather information to my site. I want to use sfWeatherPlugin.
But I heard that it's unreliable? is it so?
What is good solution to show weather information?
Thanks in advance !!!
--~--~-~--~~~---~--~~
You received this message because
Hi Olly,
Thanks a lot.. It's working :)
On Sep 15, 4:29 pm, Oliver Jackson ojack...@valleyt.co.uk wrote:
Avani wrote:
Hello Everyone,
I have one common class for my own functions and I have stored it in
lib/common.class.php
My problem is, how to get current login userid from
Hi All,
I have one functionality in backend for edit contents of static pages.
In which, pages are fixed. Admin no need to create new pages. He can
only change content of the existing pages. But I dont know how to
disable create button on listing page.
Can anybody help me please?
Thanks in
Hello Everyone,
I have one common class for my own functions and I have stored it in
lib/common.class.php
My problem is, how to get current login userid from that class?
I tried
1. $this-getUser()-getProfile()-getUserId();
2. $sf_user-getProfile()-getUserId();
Both not working. Wht to do?
Hi everyone,
I have implemented symfony ajax drag drop code into my project.
Everything wokrs fine. But my project is not shopping cart. It is to drag
details to calender from left side to right side.
In my page, left side shows details and right side there are added details
of different dates.
HI All,
I have done with Registration form.
I want to check duplicate. for this, I have done like:
Actions.class.php
//check for duplicate username
$c_checkduplicate = new Criteria();
$c_checkduplicate-add(sfGuardUserPeer::USERNAME, $this-email);
$isduplicate =
Hey Eno,
I m using 1.1 !!!
So, wht should I do for displaying my error message??
On Sep 4, 3:27 pm, Eno symb...@gmail.com wrote:
On Fri, 4 Sep 2009, avani pujara wrote:
$this-getRequest()-setError('email',The username is already taken.
There is no setError method in sfRequest unless you
Hi All,
I have registration form in my project.
For that, I have used sfcryptocaptcha plugin for captcha.
Everything works fine in my local machine. But when I upload files, it
is not working in live.
It is not displaying captcha image. also not giving any erros.
My url is
Hi Everyone,
I m very new to symfony.
I have created Registration form in my project. But how can I *check for
duplicate username*? Can I use any *SFVALIDATOR* for this? OR if I am
checking from my action page, after submitting the details, then I want to
redirect again to my registration
Hi all,
Anyone know any plugin available in symfony for multiple upload? I
want to do that for multiple upload of pics for creating photo album
like orkut and facebook..
Any Idea? Pls help me.
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message
24 matches
Mail list logo