Custom urls for Drupal paths.

learn more… | top users | synonyms

0
votes
0answers
16 views

How to hide url path in block? [on hold]

Is there a way to hide a url path in a drupal block from displaying in source? I have red5 server installed and want to run some apps but hide the path rather than having to keep shutting down and ...
0
votes
0answers
15 views

Panel path based on menu path

is there a way to create a panel path, that includes my "menu path"? Something like that: www.foobar.de/menu-link-title-1/menu_link-title-2/my-panel Greetings Sebastian
0
votes
0answers
24 views

Calls wrong image file path

I have simple Image field, its file path is set to field/image so when you upload a file, its path is something like /sites/default/files/field/image/image.jpg. But when I create content and upload ...
0
votes
0answers
9 views

Drupal Path Setting differ when logged in or not

So when I am logged in I see site.com/node/xx when I am not logged in it is displayed as site.com/xx the way it should be. The strange is it only happened with my last added nodes of today!? I ran ...
0
votes
1answer
11 views

Specific content type shown in different places

I'm using Drupal 7 w/ pathauto. I have a single content type called "news". This content type has a field called "newstype". Two of the three "newstype"s ('event news' and 'company news') are visible ...
0
votes
1answer
18 views

Single site with multiple user interfaces based on path and role

I'm currently working on a Drupal project that requires 3 separate interfaces. Administrative users login to the site and all of the pages associated with their specific role start with a particular ...
1
vote
1answer
18 views

Follow up Drupal path to PHP function

How do I figure out which PHP function is called from a Drupal path/URL (e.g. "/mysite/?q=flag/flag/like/&destination=node/1&token=xyz")? Thx in advance!
0
votes
0answers
10 views

path from a view

What is the correct path to an image in my theme folder from a View. I'm trying to 'rewrite results' of a view to display an image, but can't come up with the correct path. If my image is located at ...
0
votes
1answer
38 views

how to add link to null path in menu in drupal 7

I have added superfish menu in menu bar in that one of the link have sub-link. How to add a sub-link with null path. Please help me. Thanks
0
votes
0answers
11 views

Wildcards and URLs

I am having problems with a sort of pattern matching or path parsing issue. If I have the following URL: http://www.mysite.com/sem-one-two/play I have an application that runs at /play, which is not ...
0
votes
1answer
36 views

Url adds zero at the end and duplicate contents appearing

Some of my contents have duplicate contents meaning it creates two path for the same content and I don't know how it track this and it adds zero(-0) at the end of the url like the below ...
0
votes
1answer
16 views

Customizing where to show block

Let's say I have nodes with the following paths: /chapters/university-of-florida/classrooms/class1 /chapters/university-of-chicago/classrooms/class2 /chapters/ucla/classrooms/cla I'd like to ...
0
votes
1answer
17 views

Forms - Clone form with different url + theme

I have a content type which can be created by admins and regular authenticated users. Now i would like to create a separate form url like /city/create for authenticated users instead of the standard ...
0
votes
2answers
140 views

Drupal 7 img src path issue

I created a block, in which an img with src="sites/mysite/files/imagename". It works every node, but failed loading in search page. Is this an issue of Search module? Drupal 7, I hope, has a uniform ...
1
vote
2answers
78 views

get current url path in drupal 8

How can I get current url with alias name of it ? I am now in drupal 7 I did it with drupal_get_path_alias() ,How can get current url alias(if alias set else url) of current url in Drupal 8?
1
vote
1answer
35 views

How do I dynamically change the $GLOBAL['base_path'] variable?

Example scenario: All authenticated users should see /members/ at the beginning of each URL path, and all anonymous users should see /guests/ at the beginning of each URL path. So if an anonymous ...
0
votes
4answers
59 views

How to build a url path from raw path and arguments?

In Drupal 7, from within a module, My goal is having a menu path (e.g. "/path/to/page/%/%/view/%") and an array of arguments (e.g. array('foo1', 'foo2', 'foo3')), be able to build the resulting path ...
2
votes
2answers
156 views

