Quick theming a View with node types-tricks

Leave a comment

if your theme folder contains node.tpl.php you don’t care the rest of the article else

if you have problems to find the template page with name node-view-viewname.tpl.php,because  the theme system need base node.tpl.php  template for overriding.
heck this link for theming a view with node type:-http://kfalck.net/2008/11/28/drupal-node-view-xtplphp-requires-nodetplphp

Strange behaviour of drupal 6 triggers and CCK default values

Leave a comment

One of my drupal experience is to developing an application for a client.So i want to change the default behaviour of drupal after saving the post.I created a trigger which triggers after saving the post to Redirect the admin/content/node Url.But the bad behaviour is starts there.The application dont save default values,but after editing and save it saves the values.So i used a hook_nodeapi to get the values from submitted form and try to save it.But ‘mymodule_nodeapi’ not fires at all.Before that it redirect to the ‘triggered Url’.After many hours of  research, trial,  i found the redirect nature and Un assign the Trigger .Now it works perfectly.

Buti am not 100% sure if it only related to that trigger or some thing related to configuration of trigger.

i will update my further finding and experience of drupal as application frame work in future