Dear All I'm very new for cakePhP i want to learn cake php from Scratch any
body who can give me link for full video tutorial and other material.
warmly regards
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message
with that category_id
AND the city_id already defined. I think that this behavior might
actually require me to develop my controller some more (and possibly a
new view) but I was wondering if something like this can be done with
breadcrumbs.
Thanks,
Dima
Check out the new CakePHP Questions site http
= 'User';
var $useTable = 'user_votes';
var $hasAndBelongsToMany = array(
'UserVote' = array(
'className' = 'UserVote',
'foreignKey' = 'user_id',
'dependent' = true
)
);
}
[/code]
Hope this helps,
Dima
On Jun 11, 4:55 pm, Ed Propsner crotchf
cricket - thanks for the suggestion. I've been reading up on MPTT,
but the first link doesn't have the demo described on the site. I was
wondering if you could post our example just so I can go through it
and see how MPTT structured table calls are made.
Thanks,
Dima
On Jun 8, 8:10 pm, cricket
My original implementation did exactly what you describe but I was
hoping that it could be done otherwise. Guess not.
Thanks,
Dima
On Jun 7, 8:12 pm, calvin cal...@rottenrecords.com wrote:
You only use echo when you're linking them inline. So you would never
have something like:
echo
of a way to change the $hasMany in order to
include this critical data?
Thanks,
Dima
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
,
Dima
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
controller and the home action.
I just finished going through the quickwall tutorial myself and had
this issue :) In case this doesn't work, try playing around with that
line and giving it different parameters based on how you set your app
folder up.
Dima
On Jun 6, 11:18 pm, Ats swamy0...@gmail.com
e($scripts_for_layout); ? correctly? Does it
have to go before/after a certain point in the header?
Thanks again,
Dima
On Jun 7, 4:10 pm, vekija vedran.konto...@gmail.com wrote:
you have to echo those :)
echo $javascript-link('mootools-for-dropdown', false);
On Jun 7, 8:43 pm, Dima
Christian,
If you're worried about integrity, you may have to resort to using
transactions in your db.
Consider the InnoDB engine if you're using MySQL.
Also, you would need to implement begin(), commit() and rollback()
function for your model:
http://bakery.cakephp.org/articles/view/228
You
You would have to use a custom model to overwrite some functionality
(cake 1.x):
E.g
class MyHtml extends Html
{
...
function setFormTag($tagValue) {
$parts = explode(/, $tagValue);
$this-model = $parts[0];
$this-field= array_pop($parts);
// We add a class
Korcs,
Thanks for re-posting on the Group :)
Could you provide some additional code?
From what I can tell, you would need a custom helper like so:
class CustomHelper
{
function parseAnchors($content)
{
// Replaces all anchors locations to an absolute value.
return
CC96AI,
You're right about modifying the tag templates.
There would have to be more changes than the ones i mentioned above.
However, it's a starting point :).
As for it being a good idea, you can implement your own tags. Since
you're subclassing HtmlHelper you can redefine the $tags class
Rosie,
You've started quite a debate here :).
I am currently building a CMS using Cake and tinyMCE as well.
I believe you should have all URL mapping done using Components and
not the view.
The solution I am aiming towards is to have the images referenced like
so:
// Images is a controller and
Alex,
Under what conditions would you need to truncate content with tags
included?
Here is my function to truncate (called 'cut'). Note that it strips
the tags.
function cut ($string, $length, $padd = '...') {
$string = strip_tags($string);
$returnString = '';
It's the production side of things that worries me most (martin). This
is a live system I am working on and, although the web is forgiving,
there is much dependency on Cake and the CMS built on top. Thanks for
your answers, folks.
Dimitry
On Feb 2, 1:11 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
Does anyone have an indication of the stability of Cake 1.2, as it is
now? I understand that it undergoes constant change, but I would
imagine the base is fairly stable.
Also, has anyone experienced significant difficulty in transferring
from 1.1.1 to 1.2?
The reason I ask is because I require
Hello!
How to save a FTP folder and subfolders contents list to a text file to
print?
Best regards,
Dima
+79035093892
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send
Fabrizio,
You might have to do something like this:
$this-data['User']['id'] = $subscribed['User']['id'];
$this-data['User']['subscribed'] = 1;
...
$this-User-save($this-data);
// Notice that Cake in v1.0+ will fetch the User index from
$this-data.
- or -
$subscribed['User']['subscribed'] =
19 matches
Mail list logo