Programmatically create a node with alias and menu item using Entity API

I've seen the excellent documentation on Drupal.org about how to create a node in code, but that documentation doesn't address how to create the node's alias. I've seen code snippets that use ...
0
votes
0answers
72 views

Can't change the Public file system path

I want to change the public file system path on my Drupal 7 install. I go to admin/config/media/file-system and enter a new directory where it says "Public file system path". The new directory exists ...
0
votes
2answers
45 views

Wrong path with drupal.add.js

The problem occurs when a node alias consists of a backslash. My example: drupal_add_js(path_to_theme() . '/js/script.js', array( 'type' => 'external', 'scope' => 'footer', ...
2
votes
2answers
55 views

Is this the proper way to alter a path defined in code by another module?

I have installed the FAQ module on my site, and it defines the path to the FAQ page in code as 'faq-page'. I would like to make the path be 'mypath/faq' instead. I think I need to create a little ...
0
votes
1answer
26 views

How can I link a gallery made with views to another gallery made in views?

I am trying to do a gallery with a page of preview of the pics, I got how to do it with views and tags for the full size pictures and with image styles; I got the preview gallery (btw for this one I ...
0
votes
1answer
46 views

Find the custom module responsible for a URL

On a site I did not originally develop, I'm stuck having to fix display issues on an arbitrary page. Is there a way to locate the custom built module responsible or the source of a given URL path?
0
votes
0answers
206 views

Autocomplete text field's key events are not triggered and keydown or keyup function's aren't invoked in misc/autocomplete.js

I created an autocomplete textfield using Islandora form builder module. What it does is use an xml file to define form elements rather than the form array. So the xml text field element looks like ...
0
votes
0answers
11 views

change url_alias partially according to a pattern

How to change url_alias partially according to a pattern? We have site with reports to users. We continue to update the reports with new content node but the url_alias kept same. For example, ...
1
vote
0answers
75 views

Contextual Filter from a select list (Key|value) - Use value rather than key

I have a Content type called Article, under which I have an article type field, which is a select list/dropdown field. The options of the field is as follows: 0Editorials|Editorial 2Feature|Feature ...
-1
votes
0answers
15 views

how to refrence two link to one place in drupal [duplicate]

I want have a link with 2 difference address, as example node/40 and I want with the 2 address redirect to it, site.com/address1 site.com/blahblah/address2 is this possible in Drupal , if yes, ...
0
votes
4answers
81 views

Theme image broken link

I am recreating an existing website and part of the process is enabling a theme from the same existing site on my new version. The theme is called microsite and has an image located in ...
0
votes
1answer
30 views

What would be the Alias for this 'User Edit' page link?

Working on a User Dashboard (using the Workbench Module), I have a link in a Views Block which the user can click to 'edit' their details. The current link looks messy (as shown below) and I would ...
0
votes
0answers
32 views

Custom module path not found

I have a module that works fine on a LAMP stack, but I want to move my dev environment to Windows. For some reason, I keep getting a 404 file with this setup: function spower_menu() { $items = ...
0
votes
1answer
20 views

Drupal adds unneeded folder to urls

I've got the following problem: We've got a hosting with 2 domains applied (second domain (the drupal site) is pointing to a subfolder of the first domain): /data/user/www/ < php-docroot ...
0
votes
0answers
72 views

Space at end of URL still resolves, but url-specific blocks do not appear. Why?

A newsletter went out with a link in a banner containing an errant space at the end: <a href=“http://www.mysite.com/my-landing-page “> Depending on the browser, the URL was either encoded ...
0
votes
2answers
190 views

Redirect logged in (authenticated) users to a different frontpage using rules or php code

I need to always redirect authenticated users to a different page (to serve as their own frontpage) whenever they try to access the default (anonymous) frontpage. I want to achieve this using rules or ...
2
votes
1answer
28 views

How can I disable a path from a view?

I have some views I want to keep, and maybe use in the future. currently I am not using them and want to disable the path, or leave it as "No path is set". but all the I'm I am getting the following ...
0
votes
3answers
128 views

how to block internal Drupal paths for anonymous users?

Is it possible to block internal Drupal paths for anonymous users and leave only paths generated by pathauto? For example: block path: /taxonomy/term/5 leave path: /products/books In google ...
0
votes
0answers
47 views

URL path to view with certain filters selected is altered by Drupal when used as a menu link

I have a view with different filter options. I need to create some links to the view that will automatically select certain filters simply by following the link. If I copy the url created on the ...
0
votes
0answers
46 views

Translate view path with arguments

I've to translate a view path, but my view has arguments. I've tried to do it with Pathauto, on path admin/config/search/path/add, but if I try to create alias from "views/%" to "vista/%" it tells me ...
0
votes
3answers
86 views

How to define path in anchor tag in blocks?

I'm working on localhost server and I added an anchor tag like below in block. <a href="contactus">Contact</a> In front page it goes to the path directly, but if it is other than front ...
1
vote
1answer
56 views

path to node edit page

I am using js injector to add script to my drupal website. But the script is also loading on the admin pages and node edit pages. I have selected the option Add tracking to specific pages Every ...
0
votes
2answers
59 views

my page.tpl.php overrides path of page display of views

I created a view and a page display of it. I set a path for it. this is its path http://localhost/myProject/library but when I copy and paste this url in address bar, it just displays my ...
0
votes
0answers
17 views

Panels 2 Page Path matching too many variants

I have a Panel Page set up to match a simple, static path: "challenges". However, it appears that "/challenges/*" is also matching as I can put anything after that slash and it will return my Panel ...
0
votes
1answer
27 views

test abitrary url against current page

I need to test a series of links to see if any of them match the page that is being processed. I'm having trouble finding a solution that will match all possible pages (a node, a view page, a page ...
0
votes
0answers
125 views

images don't show up in CKFinder

I have Path to uploaded files in CKFinder configured to %b%f/ and Absolute path to uploaded files to %d%b%f/ and if i check in my ftp client, there's a whole bunch of files under /sites/default/files ...
0
votes
0answers
61 views

Drupal 6 image path still goes to root in a subfolder install

My company took over a Drupal 6 site. When I put it on our development server in a subfolder, the image path broke. Should be: devsite.com/client/sites/default/files/image-name.png But they still ...
0
votes
0answers
14 views

“[path]” == Content: Path equivalent as link

I want to add a path breadcrumb to my page. The problem is, the breadcrumb doesn't seem to recognize the "[path] == Content: Path". Is there another equivalent for this so that I could attach a link ...
0
votes
1answer
111 views

I see all aliases besides the home page alias (At URL bar)

Why is that? I mean, why when I click the home page link at main menu, it is only the site's URL (www.example.com), and not the exact URL of the home page (www.example.com/Decorations-for-all-houses) ...
0
votes
1answer
101 views

url of custom theme not showing up with page.tpl

I've a custom theme. page.tpl has the html markup for my template. And I created some paths like 'about-us', 'terms' via my custom module. Now, my problem is when I access the above defined paths. ...
0
votes
1answer
88 views

Pathauto and taxonomy

In D7, I use the default taxonomy view (with default path: /taxonomy/term/%) to display videos that have been categorized at the time of their upload. The viewer has access to an exposed filter that ...
0
votes
0answers
30 views

Views path registry problem

I am getting trouble with views path registering.. So, I created custom entity message system (mimic of PrivateMessage module) which allows users write messages to another users (it also allows ...
0
votes
0answers
82 views

Create a Custom URL for a Page Displaying a User's Content

Using custom fields on the user registration page, users are able to fill out a field for their name. Using pathauto, the following patterns have been created: User Path: ...