Using drupals php imput for block Visibility settings .. "Show if the following PHP code returns TRUE (PHP-mode, experts only)." ... what this means is that you can use php to show the block ...well dahhhhhhh.

Well you seen the news with drupal 8 the way we theme is going to be different using twig

this is a basic play with twig in Drupal8 ,

Ok to play you need drupal 8 ! that is for starters so just git it.

You will also want to add admin/config/development/performance
To your shortcuts or open in another tab. as drupal 8 theme settings ~right now anyway~ do not have the rebuild theme cache on every page , which sucks because when you make a change to the template you need to clear the sites cache to see if things worked out.

Some tims you want to make a webform in a pop up shadow box or light box ...well that is cool here is how you set that up:1) Make the drupal webform the normal way and note the page id :2) Copy your page-node.tpl.php and change it to page-node-YOURID.tpl.php (example page-node-38.tpl.php3) in your themes template.php add this function so you can template pages by id: (change "themename" to your themes name)

This is hands down the easiest way you can redirect (drupal) users to a different url after log in: make a folder called "customredirect" inside it male a "customredirect.info" file and a customredirect.module file contents of customredirect.info

ok so you are making a content type and you want to add a text field (or any type) and you set it all up then bang it hits you you need some extra validation on that field no big deal ! you need the field name ..."Machine name" (see admin/structure/types/manage/TYPE/fields) and the form id (create content ..the type with your field view sourse ..lookfor form_id) then you can module it up !

so you want to use drupal to render a form but submit that data to a custom table you defind or other database on your server* in my case i had a custom created table called `user` but my main drupal database was using a prefix ... so all my querys were failing if your database does not have a prefix then skip ahead :