Drupal 7.57 was succesfully installed in a subdirectory of the webroot. It works properly and I'm very impressed by Drupals abilities.
The option clean URLs is enabled and all URLs contain the /subdir prefix. My aim is to maintain the installation in the subdirectory, but remove the /subdir part from all the URLs. How can I do that?
I'm working on someones existing module and I've made a function that returns an array of data. I'd like that data to be sent to the .tpl file so it can be rendered on the front end.
How exactly do I do this?
I have a `hook_theme()` set up, but then what? How do I get the data from my array, to the hook_theme to be used on the .tpl file?
On the website I'm working on, pages are housed in sections and subsections based on the taxonomy selected. For example, if I have two vocabulary and terms under each vocabulary -
Fruits
- Sweet
- Sour
- Mild
Vegetables
- Root
- Leafy
- Marrow
Fuits and Vegetables are the main sections and terms under each vocabulary are the subsections. Each section and subsection have their own landing page.
Both vocabulary are in a Field Collection item along with an "on/off Highlighted" checkbox (more on this later).
Can anyone help me resolve this error so I do not have to reinstall the entire lms from scratch for the third time?
This problem keeps coming up in connection with a ctools update that seems to conflict with the original module embedded in the Opigno_LMS profile. I am having trouble identifying exactly what the problems is, i.e. which line despite the error code and info, cause both files look almost identical to me.
I just copy my whole drupal7site to another folder for testing, then I got this error message :
Warning: file_put_contents(temporary://fileWWGp0e): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1936 of /home/xxxxx/xxxxxx/includes/file.inc).
Can anyone tell me what's wrong with this ? Thank you