SearchRecent posts
The Random ToolboxDrupal 7 Setting up variables for use in a template (preprocess and process functions) Rendering Drupal 7 fields (the right way) Linux Secure Copy (scp) command Restrict Free Shipping in Magento Quickbooks Text Connection Ticket Cross-Site Request Forgery (CSRF) jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave Monthly archive
|
Drupal 6 - Create a page.tpl for a ViewJust found a cool trick . . . On the view designer, click the Theme link in Basic Settings. You'll see some template file naming options depending on if you want to theme the whole view (e.g., views-view--example--page.tpl.php), each row (e.g., views-view-fields--example--page.tpl.php) and so on. Copy the appropriate template you want to customize from /sites/all/modules/views/theme to your theme and customize as you wish. Once you create your custom template file, you can go back to the view designer Theme link to make sure it is being used. Your template should be bolded. Hope this helps. So my path was http://www.domain.com/calendar/campus/1 making the template name page-calendar.tpl.php |