Questions tagged [uri]

A "Uniform Resource Idendifier" identifies a resource on a network.

Filter by
Sorted by
Tagged with
2
votes
2answers
915 views

How do I create a dynamic link for a block?

I have two dynamic links that I want to put in a block, e.g. http://domain.com/series/naruto/addreview ("series" is the content type, and "naruto" is the node title), http://domain.com/node/add/album/...
2
votes
2answers
1k views

Views, path problem

My view path is: bartender/profiles/friends/% In View UI if I provide argument everything works ok. But in real when I go to ex. site.com/bartender/profiles/friends/20 I get a page from site.com/...
1
vote
1answer
613 views

How to use Devel module to see what creates an URL?

I want to know what creates an URL of a site for example a view,panel etc. Which command should I write on the Devel module on "Execute php" ? Thanks
4
votes
2answers
162 views

Prevent “→” from being written in URL alias

When the post title contains "→," it will be written in the URL alias. When using Boost, an URL containing "→" will not be well cached; visitors will see the uncached node. How do I prevent the "→" ...
1
vote
1answer
158 views

Force redirect if a valid taxonomy term is not at the start of the URL?

As a follow on from this question I am trying to prepend all URLs on the site with a taxonomy term. The term itself is handled by a custom module for the most part, however elements of the site such ...
2
votes
3answers
339 views

Views: List of recent months containing nodes

Using Drupal 7, views 7.x-3.0-beta3. I am trying to make a display containing a list of links which direct users to an archive page containing posts of that month (eg. all news messages posted in ...
0
votes
2answers
176 views

How to detect if a user is in a specific directory/accessing a specific path?

For example I need to know if a user is in this directory http://example.com/directory; the value should return true if the use is on any of the following pages: http://example.com/directory/cars ...
2
votes
1answer
421 views

Having username as a path - Profiles 2 and Pathauto

I have a problem with integrating the Pathauto and Profiles modules. Basically, I would like to have the username as URL, e.g. example.com/username. This should link to the profile page (not the ...
2
votes
2answers
2k views

Redirecting a URL

I'm facing the following challenge: I am setting up a homepage for our science department using OpenScholar, which is based on Drupal 6. From what I understand, it uses vsites so that many users can ...
1
vote
2answers
2k views

Redirect node type to a view

I have created a view that lists all the nodes of a certain type. If you go to view the node on it's own page I would like it to forward to my view. I tried doing this using rules but as I display the ...
2
votes
1answer
572 views

Getting Views to use custom aliases

I have the following custom URL aliases that point to specific Views paths: /california/los-angeles maps to /locations/los-angeles /username/listing/post maps to /item/post Views still uses the ...
4
votes
1answer
968 views

How to convert image URLs in Drupal node's fields while rendering?

I have developed a new CCK module using Plupload where users can drag and upload images using native HTML5 apis. Since, I do not know how to drag images directly inside CKEditor, what I am doing is ...
2
votes
1answer
329 views

How to make Drupal 6 search result URL have “.html” at the end?

I want the search result URL become http://www.site.com/search/node/Search for something.html http://www.site.com/search/node/cars.html I've looked into custom_url_rewrite_outbound() but there is ...
1
vote
2answers
725 views

How to make Drupal 6 search result URL use “-” instead of space?

Example of Drupal 6 search result URL is like this: http://www.site.com/search/node/Search for something How to make Drupal 6 search result URL use - instead of space? (below is an example): http://...
10
votes
8answers
26k views

How to detect the current URL?

I would like to add a body class in D6 if you are on a specific page(s) currently in my template.php I have: if url('the/path') { add the body class... } but that function doesn't seem to be ...
38
votes
9answers
44k views

How do I change a theme based on the URL?

I have a Drupal instance running on example.org. Which has a theme X installed and activated. Now for a limited period an event is supposed to be held on the site for which a special section has been "...
8
votes
1answer
8k views

What is the URL to set the admin theme?

The URL to change the admin theme isn't the same in Drupal 7 compared to 6. What is the new URL?
3
votes
2answers
3k views

Force all links to be absolute

I've a custom module I'm sending the content of node and views by email. The module first render the node/view and wrap the results around common template. But when my views and node content are ...
2
votes
3answers
5k views

Base url issues and subdirectories

I have a drupal site at http://example.com and a development version of the same site at http://another.example.com/subdir. When I'm working on the development version, content that references /sites/...

1
19 20 21 22
23