I'm attempting to use the CakeDC Categories plugin in CakePHP 2.3.0.
Unfortunately, CakeDC's documentation is notoriously vague and incomplete,
and my knowledge of Cake is very elementary. The problem is that, when
dealing with hierarchical categories, Category.name is very unhelpful. For
Hi,
I'm not sure where to post this, but if someone could please make this very
simple change. Maybe it will help someone else in the future.
I just spent a lot of time debugging Cake to try and understand what
Model::associations() does. The phpDoc says 'Get associations' which sounds
like
Issue is not CakePHP 2.3 specific. Heroku is a read only file system[1].
Though you can write to /tmp. So in core.php, when setting
Cache::config() update the value of the 'path' key to '/tmp'. I've
also shared my production Cache::config() settings[2].
[1]
Remove the $id = from the call to findUser()
On Fri, Feb 8, 2013 at 8:27 PM, Advantage+ movepix...@gmail.com wrote:
I am having problems pulling User data in my plugin and cannot figure out
why. If I run the same code in the controller it returns the data, but if I
try to access it thru the
I think you're mixing up Models and Helpers. Your Collection model has
an association with Categories.Category, using the alias Category, so
you can do $this-Collection-Category-whatever()
But, you can't call model methods in the view. You can, but you
shouldn't. From the view's perspective,
Hello,
where is the newbie section of this forum? :-)
I am trying to populate a select in a normal user edit view taking data
from another table called user_prefixes (which hasMany user that belongsTo
user_prefixes )
user table: user.id, user.name, user.user_prefix_id
user_prefix table: id,
hii i want to create registration page in cakePhp please help me
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group.
To unsubscribe from this group
This is a problem I'm getting with a new install - trying to follow the
blog tutorial. I must be doing something wrong
http://viewing360.com- This works just fine
http://viewing360.com/dealers - a page I'm trying to create following the
tutorial - throws errors.
’Html’
It looks
i create a simple registration page but i do no get all field are equal
distance.the input field are so close with the label name,how i give space
between them please reply fast..
thankx
prakash
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
Hi guys ! This is my situation:
1) a simple_php.php file in webroot folder
2) the users_controller.php in the app/controllers
3) the follow function in the users_controller.php :
link http://pastebin.com/N5E1AN3s
code
?
function login_flat($user_id){
$user_data =
Hi, i have a problem with validation when using saveAssociated. Poll model
validation works fine, but PollOptions model validation not...
Controller
public function admin_create() {
if ($this-request-is('post')) {
//$this-Poll-set($this-request-data);
if
Apply some CSS padding to the label?
On Fri, Feb 8, 2013 at 5:56 PM, Prakash Bisht prakashbish...@gmail.com wrote:
i create a simple registration page but i do no get all field are equal
distance.the input field are so close with the label name,how i give space
between them please reply
That works super-great for something like view.ctp where you're dealing
with a single entity/record. That's exactly what I've done for those
situations. The issue becomes much, much more complicated for something
like index.ctp where you have to apply it to every record with a foreach
loop.
13 matches
Mail list logo