I'm creating a distribution, but i can not use any drupal functions in the file ".profile". Sepcifically I can not use theme('table',$variables);

Is there any way to use all theme functions in .profile? the same way that modules can be used in

I us "include_once DRUPAL_ROOT .'/includes/theme.inc';" but it gives me an error "Class 'SelectQueryExtender' not found"

Comments

sbanerjee.302’s picture

You can try the theme function in the "Profile tasks" section or the 2 sections later to that (via hook_install_tasks_alter()) of your installation profile.

Hope you find that useful.