This site is not supported for Internet Explorer 6. It might look funny or even not function properly if you are using this browser.
You upgrade Flash as soon as they get a new version. Why not get an updated browser?
Try Firefox, Chrome or if you love and breath Microsoft than IE7.
This is a quick and super easy way to mimic the functionality of a content type in your Drupal install. On the site I'm working on we wanted to replicate functionality for two content types. Now the Drupal way would say to use the same content type and filter them with taxonomy or even a CCK field. In this instance the two content types currently offer the same functionality but there is reason to believe that in the future one will get a lot of changes or even a completely different layout then the other so it was decided to keep them separate.
Either way you decide to go this isn't about workflow. This is about how you can mimic the look of a content type without duplicating the code. To start we did duplicate the content type so all the CCK fields were implemented in content type #2. Once that was done we simply need to add a quick one line function to point the template for content type #2 back to #1.
In template.php add...
function theme_preprocess_node(&$vars) { if ($vars[type]=='ctype2') { $vars['template_files'][] = 'node-ctype1'; }
That's it. Simple and easy.
I'm so excited to watch
I'm so excited to watch football game! It really amaze me and it's so cool.Football's already back! The NFL Draft 2010 starts this Thursday night and continues through Saturday as all the rounds for the draft are conducted! Individuals are already setting the DVR's to record just what they'll be sitting in front of and watching anyway. Football fans across the nation will come together in front of living room TV's. Hey, if our families and friends are likely to find time to reunite over something, why not football? Right!
Add your comment