Tagged Questions

A hyperlink or link is a reference to data that the reader can directly follow, or that is followed automatically.

learn more… | top users | synonyms

0
votes
1answer
21 views

https link in a block is changed to http

I have a drupal site which is behind a proxy. for example: http://sites.example.com/site I have added a block in the sidebar of the site which has a link to https://sites.example.com/site/page I ...
0
votes
0answers
8 views

Links in sidebar to link to search results

I have a view in sidebar showing a taxonomy Category. There is a view on /search-page that displays search using Search API view and exposed filters. I want the sidebar Categories to link to the ...
3
votes
0answers
40 views

Using Views Slideshow to display images with specific url links

I'm new to Drupal and I'm using version 7. I have created a Banner content type, to which I have added an Image field and a Link field (using the Link module). I have allowed theupload of multiple ...
0
votes
0answers
18 views

Links stopped working for logged in admin user

Please help me with this urgent problem: after some modifications all links on my site stopped working. I can hover them and see the url, but on click nothing happens. No WSOD, no error page, just no ...
0
votes
1answer
19 views

Remove link from active page in menu

I need the active page in my menu not to be a link. So let's say I'm on the services page, I need my menu structure to look like this: <ul class="menu"> <li class="first leaf"><a ...
0
votes
1answer
20 views

flex slider with unique links and no links

I have a flex banner that displays images from a content type I have created for the banner. In my banner view I can only link the image to the original image, the banner page or nothing. My goal is ...
1
vote
1answer
19 views

Lightbox2 doesn't open html content and links

I installed Lightbox2 module and I tried to link an image to a webpage, say google.com, this is my code <a href="https://www.google.com/" rel="lightframe[][This is Google]"><img ...
-2
votes
1answer
26 views

Link node/teaser to view [closed]

could anyone tell me how to link a node/teaser to a view? I have an overview page to give a list of all models available (done with view and one content type) and from there I want to send the ...
0
votes
1answer
13 views

Link in main menu does not point to specified path

I'm trying to add a link to my site's about page to the main menu as an "About" link. I have configured it in the following manner: Menu link title: About Path: node/2 Description: (none) Enabled: ...
0
votes
2answers
26 views

How to give href links in custom modules for multilingual site?

