# |
Jan 29th 2014, 05:56 |
Starcraftmazter |
yes |
# |
Jan 29th 2014, 05:56 |
Starcraftmazter |
index.ctp and cms_index.ctp |
# |
Jan 29th 2014, 05:56 |
BackEndCoder |
and are they from the same controller |
# |
Jan 29th 2014, 05:56 |
BackEndCoder |
can you give me the names of both views ? |
# |
Jan 29th 2014, 05:56 |
Starcraftmazter |
the other view that is with a form |
# |
Jan 29th 2014, 05:56 |
Starcraftmazter |
BackEndCoder: i did, i linked to it |
# |
Jan 29th 2014, 05:55 |
BackEndCoder |
if its outside the plugin range |
# |
Jan 29th 2014, 05:55 |
BackEndCoder |
the only thing i can think of is the location of the view file |
# |
Jan 29th 2014, 05:53 |
BackEndCoder |
if you have a github link to the plugin or something like this i might be more helpful |
# |
Jan 29th 2014, 05:52 |
BackEndCoder |
its hard to check it without having the code infront of me |
# |
Jan 29th 2014, 05:50 |
BackEndCoder |
check the directorys inside plugin/plugin_name/views/helper for anyfiles that look like form, or a form extentnion |
# |
Jan 29th 2014, 05:49 |
BackEndCoder |
check out the app controller too, to make sure they don't override the form helper |
# |
Jan 29th 2014, 05:49 |
BackEndCoder |
see how they made it |
# |
Jan 29th 2014, 05:49 |
BackEndCoder |
in a view |
# |
Jan 29th 2014, 05:49 |
BackEndCoder |
there is probably another place they already have a form |
# |
Jan 29th 2014, 05:48 |
BackEndCoder |
in the whole plugin |
# |
Jan 29th 2014, 05:48 |
Starcraftmazter |
inside the view |
# |
Jan 29th 2014, 05:48 |
Starcraftmazter |
and/or doesnt exist |
# |
Jan 29th 2014, 05:48 |
Starcraftmazter |
null |
# |
Jan 29th 2014, 05:48 |
Starcraftmazter |
BackEndCoder: this is my problem, $this->Form is nullk |
# |
Jan 29th 2014, 05:48 |
BackEndCoder |
or its not going to show an output |
# |
Jan 29th 2014, 05:48 |
BackEndCoder |
remember to echo it |
# |
Jan 29th 2014, 05:48 |
BackEndCoder |
$this->Form->create() will get you started |
# |
Jan 29th 2014, 05:47 |
Starcraftmazter |
BackEndCoder: what object do i call it on? |
# |
Jan 29th 2014, 05:47 |
BackEndCoder |
the data send from the form, is all in the controller |
# |
Jan 29th 2014, 05:47 |
BackEndCoder |
forms are all about the view |
# |
Jan 29th 2014, 05:47 |
BackEndCoder |
this is all view code |
# |
Jan 29th 2014, 05:47 |
BackEndCoder |
no |
# |
Jan 29th 2014, 05:47 |
BackEndCoder |
where you have called it |
# |
Jan 29th 2014, 05:47 |
Starcraftmazter |
controller? |
# |
Jan 29th 2014, 05:47 |
Starcraftmazter |
BackEndCoder: where do i call the create function? |
# |
Jan 29th 2014, 05:46 |
BackEndCoder |
and it should work |
# |
Jan 29th 2014, 05:46 |
Starcraftmazter |
and assuming it works anything like zend |
# |
Jan 29th 2014, 05:46 |
BackEndCoder |
and follow that to make the form in your view |
# |
Jan 29th 2014, 05:46 |
BackEndCoder |
read this |
# |
Jan 29th 2014, 05:46 |
Starcraftmazter |
just reading code elsewhere on the site |
# |
Jan 29th 2014, 05:46 |
BackEndCoder |
http://book.cakephp.org/1.3/en/The-Manual/Core-Helpers/Form.html |
# |
Jan 29th 2014, 05:46 |
BackEndCoder |
bascily you are using 1.2 code ? to make a form in 1.3 |
# |
Jan 29th 2014, 05:46 |
Starcraftmazter |
nowhere |
# |
Jan 29th 2014, 05:46 |
BackEndCoder |
i mean where are you learning from ? |
# |
Jan 29th 2014, 05:46 |
Starcraftmazter |
as in view with a working form (above) |