[development] Drupal 5 Themer Pack::Sympal Theme
Addi Berry
addi at rocktreesky.com
Mon Jan 22 13:45:20 UTC 2007
Hi Jason,
I was looking at it as well. The error is due to form_render being
changed to drupal_render in 5. Ber has fixed it in the HEAD
version. Here is the CVS search_form.tpl.php:
http://cvs.drupal.org/viewcvs/drupal/contributions/themes/
sympal_theme/search_form.tpl.php?rev=1.2&view=markup
Addi Berry
240-274-0875
http://rocktreesky.com
On Jan 22, 2007, at 7:10 AM, jason at jayro.net wrote:
> Hey Bèr,
>
>> <a href="http://drupal.org/project/sympal_theme">Sympal Theme</a>
>> is exactly
>> what you want to make. The only difference? it already exists!
>
> I just wanted to give it a try out, and got an error pointing me to
> the first line of "search_form.tpl.php".
>
> It has this:
> <code>
> print form_render($form);
> </code>
>
> Which I had to change to the following to get it to work:
> <code>
> print search_box;
> </code>
>
> I'm still pretty new to Drupal, is this an error, old code, or a
> function still to be defined?
>
> Bright Regards
> JasonMR
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070122/4db0efc0/attachment.htm
More information about the development
mailing list