I've created a custom module,having a href links like follows. Let's say the following link appears on example.com/somepage/another-page/nid t('<p><a class="stn" href="/my-page">Back to ...
1
vote
1answer
36 views

Why does “my blog” menu link disappear when I use a view with the path blog/%?

When I create a view with the path blog/%, the menu link "My blog" disappear from the main menu but still exists in the database. The view works exactly as expected when I go to /blogs and click the ...
0
votes
0answers
15 views

Fill a field with a specific number when clicking on a link

I have changed my node.tpl.php file a little bit, <div class="content clearfix"<?php print $content_attributes; ?>> <?php // We hide the comments and links now so that we can ...
0
votes
2answers
30 views

Link tags in template file auto closing.

I’m having an issue wrapping a link around some output in a template file. I have the right template file; and I can put text like ‘start here’ and ‘end here’ and it prints out where I want the ‘a ...
0
votes
1answer
10 views

how to create a link field which validates to a set of nodes?

Is there a way to set the Validation for a Link field so that authors are only allowed to link to a pre-determined certain set of nodes? IOW: when authors add a link field to a Node I want them to be ...
0
votes
0answers
21 views

Alter all user profile link

I am using Drupal commons distribution for a community site. The site has many private groups. When a user is browsing a private group and they click on a profile link (or user picture linking to ...
0
votes
0answers
9 views

Hide views row on referenced node

I have a content type called call-to-action box, which has fields: Title, Body, Image, Link which allows the user to create some boxes which is shown in the sidebar, and links to a the page given in ...
0
votes
0answers
12 views

How to use affiliate attribute in views?

We have a website for generating views and we want to create affiliates for it. If we examine affiliate module, we see that, it's only for paying clicks. We need to create a view to show affiliates ...
1
vote
1answer
55 views

How do I add classes to read-more link and add-comment link on node for bootstrap 3 [closed]

Witch preprocess function let me add btn classes from bootstrap 3 to the two links at the bottom of every teaser in Drupal 7? I tried the following. function meetu_preprocess_node(&$variables) ...
1
vote
1answer
21 views

Possible cause of the one time login link sent via e-mail to be broken?

edit: it appears to be a bug, reported here https://www.drupal.org/node/2329723 When I, as the Admin, add a new user and let Drupal notify him via mail, the one-time login link is broken: ...
0
votes
3answers
67 views

How to find url of content-type?

I am new in Drupal I have an article website, and it has some category like History, Sport, Graphic, Music and etc. But when I add some content-type for each of these and when I visit that post, I ...
1
vote
2answers
29 views

Send out a unique (unprotected) link per user

I'm the admin of a Drupal site with 200+ users. I sort of rolled into this, so I'm no Drupal expert, although I've managed to understand it quite good now. This is a site for our sportsclub and we ...
0
votes
1answer
56 views

explicit “switch to mobile theme” link with Theme Key

I'm using Theme Key https://www.drupal.org/project/themekey to switch automatically between themes dependent on browser and/or OS id. Now I would like to allow the user to explicitly switch to or ...
0
votes
1answer
67 views

Add a popup text link to a specific “create content” page

I've looked everywhere and can't find an answer to my problem. I'm trying to do something that seems like it would be relatively simple, but I keep coming up empty: add a pop-up text link to the ...
0
votes
1answer
40 views

Creating a view with a dynamic link from taxonomy term

Trying to create a view block with a list of five links Event Details (dynamic) Cause (dyanmic) Sponsors (statis) Volunteer (static) Register (static) Dynamic url will look like this: ...
1
vote
2answers
21 views

How to disable links for anonymous users for SOME, but not all link items?

The link issue here is video links, which are for brightcove.com hosted videos. Now some important background: The site is a directory of company-produced videos. It requires login in order to ...
0
votes
1answer
30 views

How can I get Panelizer to link my panels to a specific URL instead of the Content option?

This is the page that is shown when I configure a panel. How do I link the image to some other page than the content page? I am using Drupal 7. I think this question would benefit others who wish to ...
0
votes
1answer
63 views

Schema.org itemprop=“url” inside anchor object (link)

I'm trying to use the preprocess function to change the default outpot of links <a href> to include Schema.org's itemprop="url" inside the anchor object, as well as adding a <span ...
1
vote
0answers
40 views

How to apply Strikethrough text for broken link(s) in Drupal 7

Lets say I've created an article page. which consists several paragraphs (like in Wikipedia). The paragraphs may contains links to external pages. I would like to validate the external links while ...
1
vote
1answer
122 views

How to add “rel=nofollow” to ALL external links?

How to add "rel=nofollow" attribute to ALL external links....in Drupal 7? So far I can find only with different filters and what not.... Before I was working with Joomla - I had a single plugin ...
0
votes
0answers
13 views

Links w/ drupal, why is it embedded like this?

http://i.gyazo.com/8d731c8e3154a9d70a56cac28581693e.png I am wondering why the link is embedded and blue. I cannot replicate this effect or remove it. If I click on the link it takes me to the ...
0
votes
1answer
147 views

How to parse current page URL query parameters to create link using l() function

I have a view in D7 with a few exposed filters. This view generates a URL/page like this: example.com/node?location=XXX&check-in=XXX&check-out=XXX&lang=XXX. I am looking to build a link ...
1
vote
1answer
38 views

Tracking clicks on each link separately

I have create a website that, on the same page, will offer several links to the exact same section (node). For example the link to the "Contact us" node appears 3 different times (in 3 different ...
-1
votes
2answers
225 views

Open node (internal link) in new tab

Please, have in mind that I don't necessarily agree with the way I have to do things. I know it is not always recommanded and I don't want to launch a debate. Thank you. How can I configure ...
0
votes
1answer
177 views

drupal_goto in new tab

Shortly: How can I open a drupal_goto() result in a new tab? More details: I've got a list of news, made with Views, that can be imported from a RSS feed (big custom module, very complicated, etc, ...
0
votes
2answers
110 views

Disable a 'enter/return' key function in a form

I have a form in which a user needs to fill the fields. As only two fields are the required fields, so when user fills the required fields and press enter(windows)/return(mac) key the form gets ...
1
vote
2answers
133 views

use-ajax class for ajax link not working in dynamic content load

use-ajax class link not working when i load new content using custom ajax code, which has the use-ajax class links. I use normal jquery ajax to load the content because, i have drag and drop ...
0
votes
1answer
43 views

How to set link in view slideshow in drupal 7?

Currently i am creating a xyz resort website.In my home page ,i implemented a slideshow by using views. The issue is ,i want the slideshow to be clickable that is when i click on to the resort image ...
0
votes
3answers
39 views

how do i link a field to another field in views

I have a Views on which I display an event calendar. Events get created through a separeate content type which contains a checkmark "Link to page" which will (if checked) display a "view" link in the ...
0
votes
1answer
26 views

How do I modify the individual links on comments (reply, delete, any others I add in Flags, etc…)?

I'm in my sub theme's comment.tpl.php, and I have print render($content['links']) - how do I access the individual links within that? I tried doing a print_r to see if it was a bunch of nested arrays ...
0
votes
1answer
13 views

I cannot see the dblog of my kickstart commerce

When I go to /admin/reports/dblog nothing happens it just shows me a node, and if I go to admin menu I cannot see the reports link check the image Why I cannot see the reports menu? how can I ...
0
votes
0answers
31 views

How to stay in same page after changing language?

My site is localized to two languages: de and en. There is a menu bar: English | German which links to /en and /de respectively. The problem is it always go to home page when switching ...
0
votes
0answers
27 views

Fill link text with target nodes title field

In a content type im using a link field to link to internal pages. When such a content type is created i want that the (internal) URL is added to the link field and it pulls the links text ...
0
votes
1answer
28 views

Administrator settings vanished for sheetnode content type nodes

I installed the sheetnode module. It was working ok and then the next time I clicked on "Edit" on the node, the following happened: I don't know how the links for Publishing options, URL Path ...
0
votes
0answers
26 views

twitter widget with external links module

I have a twitter widget embedded and I have the drupal 7 external links module turned on, but I cant get the twitter links to open in a new window or get the external links warning, although these ...
0
votes
0answers
19 views

How can i have a link field in a content type display a default text when the field is empty?

How can i have a link field in a content type display a default text when the field is empty? For now i have a field as a link - and the link is set to have a static title. This Works fine. But i'd ...
0
votes
2answers
137 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
0answers
12 views

Translate link from header in multiple view

I have a view with in my header a link like this: <a class="btn btn-primary" href="/node/add/zoekertje">Add product</a> . This is a global text area. I have these link in 4 of my views. ...
0
votes
0answers
16 views

Add Event link is missing in Calendar

I have an Event Calendar using Views. Usually there is a "+ Add Event" link below the month tab, but it is missing now. How can I bring it back?
0
votes
0answers
32 views

External Links not working

Tried both modules External Links and External New Tab none of my external URL leading links opens in a new tab, what could be causing this? I tried disabling jquery update, didn't help. If you set ...
1
vote
0answers
42 views

How to properly test access permissions when generating links?

I have a page that is only accessible by some people. It's entry in hook_menu contains following: $items['mymodule/mypage'] = array( 'title' => 'Edit Product', 'page callback' => ...