Awesome you 2.<br>Thanks.<br><br><div class="gmail_quote">On Sun, May 22, 2011 at 5:56 PM, Shai Gluskin <span dir="ltr">&lt;<a href="mailto:shai@content2zero.com">shai@content2zero.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Tony,<div><br></div><div>You need to go to: admin/modules/list</div><div><br></div><div>and then turn on the module in the core optional modules section called, &quot;PHP Filter.&quot;</div><div><br></div><div>---</div>

<div><br></div><div>Of course I&#39;ve done exactly what you are doing... but FYI it isn&#39;t a best practice to use the PHP Filter; it would be better to create the block via a custom module so that your custom PHP is saved as part of the codebase and not in the database. Another reason is that it is dangerous to give users the power to insert PHP code.</div>

<div><br></div><div>But as a newbie, don&#39;t be hard on yourself, but make sure not to allow any other users to use the PHP filter.</div><div><br></div><div>And do note that a parse error in the PHP can bring down the whole site. So backup often!</div>

<div><br></div><div>Shai<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Sun, May 22, 2011 at 8:47 PM, tony maciejowski <span dir="ltr">&lt;<a href="mailto:tony@tony-mac.com" target="_blank">tony@tony-mac.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Dear All,<br>I am trying to create a custom block per Tomlinson&#39;s Beginning Drupal 7.0 on page 81.<br>He instructs one to go to Structure; Blocks; add new block. then further:<br>He says &quot; after entering the (PHP) code, change the Text format select list from Filtered HTML to PHP code&quot;. I only see options for <b>filtered HTML</b>; <b>Full HTML </b>or <b>Plain Text</b>. No &quot;PHP code&quot;. <br>


How come?<br><br>Thanks<br><font color="#888888">Tony<br>
</font><br></div></div>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>