The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
20 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
4answers
44 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 ...
1
vote
1answer
28 views

Problem with Multiple drupal installations custom theme

I have installed multiple drupal in my hosting site. I have created individual database, user name and password for multiple drupal installation. I have created folder ...
0
votes
2answers
220 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
25 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
86 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
76 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
72 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
26 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
55 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 ...
3
votes
2answers
880 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
38 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?
0
votes
1answer
287 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 ...
0
votes
1answer
810 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
215 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
202 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
66 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
732 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
82 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
656 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 ...
1
vote
2answers
502 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
269 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
72 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
1answer
801 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 ...
11
votes
4answers
4k 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
524 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?