Custom Database Table
/themes/custom/zyxpro_light/images/placeholder.png
close

on 05th December 2012 / by dileep.kumar
We were faced with a situation in one of our clients Drupal sites where we had to add View relationships programmatically with custom database tables. The site was running on Drupal 7. If you are faced with the same situation in your Drupal website and want to know how to add View relationships programmatically with custom database tables in Drupal 7 then read on to know the solution. Drupal Technical View Custom Database Table Drupal 7 Leave a reply Your email address will not be published. Required fields are marked * DG-COM (not verified) access_time 28 Nov 2020 - 13:37 I`ve list whole week trying to find out how to manage it. Great job. Thank you. Add new comment
/themes/custom/zyxpro_light/images/placeholder.png
close

on 24th January 2012 / by webmaster
By default Drupal 7 has two types of views - The Full node view and the Teaser view. This has been the case for all previous versions of Drupal. However if your requirements are different, then you might have to create a custom view that is tailored to meet your specific needs. Check out how to create a simple custom “View mode” for nodes in Drupal 7. Drupal Technical View Custom Database Table Drupal 7 Leave a reply Your email address will not be published. Required fields are marked * uk (not verified) access_time 28 Nov 2020 - 13:37 Hi, It would be good if you rename the preprocess function tdbcustom_preprocess_node to CustomModule_preprocess_node Thanks, UK. webmaster access_time 28 Nov 2020 - 13:37 In reply to Hi,It would be good if you by uk (not verified) Thanks for the suggestion. Corrected the module name in the sample code. Add new comment