All Questions

RSS

1 answer

0 votes

vBulletin login system

Hi, I'm working on a system which will let Auth use the user table of a vBulletin forum.

The idea behind it is simple enough, you just need to point the User model at the forum's user table, modify the hashPasswords() function to take into account...

2 answers

4 votes

Asked by powtac, on 13/11/09 in Models

Find max number of times a tag is used

I have a HABTM tags/post schema.

The data in the table posts_tags table looks like.


post_id     tag_id
1           10
2           11
3           11
3           12
4           11
5           13

How can I get the highest number a tag is used? In my...

2 answers

1 vote

Asked by keerthi, on 11/11/09 in

CakePHP Benchmarks

I'm in a serious project development which is expected get about 2000000 (2 million) user base. I just googled around for benchmark comparisons between different PHP frameworks. As I observed CakePHP performance is considerably lower than others.

1 answer

4 votes

Asked by pzwiers, on 10/11/09 in Shells

How do I bake a view for a plugin

Started out plugin development, for some speed I wanted to bake a view that is part of my plugin. But in bake the controllers/models of my plugin do not show, hence I can't bake a corresponding view.

2 answers

3 votes

Asked by JakubLedl, on 14/11/09 in Views

Query table in views

Hi. I'm learning CakePHP (using the blog app tutorial) and I want to get rid of that stupid table of SQL queries that shows in my views. So far I only found out that the table isn't passed in $content_for_layout variable, because it appends after...

1 answer

4 votes

Asked by powtac, on 26/11/09 in Components

How can I use components in a shell

How should I include and call components in a shell?

1 answer

4 votes

Asked by eberfreitas, on 23/11/09 in Installation / Configuration

Managing big applications

Hey guys!

I have an application here that is growing bigger and bigger. The address is this: www.aquitanda.com [brazilian portuguese].

Basically, it's a website where you can buy and sell stuff on your own, which means people can create their own...

1 answer

3 votes

Asked by Roborino, on 24/11/09 in Installation / Configuration

What is the best way to handle subdomains

I would like to have multiple subdomains pointed to my project. For instance, site1.web.com, site2.web.com, site3.web.com. What is the best way to accomplish this? Potentially, there will be 10,000 subdomains pointing to this project.

1 answer

-1 votes

Asked by bazy, on 16/1/10 in Views

Include php file

Hi

I have added baner CMS to my website.

Looks like:

mydomain.com/banner/

home/user/public_html/banner/

And to display the rotator banner i need to include this code on my homepage:

<?php include_once("/home/user/public_html/banner/ad_rotator.php");?

I...

3 answers

1 vote

Asked by powtac, on 18/11/09 in Controllers

Selecting just some fields in a HABTM findAll() query

How can I select a defined list of fields in a findAll() query which runs on a HABTM model. I have the model diagram with HABTM tags. In the tag model I use:


$this->Tag->findAll();

This returns a correct result but the query selects all(!)...

<< previous 1   2   3   4   5   6   7   8   9

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.