I'm having a very strange error when I edit an Article...
The article is not edited, is added! There's a new article with the
changes of the article I wanted to edit.
In debug mode the query is INSERT INTO
This is the admin_edit function in the controller:
function admin_edit($id =
I found the error...no
echo $form-input('id');
in admin_edit.ctp =)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To
I have a page that shows all the articles related to a town (http://
localhost/towns/view/1)
The paginator links are
http://localhost/towns/view/page:2
http://localhost/towns/view/page:3
and so on
How can I pass the town id so the link is
http://localhost/towns/view/1/page:2
Thank you very much, I didn't know about that page :-)
On Dec 14, 3:48 pm, grigri [EMAIL PROTECTED] wrote:
Have you read the How to retain search param in paging? entries on
the Frequent Discussions page?
On Dec 14, 2:45 pm, Dilbert [EMAIL PROTECTED] wrote:
I have a page that shows all
Thank you very much, the truncate function works very well.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this
Let's say I have an article with a text field that is the full
content. How can I have a preview of the text in the home page
limiting the numbers of phrases or words (a bit like in drupal)?
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are
]:
Well, I guess my first question would be, are you using a browse
control to browse for the image on your comp or is it already on the
hard drive of the server some where?
Second, can you post the upload function as well?
On Nov 30, 8:34 am, Dilbert [EMAIL PROTECTED] wrote:
I have
I have an article model with an image field(I don't want to create
another model).
This is the code for admin_add
function admin_add() {
if (!empty($this-data)) {
$this-cleanUpFields();
$this-Article-create();
if ($this-Article-save($this-data)) {
if
Hi,
my problem is totally weird. I´ll have to use the TranslateBehaviour
within a project and it won´t work. Finally i have installed a new
cake, create a simple model named Test, a controller named
TestsController with scaffolding enabled and the table tests. If i
try to add a new entry i get
Finally i got my own solution, which in my opinion is a bug. If you
define all fields to be translated (as described above), nothing
happens. If you define for example only first_name and last_name
to translate, everything works fine. Weird, isn´t it?
Hi folks!
I've red the Tutorial (the cake_php.doc file).
Who did write it? Can I translate it in italian?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
11 matches
Mail list logo