Hi...Flocks
Problem:
I have the following URLs for my website:
www.example.com/services.ctp
However, i would like to hide file extensions from the end users, and
allow them to access to the files using the following URLs:
www.example.com/services
Can u please explain me, how can i do this.
://book.cakephp.org/view/1078/Views
Have fun!
On Thu, Jan 27, 2011 at 10:32 AM, Narendra Padala
crazycake...@gmail.com wrote:
Hi...Flocks
Problem:
I have the following URLs for my website:
www.example.com/services.ctp
However, i would like to hide file extensions from the end
Hi flocks,
I am also new to cakephp ..is there any mistake excuse, try like
this,
$campaign_store_dates = $this-CampaignStoreDate-find('all',
array('joins' =
array(array( 'table' = 'stores',
Hi all,
I am new to cakephp. But have implemented so many cakephp concepts.
Now I want to implement internationalization to my application.
I dont know wat to use. i18n, p28n or l10n.
I even dont the difference between them.
I was read the below articles but i didn't get,
wrote:
On Jun 15, 8:11 am, Narendra Padala crazycake...@gmail.com wrote:
Hi all I am new to cake php,
I am created some themes like red, green blue etc.
i have to use these themes in my appliaction.
so i defined in my app controller like this
var $view = 'Theme';
var
Hi all I am new to cake php,
I am created some themes like red, green blue etc.
i have to use these themes in my appliaction.
so i defined in my app controller like this
var $view = 'Theme';
var $theme = 'black'; // here i need global value.
this value i have to set in the core .php
Thanks sir,
its working fine.!
On Tue, Jun 8, 2010 at 8:40 PM, calvin cal...@rottenrecords.com wrote:
Don't post the same question twice, please. You already had people
helping you with this in the other thread.
On Jun 8, 4:16 am, Narendra Padala crazycake...@gmail.com wrote:
Hi i am
Hi am new to cakephp, i am using postgress sql database this is an existing
database here i am not having permissions to change any thing in database.
but i have to wrote user authentication using app_controller.php
so tried to wrote code like this but it was not working properly please any
one
, Narendra Padala wrote:
Hi am new to cakephp, i am using postgress sql database this is an existing
database here i am not having permissions to change any thing in database.
but i have to wrote user authentication using app_controller.php
so tried to wrote code like this but it was not working
I was changed some changes in my app controller after that i got this error
message
this is code what i am wrote
--
app_controller.php
---
?php
class AppController extends Controller {
var $components = array('Auth',
Hi i am new to cake php, when i am creating a login authentication using
app controller the following error was showed so please help me out. here
data base i am using postgress sql, here i dont have permission to chanage
the databse.
this is app_controller.php
Hi i am new to cakephp, here i attached the screen shot off my application
please see that attachment,
any one having the related sample code please help me out.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this
can u please send any working example...
On Wed, Jun 2, 2010 at 6:56 PM, Shaz shazam...@gmail.com wrote:
Use elements, you can pass values between them:
$this-element('whatever', $valuetobepassed);
On 2 June, 13:16, Narendra Padala crazycake...@gmail.com wrote:
Hi flocks,
I am, new
Hi flocks,
I am, new to cake php actually i want display one report, in the down i
put the link download link for Excel.
For that purpose , i have to display same content for report and excel, so
i was set the query results in one variable rows, using that variable i was
displayed the records
?php
echo $html-link('edit', array('controller'='dashboards',
'action'='
'partner/'.$data[$i]['Partner']['id']'));
?
On Wed, Jun 2, 2010 at 5:49 PM, mike karthauser mi...@brightstorm.co.ukwrote:
On 2 Jun 2010, at 12:21, Dilip Godhani
?php
echo $html-link('Add',
'add',array('class'='footer-link'));
?
On Wed, May 26, 2010 at 12:30 PM, Ed Propsner crotchf...@gmail.com wrote:
I would use:
$html-div('current',
?php
echo $html-link('Add', array('controller'=
$this-params['controller'],
'action'='view'),
array('class'='footer-link'));
?
On Wed, May 26, 2010 at 2:19 PM, Narendra Padala crazycake...@gmail.comwrote
put code to ur controller
--
$createdValue='12.34.00';
$authakeUserQuery=$this-authakeUser-find('all',
array('conditions'=array('authakeUser.created'=$createdValue)));
$$this-set('authakeUsers',$authakeUserQuery);
--.ctp file
table
tr
tdlogin/td
tdpassword/td
tdemail/td
, Narendra Padala
crazycake...@gmail.comwrote:
put code to ur controller
--
$createdValue='12.34.00';
$authakeUserQuery=$this-authakeUser-find('all',
array('conditions'=array('authakeUser.created'=$createdValue)));
$$this-set('authakeUsers',$authakeUserQuery);
--.ctp
$suppliers = $this-Supplier-find('all',
array(
'conditions' =
array('AND',array('supplier_name'='narendra',
'supplier_id'
=
$storeDivisions = $this-Store-find('all',
array('joins' = array(
array('table' = 'divisions',
'alias' = 'd',
'type' = 'left',
thanks ... for giving good suggestion
On Tue, May 25, 2010 at 6:58 PM, Dilip Godhani dilip.godh...@gmail.comwrote:
cakephp support relation u create one model in model folder and give
relationship of two table cake automatic join that two table
On Tue, May 25, 2010 at 6:57 PM, Narendra
Hi...All i am new to cakephp, i have problem in creating model please help
me out...!
My table names like this
Table one : stores
Table two : test_stores
For one i create like this.
File name: store.php
?php
class Stores extends AppModel {
var $name = 'Store';
Hi...All i am new to cakephp, i have problem in creating model please
help me out...!
My table names like this
Table one : stores
Table two : test_stores
For one i create like this.
File name: store.php
?php
class Stores extends AppModel {
var $name = 'Store';
models are:
Table stores: store.php, model class Store
Table test_stores: test_store.php, model class TestStores
Jeremy Burns
jeremybu...@me.com jeremybu...@mac.com
(Skype) +44 208 123 3822 (jeremy_burns)
(m) +44 7973 481949
(h) +44 208 530 7573
On 20 May 2010, at 13:54, Narendra Padala
thanq
On Thu, May 20, 2010 at 6:44 PM, Narendra Padala crazycake...@gmail.comwrote:
hi here model class name
Table test_stores: test_store.php, model class TestStores
TestStores or TestStore. i have doubt let me clarify please
var $name=TestStores; or var $name=TestStore
On Thu, May
` = '3'
Thanks in adavance
On Thu, May 20, 2010 at 6:45 PM, Jeremy Burns jeremybu...@me.com wrote:
It's TestStore - I just posted a correction.
Jeremy Burns
jeremybu...@me.com jeremybu...@mac.com
On 20 May 2010, at 14:14, Narendra Padala wrote:
hi here model class name
Table test_stores
Hi...All !
i am new to cake php i am writting query like this , i am using left join i
wrote the query like below, but i dont know how to display that fileds data
please help me out
$storeDivisions = $this-Store-find('all',
array('joins' =
Hi ...All I am new to cake php, I need to write where conditions like this
please any one can help me out
WHERE
((c.start_date = '2010-05-19' AND c.start_date =
'2010-06-30')
OR (c.end_date = '2010-05-19' AND c.end_date =
'2010-06-30')
, at 13:54, Narendra Padala wrote:
Hi...All !
i am new to cake php i am writting query like this , i am using left join i
wrote the query like below, but i dont know how to display that fileds data
please help me out
$storeDivisions = $this-Store-find('all
:
http://book.cakephp.org/view/1030/Complex-Find-Conditions
Jeremy Burns
jeremybu...@me.com jeremybu...@mac.com
On 19 May 2010, at 14:06, Narendra Padala wrote:
Hi ...All I am new to cake php, I need to write where conditions like this
please any one can help me out
Hi..All,
I am new to cakephp, If any one can help me how to write left joins in cake
php. please conver below query in cakephp
$sql = SELECT `c`.`campaign_id`, `c`.`supplier_id`,
`c`.`brand`, `c`.`start_date`, `c`.`end_date` FROM `campaigns` as `c`
LEFT JOIN
I am new to cakephp, If any one can help me how to write left joins in
cake php. please conver below query in cakephp
$sql = SELECT `c`.`campaign_id`, `c`.`supplier_id`,
`c`.`brand`, `c`.`start_date`, `c`.`end_date` FROM `campaigns` as `c`
LEFT JOIN
Hi...All!,
I am new to cake php,I am suing postgreSql i need to update some
fields in my database. In my controller my code like thishere i
need convert these update command to cake, Please anyone can help me
out how to convert this in to cake.
function fun() {
Burns
jeremybu...@me.com
On 13 May 2010, at 11:00, Narendra Padala wrote:
Hi...All!,
I am new to cake php,I am suing postgreSql i need to update some
fields in my database. In my controller my code like thishere i
need convert these update command to cake, Please anyone can help me
'
)
)
On Thu, May 13, 2010 at 3:52 PM, Narendra Padala
crazycake...@gmail.comwrote:
Sir, looked at sir, but i am not getting properly, can u write one
example for my above code..please help me out sir
On Thu, May 13, 2010 at 3:31 PM, Jeremy Burns jeremybu...@me.com wrote:
Have you even looked
);
Jeremy Burns
jeremybu...@me.com jeremybu...@mac.com
On 13 May 2010, at 13:36, Narendra Padala wrote:
when i am tried above like that, i got this error message
*Warning* (2): pg_query() [function.pg-query
http://php.net/function.pg-query]: Query failed: ERROR: null value in
column
message?
Jeremy Burns
jeremybu...@me.com jeremybu...@mac.com
On 13 May 2010, at 13:53, Narendra Padala wrote:
hi sir,
i did that one now i got this error sir please help me out sir
*Warning* (2): pg_query() [function.pg-query
http://php.net/function.pg-query]: Query failed: ERROR
Hi..!,
I am new to cake php,usuing PostgreSql,When i am inserting a record
its shows the follwoing error any one please help me out.
Error:
-
Warning (2):pg_query() [function.pg-query]: Query failed: ERROR:
relation tblcdlog_id_seq does not exist [CORE/cake/libs/model/
Hi i am new to cake php, how to insert data in to cakephp, i am using
PostgreSql please help me out.
$strDate=12-12-2010;
$IngCDLog_Type=.gif;
pg_exec($conn,INSERT INTO tblcdlog(dtmcreated, strcdno,
lngcdlog_type, blnsuccess) VALUES ('$strDate', 'Unknown CD',
$lngCDLog_Type, '0'));
please any
Hi..! , i am new to cakephp , i found this link for sending emails , i hope
you it will helpful for you
http://edwardawebb.com/web-development/cakephp/simple-email-component-cakephp
On Mon, May 10, 2010 at 4:42 AM, Renato de Freitas Freire
renat...@gmail.com wrote:
i never could get smtp
Hi..!
I am new to cakephp, how to display the particular month wise and
partuclar day wise recods.
I was stored date database table $date = date('Y-d-m'); format.
$id=$user_id;
$day=date(d);
$month=date(m);
Ex: select * from timesheets where user_id='$id' AND 'date'='month';
^
i got it like this,
$timesheet = $this-Timesheet-find('all',
array('conditions' =
array(
'user_id' =
$id,'MONTH(`date`)'=$currentMonth)));
On Fri, May 7, 2010 at 11:42 AM, heh
Hi..!
I am new to cakephp,how to conver the following qyery in to cakephp
please any can help me out.
$timem _out = date('H:i:s');
$date = date('Y-d-m');
UPDATE Timesheets SET time_out = '$time_out' WHERE id = '2' AND date =
'$date';
thanks in advance...!
Actually this is my for data.
Hi...Everyone!
I am new to cakephp , I am using postgres sql, i have problem like
this i am able to convert this psql query to cake but
pg_numrows() is i am not able convert. so please any one can help me
out.
$rsCDLog = pg_exec($conn, SELECT dtmcreated FROM tblcdlog WHERE
blnsuccess = '1');
$intProfileCnt = pg_numrows($rsProfile);
var $intCDLogCnt = $this-Tblcdlog-find(
'count', array(
'conditions' = array(
'Tblcdlog.blnsuccess' = 1
),
'fields' = array(
),
'fields' = array(
'Tblcdlog.dtmcreated'
)
)
);
On Fri, Apr 30, 2010 at 4:13 PM, Narendra Padala crazycake...@gmail.comwrote:
$intProfileCnt = pg_numrows($rsProfile);
var $intCDLogCnt
Hi..Every one ,
i am using postgresql database for cake when i am creating the user
authentication its show errors,
hope u i wrote properly but it shows Error, i wrote code like this
please any one can help me out.
My Database Table Name tbluser
--
table should be pluralized: users
Also, why do you use tbl before you table names?
On Thu, Apr 29, 2010 at 10:11 AM, Narendra Padala
crazycake...@gmail.comwrote:
Hi..Every one ,
i am using postgresql database for cake when i am creating the user
authentication its show errors,
hope u i
Hi all,
I am new to cakephp i have problem like this please help me out sir
$currentday = date(w);
$rsStoreTime = pg_exec($conn, SELECT
intdaynumber,to_char(dtmopeningtime,'HH24:mi') AS
dtmopeningtime,to_char(dtmclosingtime,'HH24:mi') AS dtmclosingtime
FROM tblstorehours where intdaynumber =
thanks sir
On Mon, Apr 26, 2010 at 10:00 PM, cricket zijn.digi...@gmail.com wrote:
On Apr 26, 9:44 am, Narendra Padala crazycake...@gmail.com wrote:
Hi all,
I am new to cakephp i have problem like this please help me out sir
$currentday = date(w);
$rsStoreTime = pg_exec($conn
How to display form submitted data without using model and with model
in the same controller
Hi..All,
I am new to cake php i have problem like this
Table:
CREATE TABLE `user`.`users` (
`name` VARCHAR( 60 ) NOT NULL
);
Step :1
Hi all i am new to cake php please help me
My problem is:
common code for all the controller methods and other controller
methods also
--common code start---
if(!isset($intCurrentMenu)){
$intCurrentMenu = -1;
//
Hi All,
I am new to cakephp, When i am try to create menu i have problem,
where can i write controller for elements please help me out.
include file code here : views/elements/gravitybar.ctp
--
Hi all..!
I am new to cakephp i have problem, i have to use same code in
multiple functions, example
?php
class UsersController extends AppController
{
var $name = Users;
function index()
{
$x=5;
$y=10;
$z=$x+$y;
}
function demo()
{
$x=5;
Hi !
I am using the same code, but i am not getting the out. please help me
out
On Apr 16, 3:57 pm, Ed Propsner crotchf...@gmail.com wrote:
If it's your Javascript that's not working I would use:
function validate()
{
var username=Form.Element.getValue('UserUsername');
hi all
var username=Form.Element.getValue('UserUsername');
i have a doubt
UserUsername - field name or form name or model name and is there any
specilalcharacte between User and Username.
i am using this both form name and inputfiled name
Form name : echo $form-create('User',
57 matches
Mail list logo