hi
i have news controller,in this contoller i have some function for show
random news.
i want send this array result to some element.
what i am must to do?
thanks
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
Hi.
I need to fetch all gallery rows in every page in application.
How to fetch?
Note: Gallery Model is defined but i do'nt understand how to do?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
Note: i have cake php 2.1
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
Note: I have use CakePHP 2.1
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
Hi thanks for getting back to me, yes I stripped back my login action and I
have setFlash, working and I have the session comp in my app_controller. If I
try the auth comp I get the same error. If I var_dump I can see the mock obj
are there but with empty values.
--
Our newest site for the
hi
Username and Password is default filed for identifying users in
cakephp ,how can i check this field “User.valid = 1 ” with default
filed for identifying user?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
hi everyone,
i want to secure the login with SSL and use the Security Component for
that. cake seems to swith to HTTPS
but has trouble calling the new URL
https://server/users/login
giving me a 404 error. I understand this is fixable with $this-
Security-blackHoleCallback
but how? what am i
USe the scope option in FormAuthenticate
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#configuring-authentication-handlers
Em domingo, 15 de abril de 2012 06h00min44s UTC-3, hoss7 escreveu:
hi
Username and Password is default filed for identifying users in
Hi,
I googled quite some time arround but I only find here and there some hint,
but I found never a kind of complete instruction how to setup custom error
layouts for my project.
I am using Cake 2.1.
Does anyone know a good tutorial link?
I aslo read in the book, but I find it also quite hard
thank you rodrigo,but i have error.
this is my code:
before:
public $components = array(
'Acl',
'Auth' = array(
'authorize' = array(
'Actions' = array('actionPath' = 'controllers')
)
)
)
after change:
public $components = array(
I am using subdomains, each subdomain loads a specific theme folder. I
also have a global theme which has global.css in it. I want to be
able to load that theme from my current subdomain location. The issue
is that when I use the html-css helper it loads the current themes
css. How can I load
I am newbie to cakephp.
Currently working on localhost and have url as below
http://localhost/test/admin/Users
but wants it to be
http://localhost/test/Users
Note Condition:
when not login
http://localhost/test/Users
should work with index.ctp
when login
http://localhost/test/Users
On Sat, Apr 14, 2012 at 2:19 PM, creat1v1ty justin.r.ran...@gmail.com wrote:
cool, thanks euromark. Will you please confirm which .htaccess file this
should go in, based on my doc root being public_html...
In #1 -- the one directly inside public_html.
--
Our newest site for the community:
Sending both concurrently makes no sense. What is it you're trying to do?
On Sat, Apr 14, 2012 at 10:38 AM, Serkan Sipahi serkan.sip...@yahoo.de wrote:
hi,
i remove Router::parseExtensions('json');
My wish is to do something like this:
?php
class SomeController extends AppController {
Disable autoLayout and set the controller's view to the element. If
this is an AJAX request and you're using RequestHandler, it will deal
with the first. Then just render.
$this-set('data', $some_data);
if ($this-RequestHandler-isAjax())
{
$this-viewPath = 'Elements'.DS.'FooBars';
You could use Cake's translation.
locale/eng/LC_MESSAGES/default.po:
msgid password_control
msgstr Confirm Password
li?php echo __($field) .' - '. $error; ?/li
But I notice you're already using the __() function elsewhere. If
you've already got a multilingual app then this may not be the best
I am using the following code to go back a page, but the problem is
that the action is an add one so it just goes back to an empty add
form:
if ($this-request-is('post')) {
// blah blah ...
if ($this-Inemail-save($this-request-data)) {
// blah blah ...
You need to capture your post array for the form and feed it back into the
new loaded form.
Cheers,
Matt
On Sun, Apr 15, 2012 at 4:15 PM, Daniel danwgr...@gmail.com wrote:
I am using the following code to go back a page, but the problem is
that the action is an add one so it just goes back to
On Apr 15, 9:22 pm, Matt Murphy mattyh...@gmail.com wrote:
You need to capture your post array for the form and feed it back into the
new loaded form.
OK, but how do I do that?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
On first display of the form pass the referer to the view to add it to the form.
echo $this-Form-input('Model.referer', array('value' = $referer));
public function add() {
if ($this-request-is('post')) {
$referer =
Hi All,
I'm using the cakephp media plugin in my project using the monolithic
style attachments table, i.e. all the attachments go in the one table
with foreign_key, model, group etc. saved with the file details. So my
model looks like:
class ProjectProfile extends AppModel {
var $name =
thank you cricket
but i cant undrestand where i must put this code,this is my code:
i have one function in newscontroller like this:
function randomnews(){
$rnews=$this-News-find('first',array('order'='Rand()');
$this-set('news',$rnews);
}
i want send this result to some element :
22 matches
Mail list logo