> I think there is a lesson the be learned there.
Indeed. Use CSS :-)
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 grou
I just tried the example Paul gave and got it working right. The problem was
I just making a mess out of the arrays and getting lost in them ... there's
a good handful there. I was also going about it a bit differently and my
code wasn't quite as structured as yours I think there is a lesson t
I always use tableCells when I output a table. The way I think of it is:
1. Outer array contains all the rows
2. Each secondary array contains each row
3. Each element contains each cell
4. The element can be an array that contains options for the cell
$html->tableCells(
array(
Hi Ed,
This is the example in the book that shows how to do it:
echo $html->tableCells(array(
array('Jul 7th, 2007', array('Best Brownies',
array('class'=>'highlight')) , 'Yes'),
array('Jun 21st, 2007', 'Smart Cookies', 'Yes'),
array('Aug 1st, 2006', 'Anti-Java Cake', array('No',
array('id'
You don't think I'm misunderstanding what the book says or you don't think
the book gives you impression it can be done?
On Thu, Apr 15, 2010 at 5:12 AM, Lucca Mordente wrote:
> I don't think so
>
> On 14 abr, 18:00, Ed Propsner wrote:
> > In all honesty it's easier to write out the html tags ..
I don't think so
On 14 abr, 18:00, Ed Propsner wrote:
> In all honesty it's easier to write out the html tags ... I was just playing
> around it. Am I reading it wrong or does the book give you the impression
> that it can be
> done?http://book.cakephp.org/view/1435/Inserting-Well-Formatted-elem
In all honesty it's easier to write out the html tags ... I was just playing
around it. Am I reading it wrong or does the book give you the impression
that it can be done?
http://book.cakephp.org/view/1435/Inserting-Well-Formatted-elements
On Wed, Apr 14, 2010 at 4:13 PM, Lucca Mordente wrote:
>
Hi Ed,
Probably you can achieve what you want using css.
It seems that isn't possible to add attributes using this html helper
method.
Lucca Mordente
On 14 abr, 16:57, Ed Propsner wrote:
> Looking at the section in the book for $html->tableCells it says ...
> "Wrap a single table cell within an
Hi!
echo $html->tableCells(array(array(
array("some
text.",
"colspan='6'")
)
)