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
26 views

Adding <a href ..> around link or mail

I have a custom module which prints html in hook_block_view. The text that my hook_block_view returns(in block['content']) might contain links and mail addresses. Is there a drupal(or PHP) function ...
1
vote
0answers
20 views

How to validate link field using link module validation in custom form

I'm using the link module. I've created custom form with a link field. How can I validate this URL in my custom form? Should I use links helper function to check if link is valid (e.g. ...
0
votes
3answers
24 views

Include Views output in href

I am trying to create a custom button in Drupal 7. The link which the href should be equal to is dependent on the context such as the current UID. I have created a view which normally has a plain ...
1
vote
2answers
32 views

Entity reference link module

I am using entity reference field in a content type with select list widget allows you to add the title of a node in the content type, however the title dose not work as a link to the node. I would ...
0
votes
2answers
21 views

Display popup message when i hover on taxonomy link to display description

I used Hierarchical Select module in my academic web site for student to select course from dropdown menu and it is works good but i have problem, for each course i want to add course description as ...
0
votes
1answer
24 views

Create node content from external HTML

After a few attempts browsing the web, I don't figure out how to download HTML from a given url, and create node content from it. What I would achieve is quite simple : Have a link-like field in my ...
0
votes
0answers
15 views

flag node when clicking on a link in a view (not a flag link)

I have a view which displays nodes information on a table, each row is a node, in each row I have two links, one opens a node file field in a new window, the other one open a colorbox showing the node ...
1
vote
1answer
45 views

Can I make both Site name & Site slogan to be one single link?

I use the Mini Panels module and have created an header with both Page elements "Site name" & "Site slogan". The Site name (H1) is a clickable link that leads to the home page, but the site ...
1
vote
1answer
14 views

Adding a field with an automatic link in a content type from entity registration module

I'm using Drupal to create a website which allows an "employer_role" user to create a "Post Job" content type that has a field type of registration from entity registration module and inside that ...
0
votes
3answers
37 views

Is there a way to link a menu item to the edit page of the last article?

I want to create a menu item linked to the edit page of the last article. I created a view and added filters to get the last article. I added only the field node path to the view. But how can I get ...
-4
votes
2answers
28 views

How can I use the Freelinking module for creating links to external sites?

How can I use the Freelinking module in order to create links to external websites? I'd like to find an example. What I found online says that external links should look like this: ...
0
votes
0answers
13 views

Edit Node Links in Node Template (Page Manager)

I have created a variant for my Group and customized the layout. One of the elements I added to my content is "Node Links". Is it possible to edit the links? Currently there are two links but I want ...
1
vote
1answer
21 views

How to implement a horizontal set of translation links for every node?

I want to add a hardcoded translation block to my page.tpl.php, to link to a translated version of every node + a translated interface. The Language Switcher Dropdown module did the trick, but I want ...
0
votes
1answer
54 views

Setup links for pagination pages

I have articles/?page=2, I need to make it like articles/page/2 or articles/page-2 How to do so? The Clean Pagination module is enabled and on admin/config/system/cleanpage I added "articles". ...
1
vote
1answer
26 views

How to add title attribute to views trimmed title field?

The title field of a view is trimmed to 40 characters, and the Title field is linked to it's content. Since the Title field text is trimmed I need to add title attribute to the <a> tag of the ...
0
votes
0answers
14 views

Show filtered list of links based on user profile?

My end goal is to provide users access to digital files they have purchased. This is for a magazine, so there's 1 per month, with an archive going back for years. I have been able to import user ...
1
vote
1answer
43 views

How to get plain link with views-data-export module in CSV?

I have a view with field that provides a simple link to the content. Problem: When I export the data into a csv file there is only the word link instead of a link. How can I get there the content ...
3
votes
1answer
77 views

Creating field on each node

I want to add a field on each node which links to a particular page where module's controller will act. I want to actually add a link at bottom of node, and I want to do this programmatically. But I ...
0
votes
1answer
19 views

Print current drupal menu level

Hitting my head against the wall here. I've volunteered to print a list of the current menu items (at the same level as the currently viewed menu) print theme('links', $secondary_links, array('class' ...
0
votes
0answers
43 views

Adding rel=“prev / next” to <head> in taxonomy page

I've to add rel="prev" & rel="next" in the <head> of taxonomy pages (without Views) in order to have this : • First page : <link rel="next" href="http://www.my-site.com/my-url?page=2" ...
0
votes
1answer
21 views

Badge for menu link

I am building a Bootstrap 3 sub theme where I want to display some information next to menu link in main menu. I tried to implement hook_menu_link_alter in template.php file in following way function ...
1
vote
3answers
36 views

unable to link my custom content type nodes to a menu I created

I created a custom content type (pics). I can add this new "pics" content to my site (and if I want to, it can appear on front page, but I don't want to...) with no problem. But I would like those new ...
0
votes
1answer
53 views

How to auto redirect link with node/id to /name?

I'm using Pathauto to generates all node url. There are many pages and blocks containing links with "node/id" instead of the "urlpath". When user click one of those link, it actually direct to the ...
0
votes
0answers
22 views

Create a drop down list of pages created using a specific content type

I've created a 'Galleries' page using a field collection so a user can create an infinite number of image links to individual 'Gallery' pages. The individual 'Gallery' pages are created seperately ...
0
votes
0answers
13 views

How can migrated two field from single link

I tired for a hours, but i cant find the solution and i'm new to drupal, i have fields web site address and email, and i have module to create a link based on email id and i have override the module ...
0
votes
1answer
41 views

Drupal shortcuts - link with question mark included

When I add a link to shortcut set which looks like this: admin/work?date_filter shortcut module changes this question mark sign "?" into this "%3F" and this link doesn't work anymore. I believe I ...
0
votes
1answer
36 views

Can you stop embedded Flickr Images from following their link if the user clicks the image, thus leaving your Drupal website?

Using Drupal 7.37, Omega4-SubTheme Acquia Dev-Desktop Stack (Development) Windows 7 HP Using Media Module with the Flickr provider Module installed, the Media_YouTube, and the Media_SoundCloud ...
0
votes
2answers
32 views

How to remove the comma between Link multi-value field

I am using the Link module's link field. When I create a multi-valued field, it automatically adds a comma between them. I would like to remove this comma. For some other field types, such as term ...
0
votes
0answers
28 views

I need a way to auto-alias node/# internal links in nodes

Say I have a simple node that contains some text and an internal link like this very one somewhere inside the text and I want it to be a node/# link but to be aliased automatically "To the eyes" of ...
0
votes
0answers
32 views

Drop down of site pages for admin to choose

I have a content type which has a link (text type), and admin can manually insert his link. My site pages consist of the pages that work with views module (views page), and also pages that are ...
1
vote
1answer
24 views

Save my link configuration with drush or else?

I just modified my database so I can translate 2 link from a block that I made. The translation won't show up until I go here admin/structure/menu/item/1022/edit and press Save. I would like to know ...
1
vote
1answer
37 views

Views - Edit, view, delete node in dropdown

In facebook, on every post, there is a little arrow in the corner with content about that post. Is there a Drupal Module which allows me to achieve this? What I want to do is: I have different ...
0
votes
1answer
53 views

Link's href value gets lost

I am trying to make a link on node by returning this array(The array is being formed in the function by the name buildLinks() ): $links[$key] = array( 'title' => $definition['title'], ...
2
votes
1answer
46 views

How to link (a menu item) to the RSS feed

In our Drupal installation there is a menu item for the RSS feed, pointing to path de/rss for the German feed. This path appears unchanged in the frontend and is invalid, hence results in a 404. The ...
0
votes
1answer
17 views

Add button to teaser on specific content type

I have a custom content type for Real Estate I have a custom view on the homepage that displays the 5 most recently added real estate properties and displays basic information about this property ...
0
votes
1answer
39 views

How to create menu when dynamic routes [duplicate]

This link https://www.drupal.org/node/2122201 suggest us to make use of route_callbacks when we are using dynamic routes.Can someone tell me how to make use of this route name in *.links.menu.yml file ...
0
votes
1answer
30 views

Menu in Drupal8

I am currently using below code to generate routes: foreach($this->hardcopyEntityManager->getHardcopyEntities() as $entity_type => $entity_definition) { $route = new Route( ...
0
votes
2answers
55 views

Drupal add link to another page in header of a block

In Drupal 7 I created a views page, and I want users to have the option to view the results either as a list, or with thumbnails (like on a lot of websites). The only way I can think of doing that is ...
0
votes
1answer
24 views

Flexslider broken links

I have a very weird problem with flexslider. Everything was working ok, but suddenly flexslider stopped to show the images im adding. My observations are: Flexslider rewrites urls to the path, ...
-1
votes
1answer
32 views

Link module: Confused about how to use link fields

I got the Link module because I thought it would help me manage links in my pages. But I have the following two problems: When I enter links in the "Links" form on the page-editing page (the ...
0
votes
0answers
33 views

How to make administration menu display child links without child url

My question is probably a little confusing, so I'm gonna explain with an example. Whenever I create a parent link like "admin/test/execute", the administration menu will display the link and if I ...
1
vote
0answers
11 views

Panels: Targeting content to panel-2 from submenu placed in panel-1

On my site in Main Menu among other links I have a link called Photos that leads to photos. In Taxonomy I've created vocabulary Photocategory to categorize my Photos. I want to create Page (for ...
0
votes
0answers
29 views

Hide “edit” and “delete” links

I am adding images to a mega menu and they are lining up nice, but when an anonymous user is viewing the site, the "edit" and "delete" links are visible over the image. Is there a way to hide them?
0
votes
0answers
17 views

Translate path for custom module

I've got my custom module with my custom path in English (eg. my_en_news) and it's working. Now, if someone switches the language via the language icons they are being redirected to the other language ...
4
votes
1answer
54 views

I need to add rel=“nofollow” to the button provided by “views load more” module

I need to add rel="nofollow" to the button "Load More" provided by Views Load More, but the problem is that the anchor is created in views_load_more.module (line 91) this way: $li_next = ...
1
vote
0answers
31 views

Views automatically adds = inside link when output as link

I am trying to create a view of the latest posts from a vbulletin forum through external.php. As external.php can publish both in RSS and XML format, I have installed views_xml_backend in order to ...
1
vote
3answers
34 views

Node/website architecture visualization

I am seeking to build a website which contains quite a lot of information. All this information will be structured in a specific way. As such I am looking for a way to represent this ...
1
vote
1answer
54 views

open image files in new tab in views

I'd like to open my image fields which are linked to file in new tab. In veiws I mean. I set the image field as: Rewrite the output of this field -> checked Output this field as a link -> checked ...
1
vote
1answer
65 views

User login link is always visible in menu

I have created user login link in the user account menu but the link is visible all the time(even for logged users). The user profile menu link and the user logout links are displayed properly(they ...
1
vote
1answer
33 views

Multiple buttons to link to different page and different query

I have a page in my site (from a custom module) with a hook_menu (red boxes). The code for the menu is as follows: $items['upcoming_games/' . date('Y-m-d')] = array( 'menu_name' => ...