On 10 mayo, 00:13, soytuny <[EMAIL PROTECTED]> wrote:
> You can render the home view with
>
> $this->render('../pages/home');
>
IMO that's a bad habit that shouldn't be propogated - the unwary may
think it's an equivalent to using requestAction and will start doing
$this->render('../products/in
and is more likely to work when javascript is disabled ;)
On 5/9/07, Langdon Stevenson <[EMAIL PROTECTED]> wrote:
>
> Hi Grant
>
> > Now, rather than describe what I have implemented for this, I am
> > looking to hear what others have done in this situation. I don't want
> > to taint your voices
Hi Grant
> Now, rather than describe what I have implemented for this, I am
> looking to hear what others have done in this situation. I don't want
> to taint your voices with my opinion, yet :P Surely there are a
> number of applications that have both a "plain HTML" and Ajax enabled
> version
Mariano,
Am I missing something simple? Can you let me know an example were you
were able to use with redirect? Should I do something different in my
application.
I am keen to use your new framework for our unit tests but right now I
am blocked on this.
Thanks
Krishnan
On May 1, 8:26 am, ks <[
Can't you just get them to create the url like:
http://servername.com/?url=/resorts/view/12/28/4
then it should just work - as your .htaccess rules just rewrite the
"standard" cake urls into this fashion anyway.
On May 10, 10:54 am, "Erich C. Beyrent" <[EMAIL PROTECTED]>
wrote:
> I am sorry I
Our application has finally reached a point where we are designing the
final UI. Up until now we've kept to the cake standard, where all
actions have their own HTML view, with minimal javascript (only for
required functionality). This of course lends itself to a lot of page
reloading and changin
I am sorry I was not clear - I don't need to construct the URL from Cake
- I need Cake to HANDLE this URL.
I specify the URL, the vendor generates an email containing the link,
Joe Smith receives the email and clicks on the link.
I was thinking about parsing out the URL in index.php and recons
Has anyone tried to use the $form->month method in the formHelper
class? I keep getting the following error:
Fatal error: Method FormHelper::month does not exist in /home/user/
workspace/galleries/trunk/cake/libs/view/helper.php on line 134
maybe it's not fully implemented. I'm using 1.2 alpha
And resides, ZF is never ahead of anything.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.a
On 5/9/07, John David Anderson <[EMAIL PROTECTED]> wrote:
>
> Dear friends,
> I only provide this link because at the time of this writing, ZF is ahead
> in the poll. Please, please do as your conscience requires.
>
>
>
> http://www.php-mag.net/magphpde/magphpde_news/psecom,id,27201,nodeid,5.html
>
Dear friends,
I only provide this link because at the time of this writing, ZF is
ahead in the poll. Please, please do as your conscience requires.
http://www.php-mag.net/magphpde/magphpde_news/psecom,id,27201,nodeid,
5.html
Regards,
John
--~--~-~--~~~---~--~~
Nice. I'm looking good :)
Thanks a lot!
2007/5/9, soytuny <[EMAIL PROTECTED]>:
>
> You can render the home view with
>
> $this->render('../pages/home');
>
> If you would like to set an error message and redirect you can use
>
> $this->Session->setFlash('You ain't no user!');
>
> To display
I've been working on a form to allow users to change their passwords.
For the view, since I'm asking for data that is not part of the model
(newpassword, oldpassword, confirmpassword), I created an arbitrary
name (change) for the form data.
Question #1
Should I be naming my form variables [user]
You can render the home view with
$this->render('../pages/home');
If you would like to set an error message and redirect you can use
$this->Session->setFlash('You ain't no user!');
To display the flash message, you need this line in your layout (or
view)
if($session->check('Message.flash')) $
Hello,
I've created my default home page (/views/pages/home.thmtl) to include
a login form for my application. This works fine, but if the login
fails, I am unsure how to handle it. I would like to send the user
back to the front page and display an appropriate error message.
Here is my existi
Also, would that keep the session object from being instantiated?
I'm trying to find where this even happens, do you know?
On May 9, 4:06 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> make sure your tmp folders all exist and are writable
>
> tmp/
> cache/
> models/
> persistent/
>
Sorry, I meant to tell you that I already checked that part as well,
all writable.
On May 9, 4:06 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> make sure your tmp folders all exist and are writable
>
> tmp/
> cache/
> models/
> persistent/
> views/
> log/
> sessions/
> t
make sure your tmp folders all exist and are writable
tmp/
cache/
models/
persistent/
views/
log/
sessions/
tests/
as has been repeated umpteen times in this list many ftp and or
extraction programs to not deal with empty folders in an expected way
On 5/9/07, [EMAIL PRO
Hi,
I just installed a small cake app I built on a new server. Everything
worked fine on the development server, but on the production box, any
calls to $this->Session in my app_controller.php product a
Call to a member function on a non-object
I made sure the entire cake core installed, it di
start with this
http://tinyurl.com/2tjk5h
yours,
Grumpy old fart
On 5/9/07, ascend <[EMAIL PROTECTED]> wrote:
>
> I just moved my web host to a brand new setup at Dreamhost and now my
> Cake app does not work! It seems to work for static pages, but not for
> any pages that access the database.
I just moved my web host to a brand new setup at Dreamhost and now my
Cake app does not work! It seems to work for static pages, but not for
any pages that access the database. In the page title it says '404 not
found' and in the body of the error message it says "The requested
address internalerr
On 5/9/07, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote:
>
> I'd like to have my controllers function normally at /controller/
> action, but I'd also like users to be able to access parts of my site
> using /groupName/courseName. How would I go about doing this? Any good
> suggestions on where to l
I'd like to have my controllers function normally at /controller/
action, but I'd also like users to be able to access parts of my site
using /groupName/courseName. How would I go about doing this? Any good
suggestions on where to look on how to customize the routes this way?
--~--~-~--~
>From the controller do:
$this->returned_information = $this->Modelname->function($this->data);
Just take the data as an argument and parse the array.
This is the way I do it but, if there is an easier way, I am all eyes.
On May 9, 12:28 pm, Harro <[EMAIL PROTECTED]> wrote:
> Thanks for your re
Thanks for your reply, but I dont follow.
I want to use the data submitted in the users_controller from, in the
User model for custom validation.
I was following this ->
http://snook.ca/archives/cakephp/cakephp_data_va_1/#c48338
Thanks, Harro.
On May 9, 8:21 pm, "Gonzalo Servat" <[EMAIL PROTEC
On 5/9/07, Harro <[EMAIL PROTECTED]> wrote:
>
>
> I thought it would be possible to access form submited data using
> $this->data['Model']
>
> However I get the following error:
>
> Notice: Undefined index: User in E:\Server\htdocs\app\models\user.php
> on line 15
>
> Anyone have any ideas? Thanks,
I thought it would be possible to access form submited data using
$this->data['Model']
However I get the following error:
Notice: Undefined index: User in E:\Server\htdocs\app\models\user.php
on line 15
Anyone have any ideas? Thanks, Harro
--~--~-~--~~~---~--~~
thx
On 9 mayo, 02:44, AD7six <[EMAIL PROTECTED]> wrote:
> On 9 mayo, 03:39, stefano <[EMAIL PROTECTED]> wrote:
>
> > Hello
>
> > I try to do a search over apaginationcomponent i found
> > thishttp://www.noswad.me.uk/Pagination/PRG
>
> > but i can't download the source any one have this source or
Sliv wrote:
> http://manual.cakephp.org/chapter/request_handler
>
yeah thanks, but there is no sample in my case w
my code
controller Email
var $components = array('RequestHandler');
function index()
{
$this->RequestHandler->setAjax($this);
}
function edit()
{
Sliv wrote:
> http://manual.cakephp.org/chapter/request_handler
>
yeah thanks, but there is no sample in my case w
my code
controller Email
var $components = array('RequestHandler');
function index()
{
$this->RequestHandler->setAjax($this);
}
function edit()
{
DOH!!! It was the recursive valuessometime you just stare at
something too long, you know?
Thank you so much. Good karma your way.
Cheers,
Beau
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" g
So the issue with the tables that reference each other and create
massive array was solved by removing the hasMany from the 'instit'
model and just using the belongsTo in the 'bopp' model.
Is it okay to JUST have a 'belongsTo' relationship?
--~--~-~--~~~---~--~~
In my application I have a form to perform a search in movie titles.
Some fields like movie title are mandatory and can't be blank. Others
like year and category are optional.
The action of this forms perform a action /movies/search that display
the search results.
My problem is it when the user
I don't see anything wrong, unless you've set your recursive values
high for your find calls. This setup is normal.
Bopp belongsTo Instit and
Instit hasOne Bopp
That allows you get get data from the other model, no matter which
you're using. Are you getting an error or some long queries or
Now both models are going in loops referencing themselves:
bopp.php
var $belongsTo = array('Instit' =>
array('className' => 'Instit')
);
}
instit.php
var $hasOne = array('Bopp' =>
array('className' => 'Bopp',
Thanks John.
I guess because I'm mainly working with the Bopp, i wanted other data
to belong to it. I guess it's just the way I'm thinking about models
and relations.
Thanks again for making my day easier.
On May 9, 11:01 am, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On May
Not really a CakePHP specific question. But today is your lucky day. A)
I'm looking for any kind of excuse to not study for my physics final
tomorrow. B) I like playing with array, regex and urls : ).
So here you go:
---
On May 9, 2007, at 11:53 AM, uolax wrote:
>
> This is driving me crazy, I've tried every possible setup in the model
> and tables and nothing seems to work. Please Please help.
>
> I have 2 tables,
>
> bopps
> -
> id
> name
> desc
> instit_id
>
> instits
> ---
> id
> name
Given
This is driving me crazy, I've tried every possible setup in the model
and tables and nothing seems to work. Please Please help.
I have 2 tables,
bopps
-
id
name
desc
instit_id
instits
---
id
name
I have 2 models
instit.php
-
var $name = 'Instit';
var $belo
oops, wrapped
$newurl = '?var='.$this->params['controller'];
$newurl .= '&var2='.$this->params['action'];
$newurl .= '&var3='.$this->params[0];
$newurl .= '&var4='.$this->params[1];
$newurl .= '&var5='.$this->params[2];
--~--~-~--~~~---~--~~
You received this mes
one way:
$newurl = '?var='.$this->params['controller'].'&var2='.$this-
>params['action'].'&var3='.$this->params[0].'&var4='.$this-
>params[1].'&var5='.$this->params[2];
On May 9, 1:32 pm, "Erich C. Beyrent" <[EMAIL PROTECTED]>
wrote:
> I have a vendor that is doing email marketing for me. They
http://manual.cakephp.org/chapter/request_handler
On May 9, 1:14 pm, Michael Augustyniak <[EMAIL PROTECTED]>
wrote:
> gwoo wrote:
> > use the RequestHandler component with ajax and the layout will be set
> > automatically
>
> Not sure how to use it .
> I added inside controller
> var $components
I have a vendor that is doing email marketing for me. They allow custom
fields to be specified in their content templates. However, they don't
support full urls as a custom field, only parts of the query string.
I am sending them a URL like:
http://servername.com/resorts/view/12/28/4
and th
I would probably use bindModel with conditions:
http://groups.google.ca/group/cake-php/browse_thread/thread/dcbb867063e4696c/4fbbbd0bf6223330?lnk=gst&q=bindmodel&rnum=9#4fbbbd0bf6223330
On May 9, 1:08 pm, robechar <[EMAIL PROTECTED]> wrote:
> This is the only way I have found to do this, but pe
Thanks for the feedback!!
--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECT
It's strange, but I still get that error message :(. I added
backticks, I tried to use `Vendor`.`total` instead `Vendor`.`count`
with same negative result. Please, help me with code in controller.
Now I'm using this:
$this->Vendor->bindModel(array('hasOne'=>array('Model')));
$fields = array('Vend
gwoo wrote:
> use the RequestHandler component with ajax and the layout will be set
> automatically
>
>
>
Not sure how to use it .
I added inside controller
var $components = array('RequestHandler');
so from view
I use
$this->render('edit');
which give still me double layout
from controller
This is the only way I have found to do this, but perhaps some one
knows a better method?
this->A->hasMany['B']['fields'] = 'id';
$this->A->findAll();
On May 8, 3:46 am, peper <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Let's say I've got two models A and B , and the relation is
> A hasMany B
>
> Now
1. Don't store your results in $this->Product. That is confusing.
2. To expose data to the view use $this->set('variable_name',
$data_for_variable);
3. I have never used loadModel. Instead, at the top of the controller
I would add the unassociated model to the $uses array.
For example in Cat
i guess you have to use belongsTo for B model.
On May 8, 4:46 pm, peper <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Let's say I've got two models A and B , and the relation is
> A hasMany B
>
> Now I want to "findAll" A's with corresponding B's .
>
> this->A->findAll() works OK.
>
> I can specify fie
use the RequestHandler component with ajax and the layout will be set
automatically
--~--~-~--~~~---~--~~
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
one advantage to using elements is that in 1.2 you can cache them for
periods of time thus helping your performance as well
On 5/9/07, Tane Piper <[EMAIL PROTECTED]> wrote:
>
> I actually like to mix the two. What I find best is to create an
> element, and put the rA() inside it. Then I can use
is it even remotely posible that
when i remove
var $helpers = array('Html','Form');
my session read and write works
but when i put that in my controller,
everytime i write the session variable, it writes something
else(randomly)
into the session variable (i checked the raw session file) ?
But onc
How to render the same file from controller and view.
For example I need to render edit.thtml.
Inside controller I do
$this->render('edit', 'ajax');
and it works.
>From view I do $this->render('edit', 'ajax'); and does not work, the
ajax links inside the edit.thtml file are not working.
My layo
Oh yeah, that's right. Thanks.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Men
2007/5/9, sixlaneve <[EMAIL PROTECTED]>:
> > > has anyone tried to import RSS feeds with cakephp?
yes
> >
> > Yes. I recommend using SimplePie[0]. There is a snippet available[1] but
> > that's rather controller-centric. May I suggest creating a Model to
> > encapsulate the RSS functionality you ne
Mariano:
When I installed your plugin, I was running 1.1.14.4797 and got the
error described in ticket 2370:
http://groups.google.com/group/tickets-cakephp/browse_thread/thread/40546c1950d1d70f/5f9d2360f5e31f95?lnk=gst&q=%232370&rnum=1#5f9d2360f5e31f95
So I implemented the fix and no problems.
AD7six: can you have your answer posted above the original mail quote? :)
Regarding Cheesecake being an application, AD7six has a point. Don't want to
piss Tarique off.
Regarding plugins (even though Cheesecake is not one AFAIK) Gonzalo has a
point. Plugin controllers should be named as unique
On 5/9/07, AD7six <[EMAIL PROTECTED]> wrote:
>
> >
> > I had one problem with it which I was able to fix pretty easily. I had
> an
> > old installation of Cheesecake in the plugins dir which had an
> > UsersController. My CakePHP app also has an UsersController so it
> clashed.
> > You'd have to be
That could be interesting with the new Cache class, and their engines, in
the 1.2 release. Let's hope aakour is monitoring this thread.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be
What datasource fix?
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Mensaje origin
On May 9, 3:18 pm, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote:
> On 5/9/07, Sliv <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Well, I used PhpGACL 3.3.7 installed into APP_DIR . /vendors/
>
> > After extraction, I did have to make a symbolic link to the
> > phpgacl-3.3.7 folder called 'phpgacl' beca
cheers, I'll take a look at it right now
On 8 Mag, 01:52, Chris Lamb <[EMAIL PROTECTED]> wrote:
> sixlaneve wrote:
> > has anyone tried to import RSS feeds with cakephp?
>
> Yes. I recommend using SimplePie[0]. There is a snippet available[1] but
> that's rather controller-centric. May I suggest
On 5/9/07, Sliv <[EMAIL PROTECTED]> wrote:
>
>
> Well, I used PhpGACL 3.3.7 installed into APP_DIR . /vendors/
>
> After extraction, I did have to make a symbolic link to the
> phpgacl-3.3.7 folder called 'phpgacl' because the plugin was looking
> for that folder.
>
> For the plugin:
>
> app_dir .
http://www.daniweb.com/techtalkforums/thread15881.html
"Smithers, release the hounds."
On May 9, 9:00 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 5/9/07, RB <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > How to send a report information directly to a printer ( dot matrix
> > printer ) ?
Well, I used PhpGACL 3.3.7 installed into APP_DIR . /vendors/
After extraction, I did have to make a symbolic link to the
phpgacl-3.3.7 folder called 'phpgacl' because the plugin was looking
for that folder.
For the plugin:
app_dir . /plugins/phpgacl/
app_dir . /components/php_gacl.php
WEBROO
On 5/9/07, RB <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> How to send a report information directly to a printer ( dot matrix
> printer ) ? The report page has been developed using PHP,mySql and
> Javascript. What I want is that, in the report page, there will be a
> link "print". On clicking the link,
Hi,
How to send a report information directly to a printer ( dot matrix
printer ) ? The report page has been developed using PHP,mySql and
Javascript. What I want is that, in the report page, there will be a
link "print". On clicking the link, the printing of the report will
start directly. Also
Thanks djiize, I found what was causing the issue.
Its the float:left command on line 195 of cake.generic.css
Found in app/webroot/css
Incase anyone else has the same problem. ;)
Thanks, Harro.
On May 9, 11:52 am, djiize <[EMAIL PROTECTED]> wrote:
> It's a CSS cause
> but I don't know exactly
hello bakers (especially developers of CakePHP)
I proposing an idea for cakephp. Is it possible to develop a "Cache
Viewer" to see what is cached. The viewer can be flexible to show
session variables as well as cookie variables. I am not aware of any
such functionality in cake PHP or in some othe
Ok, I was able to get around the error messages with this:
// CategoryController
..
function view($id){
..
loadModel('Product');
$p = new Product();
$this->Product = $p->getProductsByCategory($id, $start, $limit,
$sort);
pr($this);
$this->set('category', $this->Category->read());
}
On 3 mayo, 20:11, rockit <[EMAIL PROTECTED]> wrote:
> Let me explain what i have here. I have 2 models, Inventory & Photo.
> I have defined an association that Inventory hasMany Photo. ie. a Car
> can have many photos.
>
> I have the inventoriesController set up and working properly. it
> con
Thanks it answers all my question.
I will look to the code in few days.
Thanks again
On 9 mai, 13:35, AD7six <[EMAIL PROTECTED]> wrote:
> On 7 mayo, 11:09, wluigi <[EMAIL PROTECTED]> wrote:
>
> > I want to build a serch helper that can be used in index action like
> > paginator.
>
> > This hel
On 1 mayo, 20:17, bit <[EMAIL PROTECTED]> wrote:
> I've reviewed the previous thread that covered HABTM filtering and got
> it to
> work:http://groups.google.com/group/cake-php/browse_thread/thread/f23b1825...
>
> But if I understand this correctly, using a binded hasOne association
> would mak
On 4 mayo, 17:21, christos <[EMAIL PROTECTED]> wrote:
> Trying to figure this out for the past couple of days, and can't get
> it right.
> Need a alternative installation so that CAKEPHP can run both httpdocs
> and httpsdocs directories under Plesk.
> Plesk 7.5.4 creates for every domain the fol
On 7 mayo, 22:06, MauroEC04 <[EMAIL PROTECTED]> wrote:
> Hello people!
>
> Well. I'm programming a extreme-large portal and using Cake.
>
> I need to include several (about 6 to 8) views in a layout (including
> the 1st page).
>
> I can't just use the requestAction() method in the view classes,
On 7 mayo, 11:09, wluigi <[EMAIL PROTECTED]> wrote:
> I want to build a serch helper that can be used in index action like
> paginator.
>
> This helper should be able to use form data to generate a nice url
> like with paginator.
>
> PS : perhaps the solution isn't a helper.
>
> I can't see how
On 9 mayo, 12:00, RLR <[EMAIL PROTECTED]> wrote:
> Hi I have discovered a problem with my app and would like to know if
> there is a solution...
>
> When I browse my app with firefox I get this error regardless of Mac
> or Pc version (1.5.0.10)
>
> The page isn't redirecting properly
> Firefox has
The only book I know at the moment is the manual: http://manual.cakephp.org
HTH
--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this grou
http://www.avatarfinancial.com/pages/cake/
Quote:
"I needed to create several pages that didn't use any models and
contained static data inside the default layout. My first thought was
to create a controller for these pages and define an action for each
static page I needed. However, this solutio
hi I want to know about the online books available for cake PHP
--~--~-~--~~~---~--~~
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 th
Thank you Hellbot and thank you Tulio :) I solved my doubt.
--~--~-~--~~~---~--~~
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 g
Hi I have discovered a problem with my app and would like to know if
there is a solution...
When I browse my app with firefox I get this error regardless of Mac
or Pc version (1.5.0.10)
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for
this a
Hey,
http://localhost/cakephpxxx/index.php?url=users would give me the
right content but I click on the link of register whose right url was
http://localhost/cakephpxxx/users/register and it gives me the 404
page again unless I input
http://localhost/cakephpxxx/index.php?url=users/register.
It
Silv,
Thanks, so my setup should work. Hmmnz... Which version of phpGACL do you
use? Did you have to edit some things manually or just installed the bunch
like described here: http://dev.sypad.com/installing-phpgacl-plugin-cakephp
TIA
Paul
>
> I'm using PHP5, MySQL 5 and CakePHP 1.1.14.4797 wi
Don't edit the files in /cake folders, it's the CORE of Cake, and
should never been modified!
All your files must be in /app and/or /vendors
Create default.ctp in /app/views/layouts/ if not exists
And read the manual for layout/view/conventions rules
On 9 mai, 11:48, AD7six <[EMAIL PROTECTED]> wr
search for "Pages controller" in the group
for short: it's a special controller, you just add .thtml|.ctp files
in /app/viws/pages/ folder and they are visible at mysite.com/pages/
file (without extension)
On 9 mai, 10:42, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> how you guys to deal with
It's a CSS cause
but I don't know exactly where in the file, I always start projects
with a blank CSS
On 9 mai, 11:01, Harro <[EMAIL PROTECTED]> wrote:
> I have the latest stable release of cake, with no edits to the CSS.
> But when I use tags such as , ect. in the view files, the text
> is invi
> Hmm... ok, I understand setting up the function in the Product model
> to run the query but I'm confused about the CategoryController.
> If I try to run:
$catProds = $this->Category->Product->getCategoryProducts($categoryId);
you have to traverse the associations tree back. If you're working
w
it seems you have not the mysql extension for PHP
if you have PHP5, try mysqli instead of mysql in your database conf
file
On 9 mai, 09:43, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> hi i am new to cakephp , i am facing one problem , i followed the
> tutorial
> fromhttp://www.learncake.com
Hmm... ok, I understand setting up the function in the Product model
to run the query but I'm confused about the CategoryController.
If I try to run:
$catProds = $this->Product->getCategoryProducts($categoryId);
I get "Undefined property: CategoryController::$Product "
or if I try
$catProds = $
Problem might be the cake submit helper hardcodes a 'type' =>
'submit',. This is not overridden by the 'image' type you specify in
the attributes array.
Might be easiest to code the submit button directly in html in this
case.
--~--~-~--~~~---~--~~
You received
I have a newsletter plugin, need to find time to finish it and put it
in cakeforge. Sending using swiftMailer,
newsletters html/plain, multi-lists, layouts, opt-in/opt-out and
whatnot. no auto responders tho. the stuff I release is usually
educational but anyway..well show a sign when it's releas
On 9 mayo, 11:16, rocky <[EMAIL PROTECTED]> wrote:
> Hey Greg,
>
> Thanks very much for your reply! it helps a lot although the location
> should be in /cake/lib/views/layouts/
Do not edit that file - see the link Greg provided.
AD
--~--~-~--~~~---~--~~
You re
Hey Greg,
Thanks very much for your reply! it helps a lot although the location
should be in /cake/lib/views/layouts/
Blessings,
Rocky
On May 8, 4:09 am, "Greg Cerveny" <[EMAIL PROTECTED]> wrote:
> Heyrocky,
>
> I had the same question last week. Check out:
> /app/views/layouts/default.thtml a
Hey list,
I followed the tutorial of "IBM: Cook Up Websites Fast (5 part
series)" and got the user registration system up and running
successfully. Today I did an database table back up use mysqldump --
add-drop-table xxx command and did some other editing which I forgot.
The problem is the when
I have the latest stable release of cake, with no edits to the CSS.
But when I use tags such as , ect. in the view files, the text
is invisable in IE until you highlight it, but it remains visible once
you un-highlight it again.
Sites appear fine in FF and Opera. Anyone have any ideas on this?
how you guys to deal with static pages ,
can I routes url to a html page,and how?
--~--~-~--~~~---~--~~
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
Hi,
I am new to cakephp. i want to use AJAX with cakephp. but i am
finding it difficult can anyone help me .
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send emai
On 30 abr, 18:47, phpsmitty <[EMAIL PROTECTED]> wrote:
> This is similar functionality that the masterbake.php file can bake up
> but the code it produces is very messy. Seams like a couple include
> files should be able to dynamically generate this functionality
> automatically.
Hi,
You can d
1 - 100 of 104 matches
Mail list logo