hi guys,... can anyone help please
I have a link in my view:
?php echo $this-Html-link($this-PhotoShow-thumb($user_obj),
'/photos/index/' . $user_obj['User']['username'], false, false, false) ?
and it is output in source :
a href=/photos/index/admin
Hi Chris,
Try this :-
?php echo $this-Html-link($this-PhotoShow-thumb($user_obj),
'/photos/index/' . $user_obj['User']['username'], array('escape'=false)) ?
Enjoy,
Marcus
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You
I've been wracking my brain over this for a few hours and its doing my head
in.
Consider the following models and associations:
Operation belongsTo User, OperationType and hasMany OperationParticipant
OperationType hasMany Operation
OperationParticipant belongsTo User, Operation
if I dump out
THANK YOU Marcus !
On Sunday, September 30, 2012 11:47:57 PM UTC-7, marco metal wrote:
Hi Chris,
Try this :-
?php echo $this-Html-link($this-PhotoShow-thumb($user_obj),
'/photos/index/' . $user_obj['User']['username'], array('escape'=false)) ?
Enjoy,
Marcus
--
Like Us on
Hi Everyone,
I set up simple ACL in my site. I followed this tutorial
http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html
It's from the cookbook.
the problem is solved,... Thank You All,...
On Sunday, September 30, 2012 1:51:28 PM UTC-7, Chris wrote:
hi guys,... I'm getting getting , instead , in output
(views) when reading from helper,... e.g.
$s = 'img src=' . $this-show_path($photo, $size, $params) . '
alt=' .
hi guys,...
I had renderElement in 1.2 pre-Beta version,... now moving script to 1.3
and it seems to me that it's not supported in 1.3
in a vew I have:
?php echo $this-renderElement('../videos/videos_ads1', array('full' =
true)) ?
which was bringing up the page from
1. // Render the element in /views/elements/ajaxreturn.ctp
2. $this-render('/elements/ajaxreturn');
2012/10/1 Chris chris...@yahoo.com
hi guys,...
I had renderElement in 1.2 pre-Beta version,... now moving script to 1.3
and it seems to me that it's not supported in 1.3
in a vew I
hi Ivan,...
I need to render it from another directories,... like videos, groups,
etc,...
will this work... ?? or should I put videos_ad1 content into elements
view... ??
?php echo $this-render('elements/videos/videos_ads1', array('full' =
true)) ?
On Monday, October 1, 2012 1:00:30 AM
didnt try but it should work from controllers like this ?php echo
$this-render('../elements/**videos/videos_ads1', array('full' = true)) ?
2012/10/1 Chris chris...@yahoo.com
hi Ivan,...
I need to render it from another directories,... like videos, groups,
etc,...
will this work... ?? or
I just saw my own mistake, ofc it goes without echo and php tags :) just
$this-render();
sent from my Samsung Galaxy S
Ivan Rimac
mail: ivn...@gmail.com
mob: +385 95 555 9966
Dana 1.10.2012. 10:41 Ivan Rimac ivn...@gmail.com je napisao/la:
didnt try but it should work from controllers like
Just a wild guess: in the OperationParticipant model, try changing the
alias for User. Something like:
public $belongsTo = array(
'OPUser' = array(
'className' = 'User',
...
And then change the contain block to have 'OperationParticipant' =
array('OPUser')
On Mon, Oct
Can anyone confirm if this is actually possible? Or has anyone been able
to do it?
Leveraging https://github.com/rchavik/datasources/tree/mssql-2.0 , ODBC,
freedts, anything?
I've been searching + trying different things for a few days now and have
read so many different articles. I was
After creating the project it doesen´t work because the command cake bake
doesn´t bake the root htaccess which will point to the /app/webroot/
is this an issue of *cake bake?*
*
*
*
*
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
Is something like that. This controller can do what I need, but might
improve slightly. If a good friend can help, I would be very happy.
https://gist.github.com/3813598
Em quarta-feira, 26 de setembro de 2012 11h25min44s UTC-3, vinny M escreveu:
You could use the fileuploader component from
Hi, yes it is possible. You need sqlsrv driver. I can pass it to you, and
one example, if you want of course.
Sorry my english
El oct 1, 2012 2:07 p.m., Josh Becker ooto...@gmail.com escribió:
Can anyone confirm if this is actually possible? Or has anyone been able
to do it?
Leveraging
Yeah no dice :( had tried something similar to that before.
* Model OperationParticipant is not associated with model OPUser*
On Tue, Oct 2, 2012 at 4:05 AM, lowpass zijn.digi...@gmail.com wrote:
Just a wild guess: in the OperationParticipant model, try changing the
alias for User. Something
you can just steal the .htacess from the github rep:
https://github.com/cakephp/cakephp
Am Montag, 1. Oktober 2012 21:15:22 UTC+2 schrieb webfacer:
After creating the project it doesen´t work because the command cake
bake doesn´t bake the root htaccess which will point to the /app/webroot/
I know. but why the console command don´t do it it self? Do i can do
something to let the command bake create the htaccess?
thx
Am Montag, 1. Oktober 2012 23:59:31 UTC+2 schrieb euromark:
you can just steal the .htacess from the github rep:
https://github.com/cakephp/cakephp
Am Montag, 1.
you shouldnt really use /localhost/some/folder/app/webroot/ in the first
place
use vhosts and root directly to the webroot folder
then you only need the single one in this folder. nothing else.
thats how it will be live (in the interwebs) anyway.
Am Dienstag, 2. Oktober 2012 00:29:13 UTC+2
hi guys,...
I can't bring back record of dateTime back to my edit.ctp
what I have is in there:
(this is from 1.2 pre-Beta version)
?php echo $this-Form-dateTime('birthday', 'DMY', 'NONE', time(),
array('minYear' = 1910, 'maxYear' = (date('Y') - 16)), false) ?
how can I do this in 1.3... ??
http://book.cakephp.org/1.3/en/view/1390/Automagic-Form-Elements
You should really consider to go through this book for 1.3 ...
2012/10/2 Chris chris...@yahoo.com
hi guys,...
I can't bring back record of dateTime back to my edit.ctp
what I have is in there:
(this is from 1.2 pre-Beta
Thanks Ivan,...
I missed that in a first place,...
I got it now,... and it works perfect,...
On Monday, October 1, 2012 4:59:28 PM UTC-7, ivnrmc wrote:
http://book.cakephp.org/1.3/en/view/1390/Automagic-Form-Elements
You should really consider to go through this book for 1.3 ...
Hi, I've used the i18n shell before (with cake 1.3) and it worked for me.
Now on 2.0.4 and 2.0.6 it just won't generate the pot files.
No error messages, no strange logs, nothing. Any ideas? Thanks
ps. also posted this question
at
here's my shell ouput
MachineName:app username$ ./Console/cake i18n extract -v
--validation-domain validation
Welcome to CakePHP v2.0.4 Console
---
App : app
Path: /Users/username/Sites/project/app/
Renderelement was replaced with element()
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
26 matches
Mail list logo