Has anyone used WkHtmlToPdf in Symfony? I have it set up on my server
(in works on command line) but don't know how to use in Symfony to
generate pdf files.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
With symfony, it automatically takes the $_GET and $_POST parameters from
the request and cleans them for you (for security) and makes them available
through a different method. To get the $_GET or $_POST parameters you should
use $request-getParameter(). For example, using your url of
Hi,
If you're talking of Symfony2, there is a bundle for that :
http://symfony2bundles.org/knplabs/SnappyBundle
It uses the Snappy php5 lib, which is a wrapper for wkhtml2pdf.
http://github.com/knplabs/snappy
On 19 oct, 09:03, fxsymfony fari...@gmail.com wrote:
Has anyone used WkHtmlToPdf in
Hello,
Where do you need to specify attributes for Doctrine in Symfony 1.4?
Line 75 of sfDoctrineDatabase.class.php is what I'm trying to affect.
$attributes = $this-getParameter('attributes', array());
I'm trying to set the query_cache here:
dev:
doctrine:
class: sfDoctrineDatabase
Define a generic class that can perform the function you desire, say in your
lib directory. In your task you can use that class to perform the functions
on cron by instantiating an object of that class and passing the required
parameters (through the constructor or with setters) and because it is
Let me rephrase something quick. Its not an abstracted class. The logic to
perform the function you want is abstracted to a class meaning it can be
reused everywhere and anywhere.
On Tue, Oct 19, 2010 at 11:28 AM, Gareth McCumskey gmccums...@gmail.comwrote:
Define a generic class that can
Hi,
is there any difference between credentials: [[admin]] and
credentials: [admin] ?
Javier
--
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
The difference comes when you have multiple credentials:
[c1, c2] means the user must have both c1 and c2
[[c1, c2]] means the user must have at least one of c1 and c2
but there's no diff between [admin] and [[admin]].
On Tue, Oct 19, 2010 at 11:53, Javier Garci tirengar...@gmail.com wrote:
check the docs :
http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_sub_complex_credentials
As soon as you open a new [ bracket, the logic operator changes
( AND / OR ).
You can then switch operator by doing: [[ admin, [editor, creator],
supervisor, [[ tester,
Hi, I have the following schema:
Artist - ArtistSession - Session
Artist:
columns:
id:
primary: true
type: integer
notnull: true
autoincrement: true
snip.../snip
relations:
Sessions:
class: Session
refClass: ArtistSession
local: artist_id
Hi,
What is your problem ?
On 18 oct, 06:24, Daniel khodyre...@gmail.com wrote:
Hello, lady and gentlemans!
I have some problems with configure this code:
class Container extends sfServiceContainer {
...
protected function getAclService() {
if (isset($this-shared['acl'])) return
Hello,
I have a problem with a doctrine request which uses a link between two
differents databases.
The schema :
==
# config/doctrine/schema.yml
rsource:
connection: doctrine1
columns:
oid: {type: integer, primary: true}
nameres: { type:
Hi,
I have installed Symfony and followed all the instructions upto the
end of day 3. Everything worked fine. But at the last step, if I want
to see the output of the following page:
http://www.jobeet.com.localhost/frontend_dev.php/job
the output is not shown. The page shows some data in text
thank you,
but is it possible to get request parameter inside the model layer?
if yes, what is the proper syntax
//lib/model/Reminder.class.php
public function save(Doctrine_Connection $conn = null){
//??? $id = $request-getParameter('id'); //not working, how to get
parameter from
On Tue, 19 Oct 2010, hribo wrote:
thank you,
but is it possible to get request parameter inside the model layer?
if yes, what is the proper syntax
Probably better to get the value in your controller and pass it to a
method in the model layer. This is MVC.
--
--
If you want to report
found this...
http://trac.symfony-project.org/ticket/5859
implemented suggested solution #3. It works now!
Thanks
On Oct 18, 10:56 pm, Jonathan Franks jonat...@ifranks.com wrote:
I've followed the Jobeet Tutorial chapter on search and managed to implement
a lucene based search engine for
Hi Adam,
The chapter after search adds implements getting the results by ajax.
The javascript that sends the request adds an asterisk (*) to the end of the
search query.
You can add asterisks to the ends of the words in the user search query.
On 19 Oct 2010, at 10:59, Adam wrote:
Hi
I
Hi,
Thx for your fast reply. Bad bad javascript :).
Is there a way to search for word parts?
example:
search saw
result chainsaw, woodsawlikething etc
( so its like *saw* but i get Error: At least 3 non-wildcard
characters are required at the beginning of pattern. )
On okt. 19, 16:38, Jonathan
Hi,
in Jobeet there is this part below of the schema:
jobeet_category:
_attributes: { isI18N: true, i18nTable: jobeet_category_i18n }
id: ~
jobeet_category_i18n:
id: { type: integer, required: true, primaryKey: true,
foreignTable: jobeet_category, foreignReference:
hello.
I have a question.
I can build a form with a field that does not exist in the model?
Thank you for your help.
--
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
Creo que eso es el theme podrian ser bien las GTK theme o bien creo
que hicieron el ejemplo en una Mac OS :-) que es lo mas seguro ..
On Tue, Oct 19, 2010 at 6:54 AM, rfvillavicen...@cav.uci.cu wrote:
Miren descargué las imagenes y los css, los puse dentro del directorio web
pero hay css
maybe you can try use
input type=input name =name /
in your form view.
On Tue, Oct 19, 2010 at 11:30 AM, eliana m. eliana...@gmail.com wrote:
hello.
I have a question.
I can build a form with a field that does not exist in the model?
Thank you for your help.
--
If you want to report a
Richtermeister,
I tried to install this code, but it wouldn't work for me. In my
indexSuccess.php, how can I get the path from the database as the
first parameter of thumbnail_tag? Please reference my original post
for the coding.
Thanks.
On Oct 18, 12:37 pm, Richtermeister nex...@gmail.com
Hi Alan,
Thanks for the post.
I would like to use this plugin if I could. My problem is I am a
complete novice with Symfony and so I don't know how to actually use
it. What code needs to be inserted in the actions.class.php file and
how do I call it for the effect I am trying to achieve? I do
In your yourForm.class.php add
class yourForm extends BaseyourForm
{
public function configure()
{
$this-setWidget('fieldname' , new sfWidgetFormInputText());
$this-setValidator('stuff_list' , new
sfValidatorString(array('max_length' = 255)));
}
2010/10/19 Martin Ibarra
http://framework.zend.com/manual/en/zend.search.lucene.query-language.html
Starting from ZF 1.7.7 wildcard patterns need some non-wildcard prefix.
Default prefix length is 3 (like in Java Lucene). So *, te?t, *wr?t*
terms will cause an exception
26 matches
Mail list logo