hi

the first argument of dayOptionTag (as all html helper form elements
but the <file>) is expected to be a "Model/field" pair
you actually need that "/" somewhere, because at a certain moment this
string is parsed and probably split("/") in order to get each part
("model" and "field")... if there is one part missing, it will
complain.
it should be "Network_Summary/created" or "Network_Summary/modified"
or whatever date field you have in your model...

++++++
clemos

On 1/16/07, mindcharger <[EMAIL PROTECTED]> wrote:

Hello!

I'm getting a weird error with dayOptionTag function from the
html-helper.

I have a thtml on the appropriate path with the following content:

<table>
 <tr>
  <td colspan="3">
   <?php echo $html->dayOptionTag('Network_Summary', null, null, null,
null, false); ?>
  </td>
 </tr>
</table>

And I get two errors of the following type:

Notice: Undefined offset: 1 in C:\cake\libs\view\helpers\html.php on
line 570

I can see the select box, but these errors are annoying. I noticed that
the API is inconsistent since the method's signature has 6 parameters
but only 5 are described below. Nevertheless, I tried to use

  <?php echo $html->dayOptionTag('Network_Summary', null, null, null,
false); ?>

...as well, but it gave the same result.

Can someone please help me with this one?

Thanks a lot!


>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to