The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
29 views

Should the Drupal 8 sites/default/files/config folder be stored in git with its hash suffix?

New question title: "Should the sites/default/files/config folder be stored in git with it's hash suffix?" " Reason I ask this is that this might cause 2 issues: May be a hindrance when comparing ...
0
votes
1answer
39 views

Backup_Migrate Module able to Create Backups but NOT Restore them

Using Drupal 7.37, Omega4-SubTheme Acquia Dev-Desktop Stack (Development) Windows 7 HP Using Backup_Migrate-3.1. I set up my Backup and Migrate settings to back up my entire website-code and the ...
3
votes
2answers
69 views

Duplicate .module file

I have no used Drupal before and have been thrown a project to fix up some things. But getting stuck in I noticed the file I need to edit lives in two places. one in includes/jobs.module and the ...
0
votes
1answer
38 views

How to move my site files outside the Drupal folder on local computer?

I like the Windows file structure that keeps program files separate from my data files. This allows me to organize my stuff logically by content and makes it easy to do regular backups of all of my ...
1
vote
0answers
15 views

Drupal 7 - Change of Files/Image location to a new organized structure

I would like to clean up savely the exstising files Drupal 7 structure and change the location of my exsisting Files/Image to a new organized structure e.g. in files/content-type/year/node-id Would ...
2
votes
0answers
54 views

Some fields are not sorting properly in view

I'm trying to create a directory list in view. But some of the fields are not properly sorting. See the below image for my view configuration. And the output of the view. Update: Style setting ...
0
votes
2answers
97 views

how do you restrict directory path to role?

How would you go about restricting a specific directory path to a role? www.example.com/example1/example3/example4 How do you restrict role access to the directory example1 so that example3 and 4 ...
0
votes
3answers
184 views

How to add link to my module in the Structure admin page

I would like to add a link to my module in the Structure admin page. I already use a hook_menu for turn in my module accessible but how can I add a link in the "structure" admin section ? function ...
0
votes
2answers
956 views

How can I create internal links on a Drupal site?

Can someone please explain how site internal links work in Drupal? What is the most reliable way to display a link so that it goes to the same location every time? I'm working on a preliminary ...
0
votes
1answer
37 views

Unknown directories /pipermail /poll accessible in Drupal 7

My Drupal 7 install, has the Simplenews and Polls modules enabled, but Simplenews is set to subscribe registered members only, and Polls are only open to authenticated users. Yet, the ...
2
votes
2answers
132 views

How do I clean cached paths to modules?

I foolishly did this, when updating a module: # cd /var/www/drupal7/modules # mv MODULE MODULE.old # wget <MODULE_URL> -O - | tar xfvz - After refreshing the module list, I still get the old ...
0
votes
1answer
111 views

Public:// doesn't work

I am trying to code as follows: $uri='public://admin/myfile.txt'; but if (file_exists($uri)) fails the complete path ...
0
votes
1answer
84 views

Non-core folders [closed]

Unfortunately I inherited a directory structure that has additional non-core directories and files in the site root like so: includes/ misc/ modules/ profiles/ scripts/ ...
0
votes
0answers
27 views

Determine the location of the snippet to be removed [duplicate]

I am absolutely unfamiliar with Drupal, but have a task of removing a snippet of code from one of its pages. The snippet in question had been determined by Google Wabmaster tools to be malware, and ...
0
votes
1answer
67 views

Two database? One for user & content the other for structure?

For site builders like me who do not do much programing but theming of existing modules and functions. Since those items such as views, panels, user badges, rules, points e.g. are written into the ...
5
votes
3answers
1k views

File structure for custom modules in Drupal 7

I want to organize non-core (modules that are not bundled with core) modules in Drupal 7. This is my proposed structure: Contributed modules - downloaded modules that are untouched Custom modules - ...
0
votes
1answer
40 views

Can I use custom name for theme directory?

I'm developing site using Drupal 7. I want to give a custom name for the themes directory. Is it possible with Drupal?
14
votes
2answers
2k views

What are all the directories for in the new Drupal 8 structure?

Drupal 8 re-arranged all the directories and locations of modules/themes etc. Where do things go now?
0
votes
1answer
362 views

Why does the files directory ignore system wide umask? [closed]

I have a Debian test system running Nginx and PHP-FPM, and have set a system wide umask of 027 which translates to default permissions of U=RWX G=RX O= for directors and U=RWX G=R O= for new folders ...
1
vote
1answer
1k views

Webform, creating customized directories for uploaded files

Newbie and my first question on here. I'm still learning Drupal. So apologies if I missed anything Here is my issue I am using Webform to create an upload page. The user enters an ID(text field) and ...
2
votes
1answer
263 views

create directory with node

I am interested in making a 'physical' folder structure to match a hierarchy I create through content types. My hierarchy currently exists in the format -Container --folder ---presentation and I ...
0
votes
1answer
297 views

NFS Directories between 2 Servers

I have 2 parallel Drupal Web Servers running (serving for one Drupal Instance together) and now i need to install NFS. My experience in multi Drupal Servers is, each Drupal Instance (Server) uses ...
1
vote
0answers
76 views

Have all internal links in drupal leave out subdirectory where docroot resides

I've successfully followed some instructions online to get our plain url to direct to the content found in a subfolder (drupaldev) so that when you enter any url for that site even without the ...
0
votes
2answers
989 views

drupal 7 lack of understandig location of bartik's color.css

I liked to change some css color styles. I created my own css file and let bartik theme (my enabled theme) know this in its info file. But no changes took effect. Then i realized, that there are two ...
1
vote
1answer
84 views

Change Drupal URL

I use cpanel and ftp (filezila) I don't know much about drupal. I believe i am using v.6 I have an old website made in drupal: www.oldwebsite.com I don't want to delete my oldwebsite but change to ...
3
votes
1answer
770 views

How does Drupal handle non Drupal sub directories?

I have a question about how Drupal handles requests made to subdirectories of the Drupal root that aren't under Drupal control. What I mean is lets say I have a Site directory as such: My main site ...
2
votes
2answers
699 views

Get directories & files of a theme in module

How can I scan a directory and its files from a module? Is there any permission issue? I have to apply some logic based on the folder structure in the active theme. When I use the below code, its ...
0
votes
2answers
289 views

Move CSS and JS cache folder

I want to move the CSS and JS cache folders (sites/default/files/css and sites/default/files/js to another place. Is this possible? I want to do this because I'm planning to have the files folder on ...
1
vote
1answer
77 views

Should separate Drupal installations have separate temporary directories?

Assuming one installs several Drupal sites on the same server (i.e., with multiple top-level directories, not multiple sites under a single top-level directory), can these installations share the same ...
1
vote
2answers
967 views

Virtual Directory for “sites” folder in IIS 7

I am running Drupal 7 on a Windows using IIS 7.5. This is not something I can change and is required by my company. Everything has been running great which is awesome. I would like to setup the ...
2
votes
2answers
3k views

How to reorganize drupal sites/all/modules structure without symbolic links?

Context: As the number of modules used increases, I try to reorganize modules in /*/sites/all into sites/all/modules/contrib sites/all/modules/custom sites/all/modules/dev subfolders as it is ...
13
votes
4answers
5k views

Is there anywhere a good writeup on Drupal directory structure?

I wonder if there is a good writeup on Drupal directory structure?
0
votes
1answer
609 views

How to override a module in sites/all/modules directory?

Is there an easy way to override a module located in sites/all/modules directory? Like placing it's customized version into modules/ directory or create one under sites/default/modules?