I have added my own widget to form with name 'photo' - how can I get
its value in public function doSave($con = null) method this form. I
have tried:
$file = $this->getValue('photo');
But I have error: Unknown record property / related component "photo"
on "Photos".
--
If you want to report a vu
I have in schema:
Items:
actAs:
Timestampable: ~
I18n:
fields: [name]
actAs:
Searchable:
fields: [name]
columns:
name:
type: string(250)
notnull: true
And when I save new item with cyrylic words Doctrine don't save them
as keywords in tab
I would like to have universal template for pagintion - so I need
something like that:
On 16 Lip, 07:08, alexmm wrote:
> how can I get url without parameters in view ?
> For example when I have: "http://myapp.example.com/article/read/21"; -
> I would like to get: "articl
how can I get url without parameters in view ?
For example when I have: "http://myapp.example.com/article/read/21"; -
I would like to get: "article/read"
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message becaus
ok - so _pagination.php partial in /apps/frontend/templates and then
use it in module template:
$pager)); ?
>
On 15 Lip, 07:35, Bernhard Schussek wrote:
> What about creating a _pagination.php partial with the shared code?
>
> Bernhard
--
If you want to report a vulnerability issue on symfony,
I need on 10 pages a pagination. If I use method from tutorial:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/07
I have to 10 times write the same code for: first, previous, next and
last site with only other links.
Is other way ? In Zend framework we can definied template for
pagination:
But I mean underline after click on some link (to show him on which
page he is) - not when user mouse is over the link.
On 9 Maj, 16:46, Eno wrote:
> On Sun, 9 May 2010, alexmm wrote:
> > I have in menu links:
> > Start | Gallery | Contact
> > User should see underline
I have in menu links:
Start | Gallery | Contact
User should see underline current link (page on which he is). I have
underline in CSS class 'current_link'. So I have to write in layout:
if ($sf_request->getParameter('module') == 'start') echo
link_to('Start', 'start/index', 'class=current_link');
thx very much :)
On 7 Maj, 16:12, "Don Pinkster" wrote:
> That is correct.
>
> Met vriendelijke groet,
>
> Locosoft B.V.
> Don Pinkster
>
> -Oorspronkelijk bericht-
> Van: symfony-users@googlegroups.com
> [mailto:symfony-us...@googlegroups.com]
ter" wrote:
> Edit your index.php to include backend instead of frontend
>
> Met vriendelijke groet,
>
> Locosoft B.V.
> Don Pinkster
>
> -Oorspronkelijk bericht-
> Van: symfony-users@googlegroups.com
> [mailto:symfony-us...@googlegroups.com] Namens alexmm
How can I change the default application ? I need backend the default
application.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To pos
I database in column 'link' I have for example:
documents/proposals
documents/contracts
And when I write ($link is an object which represents row in above
table):
link_to('some title', 'documents_route', $link);
It converts slash to %2F so I have links:
documents%2Fproposals
documents%2Fcontracts
How can I change:
http://xyz.com/pl/job
on
http://xyz.com/pl/praca
I have tried in htaccess in /web catalog:
RewriteRule ^pl/praca$ pl/job [L]
But it doesn't work.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this m
-04-09 at 11:06 -0700, alexmm wrote:
>
> > Apostrophe ? Which apostrophe should I check ?
>
> > On 9 Kwi, 19:47, Alexandru-Emil Lupu wrote:
> > > Yes... you need a custom url.
>
> > > Check apostrophe. I am on mobile and i can't copy paste stuff
>
>
ound 2-3 hours...
>
> sent via htc magic
>
> On Apr 9, 2010 9:06 PM, "alexmm" wrote:
>
> Apostrophe ? Which apostrophe should I check ?
>
> On 9 Kwi, 19:47, Alexandru-Emil Lupu wrote: > Yes...
> you need a custom url. ...
>
> > On Apr 9, 2010 8:40 PM, &q
Apostrophe ? Which apostrophe should I check ?
On 9 Kwi, 19:47, Alexandru-Emil Lupu wrote:
> Yes... you need a custom url.
>
> Check apostrophe. I am on mobile and i can't copy paste stuff
>
> sent via htc magic
>
> On Apr 9, 2010 8:40 PM, "alexmm" wr
I have interesting question. Customer asked me if it is possible to
have links in two languages. For example I have module JOB and I have
Symfony appliaction in two lanuages: english and polish. 'job' ==
'praca' in polish language. Is it possible to show url:
http://xyz.com/job - in english la
r class and call it with
> $sf_user in the layout/template
>
> On Mar 19, 6:39 pm, alexmm wrote:
>
> > I want to make query:
> > $this->text = Doctrine::getTable('Texts')->getRandomText();
> > before each action. And in view use:
> > echo $text->
I want to make query:
$this->text = Doctrine::getTable('Texts')->getRandomText();
before each action. And in view use:
echo $text->getText();
How can I make this query before each action and pass result to view ?
Only solution is to use preExecute() function in each module with this
query ? Or may
thx :)
On 5 Sty, 14:01, klemens_u wrote:
> Hi Alex,
>
> try this to get the PDO connection:
>
> $dbh = Doctrine_Manager::getInstance()->getCurrentConnection()->getDbh
> ();
> $result = $dbh->query("SELECT * FROM my_table");
>
> :-) Klemens
>
&
I want to make normal query in symfony and doctrine without models
etc. I am trying:
$result = Doctrine_Manager::connection()->getDbh()->query("SELECT *
FROM table")->execute();
print_r($result);
but I get nothing :(
--
You received this message because you are subscribed to the Google Groups
I need a form in which I will have so many checkboxes as rows in
table. I know how I can do that in normal php (code in my first post),
but I don't know how/should I do that using Symfony forms ? Do you
understand ? xD
On 28 Gru, 14:15, ScherlOMatic wrote:
> Hi,
>
> maybe you could explain us a
If I have in Base some form class:
$this->setValidators(array(
..
'price' => new sfValidatorNumber(),
..
));
How can I change error communicate for field 'price' in class which
extends Base some form class ?
I must again write validators with arrays inside wi
23 matches
Mail list logo