thanx for all
I tried to use MediaView but failed to use it in my case
my case :
each user upload his picture and I store the pic. name in database
the problem occurred when I displayed list of all users pictures
I entered the folder into webroot/img
is there any risk doing that ?
Check out
Hi all,
I have developed with CakePHP a social network website complete with
mobile version for mobile browsing. Users are authenticated with Auth
and also tracked with cookies if not authenticated.
Now I want to develop the related Android app (and later on the iPhone
one), but before starting
That was one of the first things I tried. However i could not get it
to work since id and tag-id in theged fields are encrypted.
On Jul 15, 7:35 am, Kirk k...@kirkkahn.com wrote:
I think I know what the problem is. It just occurred to me that all you have
to do is add a condition in the
Hi, guys!
I have a problem. I never before use the pages_controller, because
never need this.
But today i needed create the pages_controller, by first time, and
create the packages_controller too. The pages_controller set the
value to main page in the display function... and the
Or you can try JQGrid. A Grid Plugin for JQuery.
http://www.trirand.com/blog/
On 07/27/2010 07:24 AM, Vinicius NЗЯez wrote:
Thanks, Norman!
I'm going to try it!
On 26 jul, 15:35, Norman Paniaguanormanpania...@gmail.com wrote:
Its the same if you paginate a normal web only that you use
hello, i have a problem with the login redirect i dont no why but when
i write the loginRedirect it not redirect me, just show me the login
page and i want to redirect to another page. i manually inserted the
username and pasword in the database. any help would be great, thanks
NOTE: if some see
Hi,
I have created a admin panel in Cakephp and want to add blog
section in it so that admin can post a blog from there.
So i've installed the wordpress on app/webroot/blog folder and its
working.
But now the issue is to when i logged-in from admin panel,i need to do
automatic login as admin
i have this:
echo $form-input('ostan_id'); : this is some select menu(combobox),i
have data from table,like show years
i want add please select in first option with value '0',what i am
must to do?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP
I agree, it does feel soon, but hopefully this will push [serious]
hosting companies to upgrade their PHP installs to 5.3.x, which is a
good thing IMHO.
anyone looking for serious hosting will be able to sort this for
themselves anyway, shared != serious imo.
j
On Jul 26, 5:19 pm, cricket
On Tue, July 27, 2010 1:27 pm, hoss7 wrote:
i have this:
echo $form-input('ostan_id'); : this is some select menu(combobox),i
have data from table,like show years
i want add please select in first option with value '0',what i am
must to do?
do something like this
echo
PHP 5.2 has been around since late 2006.
I'm not sure 3.5 years constitutes soon.
We are aware of the EOL being issued, and do understand that some hosts can be
slow in updating. As Larry has said, CakePHP 2.0 will run fine on PHP 5.2.6+
including 5.3 versions.
The support for 5.2 means we
You can't just enter the information in the wordpress posts table?
2010/7/27 jasmin wish dwis...@gmail.com:
Hi,
I have created a admin panel in Cakephp and want to add blog
section in it so that admin can post a blog from there.
So i've installed the wordpress on app/webroot/blog folder
i once stumpled upon this:
http://bitbucket.org/pixelastic/caracole-bbpress/src/a87149cbba0e
maybe something similar could be created for wordpress?
On 27 Jul., 15:36, Hugo M ham1...@gmail.com wrote:
You can't just enter the information in the wordpress posts table?
2010/7/27 jasmin wish
You would be better off building the blog yourself using cake rather
than integrating wordpress :)
On Jul 27, 2:58 pm, euromark dereurom...@googlemail.com wrote:
i once stumpled upon
this:http://bitbucket.org/pixelastic/caracole-bbpress/src/a87149cbba0e
maybe something similar could be
Where does loginRedirect redirect you at the moment? Or no redirects
at all?
On Jul 27, 6:16 am, sebas46825 sebas46...@gmail.com wrote:
hello, i have a problem with the login redirect i dont no why but when
i write the loginRedirect it not redirect me, just show me the login
page and i want to
Read the 1.2 to 1.3 migrating guide - a few things have changed here
and there, enough to cause a few headaches but easily updated.
On Jul 27, 12:10 am, Dave Maharaj m...@davemaharaj.com wrote:
I am upgrading from 1.2 to 1.3 and when I try to login I get redirecting
forever message. I never
Create the DB table and use cakebake.
On Jul 26, 10:44 pm, Anderson Valongueiro
anderson.valongue...@gmail.com wrote:
Hi, guys!
I have a problem. I never before use the pages_controller, because
never need this.
But today i needed create the pages_controller, by first time, and
create the
* I expect to exchange data via JSON (services already in place for
some JS and Flex features) but as the request is not coming from a
browser, how do I get info about the user / phone? Some info are
contained in the HTTP request? How do I parse them?
* Authentication: which the best (and
Note to self: Don't post long, meandering questions late on a Friday
afternoon :)
Jim
On Jul 23, 3:15 pm, geste jim.ho...@gmail.com wrote:
A few days ago I asked how to best create a read-only interface from
our Drupal intranet instance to our CakePHP business app (on the same
host).
thank you mike
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
I am trying to gather some common functions in a component I am
calling Lookup. This will house basic functions like
LookupUserLastFirst (to produce lists of users sorted by last name
and first name).
Part of my purpose in doing this is to make some of these functions
available on a read-only
Actually I find that the PHP platform always moved rather slow and
cake in the means of php version even slower, I do not get why 5.2 was
considered at all, mostly because 5.3 and 6.0 are claimed to be close
to each other (while the functional gap between 5.2.x and 5.3.x is
huge)
On Jul 27, 3:00
Hi,
I'm using CakePHP 1.3.3 and Firefox 3.6.6 under WinXP.
My add user form (in an admin context) has it's password field always
filled in by the Auth password of the connected user, even I write:
value='' in the input options.
And another very strange behavior on the same form: the email field
I think it's your browser that fills your field, try to see the html code
that it generate and if the value is empty it's your browser, otherwise it's
cake
---
Norman Paniagua
2010/7/27 avairet avai...@cakephp-fr.org
Hi,
I'm using CakePHP 1.3.3 and Firefox 3.6.6 under WinXP.
My add user
Ok, thanks Norman!
Apparently it's Firefox that fills the field but why email and not
username?
How to avoid this behavior? Because it's disturbing for non-specialist
users...
avairet
On 27 juil, 18:57, Norman Paniagua normanpania...@gmail.com wrote:
I think it's your browser that fills your
Hi i have a problem with my password row.
i have to use the row - pwd but if i do this to login i got this array:
Array
(
[User] = Array
(
[email] = m...@ema.il
[pwd] = mypassword
[password] =
)
)
it seems that i can´t say don´t use
Ok, it's the Forms History of Firefox that store those informations.
If I delete stored usernames and passwords, then fields in my form are
empty.
But I don't understand why Firefox fills email field instead of
username?
On 27 juil, 19:06, avairet avai...@cakephp-fr.org wrote:
Ok, thanks Norman!
i have this array:
Array
(
[0] = Array
(
[Cat] = Array
(
[id] = 1
[title] = cat1
[status] = 1
)
[Subcat] = Array
(
[0] = Array
hi Davor
you probably need to sort your Auth fields array
http://book.cakephp.org/view/1251/Setting-Auth-Component-Variables
which will allow you to access pwd into Auth.
On 27 Jul 2010, at 18:08, Davor Ilic wrote:
Hi i have a problem with my password row.
i have to use the row - pwd
Hi all! What is the best place to put configuration variables (like
Configure::write('bla', 'bla2'))? I'm doing that in core.php
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed
On 27 Jul 2010, at 19:15, Hugo M wrote:
Hi all! What is the best place to put configuration variables (like
Configure::write('bla', 'bla2'))? I'm doing that in core.php
look at Configure::load
http://book.cakephp.org/view/924/The-Configuration-Class
My config file is called custom.php
Try with
$form-input('FieldName');
or
$form-input('FieldName', array('options'=$arrayValues));
---
Norman Paniagua
2010/7/27 hoss7 hoss...@gmail.com
i have this array:
Array
(
[0] = Array
(
[Cat] = Array
(
[id] = 1
You can't route to component but you can crate proxy controller
and use PHP's __call() to re-route to component method .
maybe like this:
RestController:
function rest($method) {
$this-{$method}();
}
public function __call($method, $arg) {
return call_user_func(array($this-Beer,
replace component call $this-Beer by $this-Rest :)
On Jul 27, 9:13 pm, majna majna...@gmail.com wrote:
You can't route to component but you can crate proxy controller
and use PHP's __call() to re-route to component method .
maybe like this:
RestController:
function rest($method) {
Majna,
This is very helpful. I will have to re-read a few times, but very
helpful!
With such a RestController, it seems like I could then include the
component in AppController or other controllers for non-REST access.
My goal is to not duplicate simple functions like person and country
ok thats cool thanks. i have also another question.
and where can i find this. because in my user table all of them don´t have a
security salt or anything they are only in md5
and my user have to login they don´t need any security salt only md5.
how can i cahange this.
2010/7/27 mike
I'm getting a terribly strange problem whereby if I add the var
$fitures to my test controller I end up with a very specific error
when firing testAction. I had to add a $fixtures collection simply
because we have a whole bunch of models in the system already and it
seemed to be looking for
Hey guys,
i am developing under centos:
php-mysql-5.1.6-27.el5
php-xml-5.1.6-27.el5
php-common-5.1.6-27.el5
php-pdo-5.1.6-27.el5
php-xmlrpc-5.1.6-27.el5
libxml2-2.6.26-2.1.2.8
xml-common-0.6.3-18
xml-commons-1.3.02-0.b2.7jpp.10
php-xmlrpc-5.1.6-27.el5
And when i am trying to use the Helper Xml
Hello,
I have a .xls file and I would like to know if there is a way to
change data in it somehow using some php library or even better some
kind helper for cakephp.
I have checked this helper -
http://ykyuen.wordpress.com/2009/10/04/cakephp-export-data-to-a-xls-file/
But it would be really hard
My login doesn´t redirect me to the securitysite.
2010/7/27 Davor Ilic webfa...@gmail.com
ok thats cool thanks. i have also another question.
and where can i find this. because in my user table all of them don´t have
a security salt or anything they are only in md5
and my user have to login
do i use the logn method wrong?
function admin_login() {
$this-Auth-password($this-data['User']['passwort']);
$this-Auth-login($this-data);
}
2010/7/27 Davor Ilic webfa...@gmail.com
My login doesn´t redirect me to the securitysite.
2010/7/27 Davor Ilic webfa...@gmail.com
ok thats
or like this
2010/7/27 Davor Ilic webfa...@gmail.com
do i use the logn method wrong?
function admin_login() {
$this-Auth-password($this-data['User']['passwort']);
$this-Auth-login($this-data);
}
2010/7/27 Davor Ilic webfa...@gmail.com
My login doesn´t redirect me to the
function admin_login() {
$this-data['User']['passwort'] = md5($this-data['User']['passwort']);
$this-Auth-login($this-data);
}
2010/7/27 Davor Ilic webfa...@gmail.com
or like this
2010/7/27 Davor Ilic webfa...@gmail.com
do i use the logn method wrong?
function
function admin_login() {
$this-data['User']['passwort'] = md5($this-data['User']['passwort']);
$this-Auth-login($this-data);
}
2010/7/27 Davor Ilic webfa...@gmail.com
function admin_login() {
$this-data['User']['passwort'] = md5($this-data['User']['passwort']);
hi,
wont´t to know how i can change this to only do the md5() because my older
userdb have only md5() and i tried this before:
Security::setHash('md5');
but dont don´t know where to put in this in (Controller or Model or in
Core).
also i don´t wanna use hashes in password because the users
i solved it in the userscontroller and beforeFilter() when anyone want to
know this
2010/7/27 Davor Ilic webfa...@gmail.com
hi,
wont´t to know how i can change this to only do the md5() because my older
userdb have only md5() and i tried this before:
Security::setHash('md5');
but dont
Thanks Norman,
However, it dint work :(
The problem is that I can't save multiple links of Profile and User. I
can only do one at a time.
hence, $data['Profile']['id'] = 1234 works, but $data['Profile'][0]
['id'] = 1234 doesn't work :(
any lights?
On Jul 27, 1:15 am, Norman Paniagua
Thank you, I got the hints from here on caching issue, as CacheHelper
is using the Inflector::slug function, my pages can't be cached
correctly, e.g. home.php changed to o_m.php
On Jul 7, 2:47 pm, junaidart junaid...@gmail.com wrote:
You are right, it was issue with PCRE Library, I have upgraded
if $this-data is structured like the following:
array(
['User'] = array(
'id' = xxx
),
['Profile'] = array(
[0] = array(
'id' = xxx,
'whatever' = whatever,
etc...
[1] = array(
'id' = xxx,
Because it's forms history is not flawless, that's all.
You can force form fields reset by JS:
document.getElementById('your_form_id').reset();
On Jul 28, 12:10 am, avairet avai...@cakephp-fr.org wrote:
Ok, it's the Forms History of Firefox that store those informations.
If I delete stored
bootstrap.php is for this purpose. Other files may be needed too if
you need to setup a lot of data.
Better do not touch core.php with custom variable set as it may change
with Cake update and yours code there may make this update harder.
On Jul 28, 1:15 am, Hugo M ham1...@gmail.com wrote:
Hi
Jon, i see what you're saying, but plenty of us are making small -
medium size sites that deploy to clients hosting (shared) and run just
fine. Its serious to them :) If you don't operate in this space, you
would be amazed how clients baulk at even top end shared hosting
prices (but dreamhost is
52 matches
Mail list logo