The images are being referenced using relative pathslike
background: url(../../../../assets/skins/sam/sprite.png)
In this case it should work fine. What could be going wrong in this?
thanks and regards
Vikram
On Mar 12, 2:23 pm, Eno wrote:
> On Wed, 11 Mar 2009, SeeVik wrote:
>
Hello all,
I want to use Yahoo UI library in my symfony project for displaying a
simple editor.
I put the downloaded YUI library in my web/js folder. and just added
references to the javascript files and css files in my modules
view.yml like this
all:
javascripts: [yui/build/yahoo-dom-even
sponse()->setContentType("application/json;
> charset=utf-8");
> $this->renderText( $output );
> return sfView::NONE;
>
> I know that works for me...
>
> Mr_chon
>
> On 2 mar, 08:41, SeeVik wrote:
>
> > Hello all,
>
> > I am using Symfony 1.2.
Hello all,
I am using Symfony 1.2.2 with doctrine plugin and jQuery. I am trying
to create an small application making use of AJAX helper
submit_to_remote(). My response contains JSON format string so I need
to create a callback.
http://www.symfony-project.org/book/1_0/11-Ajax-Integration#chapte
is feel free to correct, I am commenting
> about things I have gleaned from this list.
>
> On Thu, Feb 26, 2009 at 2:36 AM, SeeVik wrote:
>
>
>
> > Hello Gareth.
>
> > My sincere apologies. i was just trying out the submit_to_remote
> > helper and it seems that al
Hello friends,
I solved this problem. I had forgot to include the prototype.js file
in view.yml. This is how I did it...
default:
javascripts: [%SF_PROTOTYPE_WEB_DIR%/js/prototype]
This worked out like a charm.
Thanks and Regards
Vikram
On Feb 26, 9:55 am, SeeVik wrote:
> Hello all,
&g
Hello all,
I am using Symfony 1.2.2 with doctrine plugin. I am trying the small
example given in Symfony documentation, about the link_to_remote and
submit_to_remote helpers.
The page loads perfectly but when I click, in Firefox, firebug
displays this error
Ajax is not defined
[Break on this
Feb 26, 7:26 am, SeeVik wrote:
> Hello Gareth,
>
> I have read that documentation. But if you look in the API
> documentation for symfony 1.2 submit_te_remote is not there. Even in
> my symfony code for symfony 1.2.2 I did not find the method there.
>
> Checking the changelog
Ok Gareth. Thanks a lot. I got the answer to my question.
Vikram
On Feb 25, 9:34 pm, Hofferek Attila wrote:
> Gareth McCumskey írta:
>
> >http://www.symfony-project.org/book/1_0/11-Ajax-Integration#chapter_1...
>
> > specifically as an example:
>
> Thank!
--~--~-~--~~~--
ny_1_2_en/capitulo11/ajax_helpers.html
>
> Search that page for submit_to_remote ...
>
> Gareth
>
> On 2/25/09, SeeVik wrote:
>
>
>
> > Hello all,
>
> > I was checking for the documentation of Symfony 1.2 for
> > submit_to_remote helper.
Hello all,
I was checking for the documentation of Symfony 1.2 for
submit_to_remote helper. Has it been removed?
Thanks and Regards
Vikram
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To po
Hello all,
I read the documentation about submit_to_remote, link_to_remote and
submit_image_to_remote. These can do pretty cool stuff I have to
acknowledge that. Just for the knowhowI was wandering if I ever
wanted a callback function type of thing when the ajax response is
received from serv
I guess I have to use AJAX for this kind of form handling. Any other
hints and suggestions are most welcome.
Thanks and Regards
Vikram
On Feb 25, 6:04 pm, SeeVik wrote:
> Hello all
>
> I have created a components which displays a list of news headlines (I
> read this in the boo
Thanks Hofferek. :) We both thought of the same thing at same time I
guess. Super-natural co-incidence. :)
On Feb 25, 6:33 pm, Hofferek Attila wrote:
> SeeVik írta:
>
> > using AJAX. How can I capture the click event of submit button of the
> > form? and what should I put i
Ok. I got it I have to use a form_remote_tag for this task. :)
Vikram
On Feb 25, 6:30 pm, SeeVik wrote:
> Hello all,
>
> I am using Symfony 1.2.2 with doctrine plugin and jQuery. I have
> created a form in Symfony, which has some filter fields and a submit
> button. On pres
Hello all,
I am using Symfony 1.2.2 with doctrine plugin and jQuery. I have
created a form in Symfony, which has some filter fields and a submit
button. On pressing the submit button my results are being displayed
in a new page, but I want to display them below the filter fields
using AJAX. How c
Hello all
I have created a components which displays a list of news headlines (I
read this in the book Definitive Guide to Symfony).
Now this headlines component I am calling in a template. I customized
this component a bit by adding a filter for date, and a keyword search
utility.
Now I am con
Thanks Eno. Thanks for reminding me to first rummage through the
documentation throughly. :) Will keep that in mind.
Vikram
On Feb 24, 10:10 pm, Eno wrote:
> On Tue, 24 Feb 2009, SeeVik wrote:
> > Hmmmthat is exactly what I wanted to avoid - writing the
> > use_helper
();
$key = ($text_method != null) ? $option->$text_method() : $value;
$select_options[$value] = $key;
}
return options_for_select($select_options, $selected,
$html_options);
}
Thanks and Regards
Vikram
On Feb 25, 4:13 pm, SeeVik wrote:
> Hello all,
>
> I am using th
Hello all,
I am using the object_for_select helper to display options in my drop-
down list.
Now the list is getting the values from the the object $list. But in
this list, I want a string like 'Select an item...' to be displayed as
the first option. Should I create my own helper for such a ta
se the "use_helper()" helper :
>
> ---
>
> Date :
> ---
>
> On 24 fév, 06:05, SeeVik wrote:
>
> > Hello all,
>
> > I want to include some helpers by default in some of my templates. I
> > don't want them to be loaded in all of the template
24, 7:06 pm, "Andy Dziahel'" wrote:
> Hi.
>
> Use Firebug <http://getfirebug.com/> or another tool to monitor AJAX
> queries, or look into app logs to determine whether your request was
> actually processed.
>
> I think it is a sort of offtopic.
>
>
>
&
Hello all,
I am creating an application in which I have two drop-down lists, when
one changes, the contents of the other are changed. Like selecting
country and states.
I am using Symfony with Doctrine and want to use jQuery for this
asynchronous task. here's where I am right now...
web/js/my_s
Hello all,
I want to include some helpers by default in some of my templates. I
don't want them to be loaded in all of the templates, just some of
them.
I found out that [standard_helpers] setting in my settings.yml file
has been commented out.
Can do something like this?
/modules/$module_
Oh yes. It does work. I just had to remove the "default" and use the
{$view_name}Success as u told Andy. Thanks a lot.
Vikram
On Feb 23, 8:32 pm, SeeVik wrote:
> Hello Andy.
>
> This doesn't work. It doesn't display the customized layout. I tried
> wi
it modulename/config/view.yml like
> this:
>
> firstaction:
>
>
>
> > layout: customLayoutName
> > secondaction:
> > layout: customLayoutName
>
> On Mon, Feb 23, 2009 at 13:08, SeeVik wrote:
>
> > Hello Andy. Thanks for that handy trick.
>
> >
uot; wrote:
> Hi.
>
> $this->setLayout('layoutName')?
>
>
>
>
>
> On Mon, Feb 23, 2009 at 12:48, SeeVik wrote:
>
> > Hello all,
>
> > In one of the actions I have defined in controller, I do not want to
> > use the global template file layo
ricks
>
> tho...@tequila-studio.com
> GSM: +32 (0) 499 23 60 22http://tequila-studio.com
>
> Le lundi 23 février 2009 à 02:48 -0800, SeeVik a écrit :
>
> > Hello all,
>
> > In one of the actions I have defined in controller, I do not want to
> > use the globa
Hello all,
In one of the actions I have defined in controller, I do not want to
use the global template file layout.php. How config should I use in
this situation?
Like I am creating a webapp and I have a link which opens in new
window. In this window, I don't want to display the site header and
@ Lawrence
I found the method on this link
http://www.symfony-project.org/book/doctrine/1_2/en/06-Working-With-Data
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group,
Oh well, I just made use of some php functions like nl2br and
preg_replace to replaces tabs with 4 non-breakable spaces.
Thanks and Regards
Vikram
On Feb 20, 9:15 am, SeeVik wrote:
> Hello zabassi,
>
> Thanks for that tip. But that still doesn't display the white-spaces
> like
er() helper.
>
> From documentation found on symfony
> sitehttp://www.symfony-project.org/jobeet/1_2/Propel/en/04
>
> Let me know if I mis-understood the problem.
>
> Thanks
> Zain
>
> On Feb 19, 3:28 pm, SeeVik wrote:
>
> > Oh nobut wait a moment.. What abou
Oh nobut wait a moment.. What about whitespaces. How can I
display the white-spaces as it is??
ESC_RAW doesn't work for them.
Thanks and Regards
Vikram
On Feb 19, 7:24 pm, SeeVik wrote:
> Hello Andy,
>
> Thanks for the solution. Neat trick that is. :)
>
> Thanks
;s instance of
> sfOutputEscaperObjectDecorator. So because of that, your
> $list->getBody()won't return
> '' - it'll return '*>*br/*<*'. To get unescaped value, you should
> call $list->getBody(ESC_RAW).
>
>
>
> On Thu, Feb 19, 2009 a
Hello all,
I walked into a strange problem. In my database I have stored data
which contains new-line feeds and I am unable to display them in view.
I did something like this in my view...
', $list->getBody() ) ?>
What this did was to just display as it is... I tried putting the
function insid
hello all,
I am using Symfony with Doctrine plugin. I have been having trouble in
fetching the data in view layer where the object contains results of a
DQL with innerjoins.
Here is my scenario
Tables: Topics, Posts, SubTopics
Ids: topic_id, post_id, subtopic_id
Relations:
Oh ok. My mistake. I forgot to clear the cache. That solves it. :)
Thanks and Regards
Vikram
On Feb 18, 6:04 pm, SeeVik wrote:
> Hello All,
>
> I am referring the Jobeet tutorial from Symfony Documentation, day 5 -
> Routing. I am trying to change the url for a link. Here ar
Hello All,
I am referring the Jobeet tutorial from Symfony Documentation, day 5 -
Routing. I am trying to change the url for a link. Here are my routing
settings
routing.yml
-
show_topic
url: /:module/:action/:topic/:id
template
Oh no... I got that. I need to prefix the name of setting with 'app_'.
Ok now it works fine.
Sorry for bothering. :)
Thanks and Regards
Vikram
On Feb 18, 2:24 pm, SeeVik wrote:
> Hello Gareth,
>
> I tried to fetch the a settings made in app.yml from inside the model,
>
Hello Gareth,
I tried to fetch the a settings made in app.yml from inside the model,
but it fetches nothing. However it is displaying the value correctly
when used in a template.
Contents of app.yml
--
#default:
all:
some_literal: hello
Contents of
rs),
> where $helpers is a helper group name or an array of helper group names.
Thank you guys.
Vikram
On Feb 18, 12:18 am, Eno wrote:
> On Tue, 17 Feb 2009, SeeVik wrote:
> > Ok Alexander.
>
> > I will try those things. Thanks a lot for your help.
>
> http://www.symfony-
ikram
On Feb 18, 12:18 am, Eno wrote:
> On Tue, 17 Feb 2009, SeeVik wrote:
> > Ok Alexander.
>
> > I will try those things. Thanks a lot for your help.
>
> http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chap...
>
> --
--~--~-~--~~---
; > Oops to add on:
>
> > Feel free to add your own constants to app.yml. For example:
>
> > all:
> > student_primary_key:
> > value: some_value_here
>
> > can be access with:
>
> > sfConfig::get('app_student_primary_key_value');
>
&
Hello all,
In the Jobeet project tutorial in the Symfony documentation, I
frequently saw the use of sfConfig::get( 'app_max_jobs_per_page' ) or
some settings like these. But everytime these were used in the view
layer. I was wondering if they can be used in the model layer as
well.
Like in one o
php"
> an load it with "sfLoad::helpers(array())" if i recall right ...
>
> On Tue, Feb 17, 2009 at 4:57 AM, SeeVik wrote:
>
>
>
> > Here are the contents of the file that I put in lib
d I am using dev
> controller.
>
> On Feb 17, 11:47 am, Eno wrote:
>
> > On Mon, 16 Feb 2009, SeeVik wrote:
> > > Yes James. I eventually found that out. Now I have created a php file
> > > which acts like a repository of functions. But the module where I am
>
I put the file in the folder apps/$app_name/lib/ . I named the file
myFunctions.php. Yes I cleared the cache and I am using dev
controller.
On Feb 17, 11:47 am, Eno wrote:
> On Mon, 16 Feb 2009, SeeVik wrote:
> > Yes James. I eventually found that out. Now I have created a php file
a specific module
>
> sf_root_dir/apps/frontend/modules/mymodule/lib/yourstuff
>
> You should read "the book" it explains all this.
>
> James
>
> On Feb 16, 2009, at 7:45 PM, SeeVik wrote:
>
>
>
> > Also where can I put my classes? Like if I cre
Also where can I put my classes? Like if I create some php classes and
interfaces, in which folder should I place them in Symfony directory
structure?
Thanks and Regards
Vikram
On Feb 17, 9:43 am, SeeVik wrote:
> hello all,
>
> I have a code snippet in php that I want to be accessib
hello all,
I have a code snippet in php that I want to be accessible to all the
modules in my application. I want to ask in which layer should I put
this code?
This code does not contain any database handling, so it shouldn't be
in model layer.
There is no html, so it shouldn't be there in view
rn "template_name";
>
> greets
> Sven
>
> SeeVik schrieb:
>
> > Hello all,
>
> > I am using Symfony 1.2.4 with Doctrine plugin. I have a question about
> > the way to separate the code into view and controller.
>
> > I have created a component (thi
Hello all,
I am using Symfony 1.2.4 with Doctrine plugin. I have a question about
the way to separate the code into view and controller.
I have created a component (this extends sfComponents), that runs a
query and displays the list of the records. Now this component run a
different query and di
Anyway, the query that you suggested works fine as well.
Thanks again. :)
Thanks and Regards
Vikram
On Feb 16, 4:32 am, Tomek wrote:
> Hi SeeVik,
>
> I've done only small change (MAX(p2.posted) instead of MAX(posted))
> and your DQL works fine for me:
> $q = Doct
gt; In DQL:
> $q = Doctrine_Query::create()->from('Topic t')->innerJoin('t.Posts
> p')
> ->where('p.id = (SELECT p2.id from post p2 where
> p2.topic_id=p.topic_id order by p2.posted desc limit 1)');
>
> I hope that helps,
> Tomek
>
Thanks Bernhard
I solved the problem. There was no problem in the schema.
Actually to access the fields from a joined table, I did not know I
had to use the following syntax
$item -> Table2[0] -> table2Field
I was forgetting that array like index. That is why it was displaying
the messag
OhI forgot to mention...I am using Syfony 1.2.4 with Doctrine
plugin.
On Feb 14, 10:31 am, SeeVik wrote:
> Hello all,
>
> I am trying to display data which results on performing an inner-join
> between two tables.
>
> Controller
Hello all,
I am trying to display data which results on performing an inner-join
between two tables.
Controller: action.class.php
---
public function executeShow()
{
$list = Doctrine::getTable( 'Table1' )->getJoinedTable();
}
Model Layer
Hello all
I am using Symfony with Doctrine plugin.
I am making a simple bulletin board in my application. I want to find
out the last post in every topic and display the time in front of
topic.
In Symfony, in the controller for the screen, I do this...
$list_topics = Doctrine::getTable( "Topic
Hello all,
I am using Symfony with Doctrine. I am having a problem in doing a
simple join.
There is a join in two tables, and when I display the results in the
view...the page loads successfully.
But in the table where I am displaying a field from the joined table,
I am getting the following mes
I just started creating some unit tests in Symfony. I read that the
windows command prompt won't display the color highlight red or green,
neither does (cygwin, I tried that).
just for the record can somebody tell me which CLI has this feature? I
mean displaying the highlights.
Thanks and Regard
initialize 'c:\symfony.tgz', invalid or missing package file
Package "c:\symfony.tgz" is not valid
install failed
On Feb 3, 12:25 pm, SeeVik wrote:
> hello all,
>
> I am trying to do a pear installation of symfony 1.2.3 but i am having
> problems in it. here are the
hello all,
I am trying to do a pear installation of symfony 1.2.3 but i am having
problems in it. here are the steps that i followed:
1. Installed pear.
> c:\xampp\php\go-pear.bat
2. Checking the version info of php and pear.
> php -v
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c)
62 matches
Mail list logo