I was backing up a client's site using Filezilla. I viewed the index.php to insure I was in the proper directory, I also viewed includes/sites/all. To my knowledge I edited, and saved nothing.
Now the site loads with the following error.
Fatal error: Call to undefined function node_load() in /data/23/2/124/136/2287462/user/2513700/htdocs/includes/menu.inc on line 593
I would like to allow users to add more than one file to a content type, including a text description field.
I can set the maximum number of files with
Structure > Content Types > type?? > Edit > Manage Fields > Image > Edit > Number OF Values
How can I enable additional text fields for each image or file uploads like:
Label Machine name Field type Widget
Document field_document File File
Image field_image image image
Would appreciate it if someone could let me know how to print a block in node.tpl.php. I basically have a block created through a view and I haven't set a region for that block as I would like to do is display this block in a specific position in all my node pages. I tried rendering the block in my custom theme's template file in the mytheme_preprocess_node function and then printing it in my node.tpl.php file. However, that is not working for me. Is it too late to render a block in the preprocess_node function?
Not sure whether to post this here or in the module upgrade section.
I've made a few sites with Drupal, but have not done a lot under the hood. I am need of modifying a module (php) in the sites folder. No problem, I know what I need to do to make it work. My question is that I have read stay out of the core, but changes in site are okay. Stupid question, if a module needs updating, are my changes at risk of being overwritten? I have had the luxury of simply updating modules. Will I need to start engaging in version control?