Hi All,
I have a banner image in default layout which is displayed on each
page. But when i pass parameters in the URL the image is not
displayed.
Example: /users/index works fine
but
/users/index?id=1 doesnt display the image
Please Help
mdb
Check out the new CakePHP Questions site http
from a
parent. However, I highly suggest using counterCache so you'll have
thiscountdata within your parent table (events).
HTH
Nick
On Apr 15, 4:05 pm, mdb meena.d...@gmail.com wrote:
Hello,
I have Events view.ctp where i display list of Events (Event Name ,
Location and Date
Hello,
I have Events view.ctp where i display list of Events (Event Name ,
Location and Date)
In EventRegistration table i have the users registered for each event.
(Event id , UserId)
Now in my EventView.ctp i need to add no. of registered users for each
event.
the SQL query will be
Select
Thank you so much that worked.
On Apr 13, 7:28 pm, cricket zijn.digi...@gmail.com wrote:
On Apr 13, 1:56 pm, mdb meena.d...@gmail.com wrote:
Hello All,
In my view.ctp i want check if a particular querystring is present, if
so then need to assign that value to a local variable.
Ex
Hello Paul,
Thanks you so much for the reply, that worked.
On Apr 13, 2:12 am, WebbedIT p...@webbedit.co.uk wrote:
Hi,
You'd pass the event_id to the controller action by including it inn
the url:
$html-link('Register', array('controller'='events',
'action'='register',
Hello All,
In my view.ctp i want check if a particular querystring is present, if
so then need to assign that value to a local variable.
Ex
the url may or may not have the querystring 'eventid', If its present
then assing to local variable otherwise no action
Thanks in advance
Check out the
Hi All,
I have view.ctp where i'm displaying list of Events
Each event will have a Register link which should insert (eventid and
session user id ) to EventRegistrations table.
I'm new php, so please help me with some sample code...
Thanks In Advance
Check out the new CakePHP Questions site
]
Then the find('list') will be able to use the correct table column!
Enjoy,
John
On Apr 4, 1:10 am, mdb meena.d...@gmail.com wrote:
Hello
Thanks for the reply. But i'm very new to php, so let me go one step
at a time.
HABTM in my understanding is to create cross reference tables
Hi All,
I'm having problem displaying a dropdownlist . basically i'm adding
events to the DB.
The Events entry page has a event category dropdown which also comes
from db.
So in the Events controller add/edit function i have the following
code.
$this-set('eventcategories',
Hello
Thanks for the reply. But i'm very new to php, so let me go one step
at a time.
HABTM in my understanding is to create cross reference tables. (If i'm
not right, please correct me)
But my case is as follows:
Events is a master table where eventcategoryid is a foreign key
column (which
Hello all, I have a site named portal.mysite.com and a site called
cakephp.mysite.com. My users log into portal.mysite.com so I wanted
them to be able to go directly into the cakephp.mysite.com without re-
logging in. Is there a way to do this or a setting that I am
missing? The first site is
Hi All, not real sure how I should be setting this up. I have a join
table called scheduler_customers_tenant_service_approved with the
following 2 columns:
scheduler_customer_id (int)
tenant_service_approved_id (int).
The 2 tables that are being joined are:
table - scheduler_customers
pk = id
Hello all, I have 2 applications that are pretty much set up the same,
when I call this on one application every works fine and data is set:
$eventsx = $this-ScheduledItem-findAll(
array(
a ton of errors when I update the cake
files and I do not have enough experience with it to work through them
all (in a time crunch).
On Nov 5, 11:00 am, MDB [EMAIL PROTECTED] wrote:
Hello all, I have 2 applications that are pretty much set up the same,
when I call this on one application
THANK YOU!
On Nov 5, 2:03 pm, teknoid [EMAIL PROTECTED] wrote:
the should be on the key side now (due to security fixes)... so
'ScheduledItem.start =' = '2008-11-02'
On Nov 5, 1:47 pm, MDB [EMAIL PROTECTED] wrote:
This appears to be an issue with the versions. The cake version
'] however I always get an
undefined index or property error.
On Oct 30, 9:21 pm, thatsgreat2345 [EMAIL PROTECTED] wrote:
add debug($this-data); to your controller that is receiving the
submitted data. It will display the structure of $this-data
On Oct 30, 6:59 am, MDB [EMAIL PROTECTED] wrote
31, 2008 at 9:46 AM, MDB [EMAIL PROTECTED] wrote:
The form values do not show up when I do that, they do when I do a
debug($this) and appear like this:
[form] = Array
(
[Test1] = 04
[Test2] = 05
)
How do I access
I figured out the correct name convention. Thanks
On Oct 31, 8:52 am, MDB [EMAIL PROTECTED] wrote:
Maybe if I explain what I am doing better. Basically, I have a form
that asks for a birthday. We do not want the users to feel
uncomfortable by asking for thier year of birth so I have two
How do you get form data that is not part of a controller? I have a
select / drop down box called dobDay, then in the controller, I have
tried $this-data['dobDay'], $_POST['dobDay'] and $this-
data['Customer']['dobDay'] (customer = name of form) and nothing
works. Can someone please help? TIA
Hello all, is there a way to make this a link rather than a button?
--~--~-~--~~~---~--~~
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
need to
add some JS.
On Oct 30, 11:25 am, MDB [EMAIL PROTECTED] wrote:
Hello all, is there a way to make this a link rather than a button?- Hide
quoted text -
- Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Thanks
On Oct 22, 1:07 pm, gravyface [EMAIL PROTECTED] wrote:
beforeFilter()
MDB wrote:
Hello all, is there a way to get the login password before it is
hashed? I need to pass the password to a seperate system where the
passwords are not hashed so I need both the hashed and unhashed
Hello all, is there a way to get the login password before it is
hashed? I need to pass the password to a seperate system where the
passwords are not hashed so I need both the hashed and unhashed
password.
--~--~-~--~~~---~--~~
You received this message because
Hello all, I have a login page where if the default login fails, it
tries using a second login. Due to this, the Login failed. Invalid
username or password. message appears even if my second login was
sucessfull. So my question is, how do I get rid of this message or
hide it? If I hit refresh
that will work though...
MDB wrote:
Hello all, I have a login page where if the default login fails, it
tries using a second login. Due to this, the Login failed. Invalid
username or password. message appears even if my second login was
sucessfull. So my question is, how do I get rid
Hello all, I am having a heck of a time trying to understand how to
setup table joins. First I have the following 3 tables:
scheduler_customers
Primary Key = id
tenant_service_approved
Primary Key = tenant_service_approved_id
scheduler_customers_tenant_service_approved
Columns:
am, MDB [EMAIL PROTECTED] wrote:
Hello all, I am having a heck of a time trying to understand how to
setup table joins. First I have the following 3 tables:
scheduler_customers
Primary Key = id
tenant_service_approved
Primary Key = tenant_service_approved_id
Being new to cake (became the owner of 2 cakephp applications), I dont
think I am getting something simple. First, I have three tables,
customers (PK ID int), services (PK ID int) and then
customers_services (customer_id int, service_id int). I then have the
2 models below. I am in the process
to customers_scheduler_services
On Oct 17, 8:22 am, MDB [EMAIL PROTECTED] wrote:
Being new to cake (became the owner of 2 cakephp applications), I dont
think I am getting something simple. First, I have three tables,
customers (PK ID int), services (PK ID int) and then
customers_services
',
'associatedForeignKey' = 'customer_id'
)
);
}
Once again, in short, I changed the table names and set the useTable
and now the services no longer show. Not real sure what else I should
look for?
On Oct 17, 9:28 am, MDB [EMAIL PROTECTED] wrote:
Thank you
I finally figured it out. I changed the table name
(scheduler_customers_sheduler_services) but I didn't change the column
names to scheduler_customer_id and scheduler_service_id. Once I did
that it started working again. Thanks again for your help.
On Oct 17, 10:00 am, MDB [EMAIL PROTECTED
Hello all, I have a cake application that I need to add an existing
table to that doesn't follow the cake naming convention and I am
unable to change the table name so my question is, how do I work
around this. For example, the table name is service (rather than
services) so do to this, I can
Thanks
On Oct 16, 12:44 pm, on24nl [EMAIL PROTECTED] wrote:
Hello,
Just specify it in your model.
class Example extends AppModel {
var $useTable = 'othername';
}
Regars,
Jeroen
On 16 okt, 17:48, MDB [EMAIL PROTECTED] wrote:
Hello all, I have a cake application that I need
Hello all, I have 3 tables:
scheduler_customers_services (customer_id int, service_id int)
scheduler_services (id int)
scheduler_customers (id int)
My models looks something like this:
class Service extends AppModel
{
var $name = 'Service';
var $useTable = 'scheduler_services';
to begining of name). So now, I am no
longer getting the error but the scheduler_customers_services never
gets updated with customer id and service ids. What is the best way
to update tables like this?
On Oct 16, 3:21 pm, MDB [EMAIL PROTECTED] wrote:
Hello all, I have 3 tables
I am new to this, I just took over this site which was written in
cakephp and I have never seen or used it before.
On Oct 2, 8:54 pm, 3lancer.eu [EMAIL PROTECTED] wrote:
Hi,
Well, I don't know why do you expect that to work. Please read the
chapter on
Hello all, how do I get the selected value from a select drop down
box. Basically I want to redirect based on the returned value however
I can not figure out how to get the selected value?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hello all, how do I remove the form style? For example, I have a form
that gathers user information (name, address, ect) with each input in
a row / cell. I have the table set to 0 cell padding however there is
a ton of space between each row which make it look way too big.
elements inside of tables.
On Oct 2, 12:54 pm, MDB [EMAIL PROTECTED] wrote:
Hello all, how do I remove the form style? For example, I have a form
that gathers user information (name, address, ect) with each input in
a row / cell. I have the table set to 0 cell padding however there is
a ton
Hello All, I am not real sure what I am doing wrong. I have a login
page that I am trying to pass an OwnerID to since it is coming from
another site and I am getting the below error. How can I pass a
querystring to a starting page?
Here is what the url looks like:
Hello All, I have a form that is filled with radio buttons which each
represents a time. What is the best way to loop through these radio
buttons enabling and disabling depending on other factors? Does this
go in the controller and if so, how do I go about this? Any links or
pointers would
41 matches
Mail list logo