Re: the plugins dont work at all

2010-04-16 Thread islam4hak
thanks every one it's just work great for me at this way
appName/pluginName/Controller/action

i was get it wrong on the book
thanks.

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 from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


the plugins dont work at all

2010-04-16 Thread islam4hak
hi
why i cant accses any plugin i create ?


i make the manual tutorial to create the pizzOrder plugin
but i cant access to it  /pluginname/controllername/action

so i bake another plugin but i cant access it to

app/plugin/poll/
i try http://localhost/appname/poll/
it dont work

 Error:  PollController could not be found.

Error: Create the class PollController below in file: appname
\controllers\poll_controller.php

so i download a ready to user plugin and i cant access it to
?

the plugin is AJAX star rating plugin for CakePHP 1.2
i try
http://localhost/appname/rating/

so what i'm doing wrong ?

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 from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


my translations not submitted

2010-04-10 Thread islam4hak
i have translate about 8 topics on the book to arabic but they dont
submitted i was think that i did something wrong on the HTML maybe but
then i resend my translation with no any thing wrong on it
and i translate about 6 new topics but nothing yet submitted so what i
did wrong
i try to email
d...@cakephp.org but it's get me
Delivery Status Notification (Failure)

i can write the message but i dont think it help :(


so what are going on
please Note i have 2 successful translations with no any problems
i hope someone have answer !!

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 from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.


how can i make a paginate for products of one shop

2009-05-29 Thread islam4hak

hi how can i make the paginate for a products of a shop in the data
base for example

i now want to make a view function of the shopController

function view($id) {

 $this->Shope->id = $id;
 $this->set('shope', $this->Shope->read());

 $this->set('prod', $this->paginate('Product'));

 $this->set('users', $this->Session->read());
 $views_value=$this->Shope->field('views');

 $views_value++;

 $this->Shope->updateAll(
array('Shope.views' => "$views_value"),
array('Shope.id' => $id)
);

so when i view it on the site it's make the paginate right, but it's
paginate all the Products not the Products that's belong to this shop


so how i can make it paginate  just the Products that's belong to this
shop

?!

--~--~-~--~~~---~--~~
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 from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Relative Pagination & select from none Relative class

2009-05-19 Thread islam4hak

how can i make Relative Pagination like for Example

i have a shoppes and this Shoppes have a products that's belongsTo the
Shoppes
so when i select from the shoppes
i cant make the Pagination  for the products ???


so and the Next thing i need to know is
how can i select from class another class that's not Relative  to it
like
selecting where i'm in the shoppe class the Configure Class and Set
Values on it And edit and Delete .

by the way i do it by Getting the Old school Style Of Selecting and
edit and delete but i think i can don it vai the Cakephp style I just
Dont Know How 


Thanks Guys ;)
Regards.

--~--~-~--~~~---~--~~
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 from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---