Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

How can I turn several Fields into a menu via a View?

I have 3 text Fields that I use for URLs, attached to a Panel Page. I'd like to create a menu with these URLs. I've sort of done this with a View, by setting the Contextual Filters to use the node ID,...
MeltingDog's user avatar
2 votes
1 answer
1k views

How can I add a custom attribute to a link field?

For analytics/tracking purposes, I would like to add a custom attribute to a link field. Is there a way to add an additional text field to the link, similar to the title attribute field?
Mark Anderson's user avatar
1 vote
3 answers
1k views

How to create a content-type with "sub-pages" that are default and/or custom per node

I'm in the process of planning a Drupal 7 site-build that will make use of what we're calling 'sub-pages' or 'minisites.' Essentially, as you can see in the wireframe below, we'll have a page for each ...
Aaron Silber's user avatar
1 vote
0 answers
73 views

Rule: Auto Menu link for child via entity reference

I have child nodes which are assigned to the entity reference of the parents. I want to create a rule which assigns the child node menu items to the parent node menu link. I have many parent nodes, so ...
Meito's user avatar
  • 55
1 vote
3 answers
115 views

Turn text or link field in image

Users can enter links in separate fields that lead to their facebook, youtube pages. On output i would like to use images for those fields instead of showing ugly links. Is there a module to ...
Azz Kawa's user avatar
  • 749
2 votes
1 answer
1k views

How to select an address field city from dropdown list?

I am using Address field module to populate address. A requirement needs to limit cities to a particular set, and also countries to particular set too. so I would like to present a set of cities in ...
Raj Pawan Gumdal's user avatar
0 votes
2 answers
98 views

Structure for a list of links

What I’m looking to do: Content type has an field (addable; unlimited entries to this field) In that field you select from a list of (mostly external) links. Each link is a sentence - has a title and ...
digitgopher's user avatar
  • 1,592
0 votes
1 answer
175 views

File browse CCK field

Is there a CCK field where I can add a link to a file, not an upload but something that will save the link as a URI.
LeBlaireau's user avatar
1 vote
3 answers
61 views

Is there a standard way to control which node or entity links appear in which view modes?

My module adds a link to the node view, from within hook_node_view. Is there a "Drupal" way to let the site builder control which view modes should show that link? Right now, I'm using a multiselect ...
infojunkie's user avatar
3 votes
2 answers
4k views

How to create a url/link preview?

I'm managing a content sharing site built on drupal 7 and I would like to let users submit links as content. Is there a simple way of creating a thumbnail / preview of the link (like on facebook)?
Yair Levy's user avatar
  • 141
1 vote
1 answer
49 views

append values to drupal7 cck link field entry

I've got a question about the CCK link field. I'm using the link field as a way to get a youtube video embedded onto a page and displayed through colorbox, but in order to make it work I have to ...
StephanieF's user avatar
0 votes
2 answers
850 views

D7: Change Drupal "Link" field to store node url instead of alias for internal links

I am using the "Link" field in Drupal 7 to store links. Sometimes these links are internal and sometimes they are external. In the case of internal links, I would like to be able to store the system ...
John Williams's user avatar
1 vote
1 answer
206 views

Implement Field API Pane Editor into Views

I have a View which shows nodes from a content type. I need user to be able to edit only one field from these nodes. I installed FAPE module and read its instructions but cat figure out how to ...
Martin's user avatar
  • 71
4 votes
3 answers
2k views

Link format as a preview [closed]

I'm asking if it exists a drupal module that let you make a preview of a link like the Facebook do. In another way a display format which it gives a preview.
mohammed amine bourkadi's user avatar
7 votes
2 answers
2k views

managed links in Wysiwyg?

I am looking for a systematic way to deal with links in Drupal, like there is for images. For images, you add image field to content type, then install "Insert" module and you can use Wysiwyg to ...
camcam's user avatar
  • 2,121
5 votes
2 answers
1k views

Attach a node to a menu link OR attach custom fields to menu links?

My client would like to add content to the top-level links in the main menu, in order to have "Featured" content that is displayed in the drop-down menu. They must be able to choose which piece of ...
Sam's user avatar
  • 51
1 vote
1 answer
349 views

Add Fields to the Link Module

Image here: I made this with Photoshop. The "URL" field is supposed to be a Link field (the Link module). But it seems that it only provides an optional title field but no way to add fields like ...
user1316560's user avatar
2 votes
2 answers
1k views

How to delete values in Link field?

I have a content type with a Link field which allows an Unlimited number of values. However, it appears there is no way to Remove values like there is on an Image field with multiple values. With an ...
Kenny Wyland's user avatar
  • 3,058
2 votes
4 answers
3k views

How to migrate Link Fields ('title' and 'url') involving local variables?

I have performed the following query: $query = db_select('sage.USER', 'USER') ->fields('USER', array('USER_ID', 'OFFICE_ID', 'USER_PASSWORD')) ->range(0, 1); $result = $query->execute(); ...
chlong's user avatar
  • 653
2 votes
1 answer
1k views

Can you link an image field to a link field by 'Manage display'?

I have a content type with two fields: image and link. I'd like the image to display linked to the link field. I'm happy to do that myself programmatically, I'm just wondering if there's a module that ...
Andy's user avatar
  • 4,996
1 vote
1 answer
127 views

Module to display a website's favicon when displaying a link to it

I'm looking for a module that will display a website's favicon when display a link to that site. Specifically, I want to enable it to one certain Link field. For example, if a user edits a node and ...
Daniel's user avatar
  • 1,245
2 votes
1 answer
225 views

Limit the Link field to certain domains

I'm looking for a module that will let me limit users to certain domain names when they edit a Link field. For example, only let users enter a URL if the domain name is facebook.com, twitter.com or ...
Daniel's user avatar
  • 1,245
2 votes
4 answers
3k views

How to change the link target in a entity reference display?

I'm on d7. I have two content types on my site, "link" and "Article". The link content type contains a link field from the link module that users enter a link to another site in to. I have the "link" ...
oobie11's user avatar
  • 1,100
6 votes
2 answers
11k views

how to make a field in a view be the link destination to another field?

I am trying to create ads on the sidebar to my site. I have created a content type that has 2 fields; an image field, and a link field. I now want to display the ads in a view by having the image ...
Ephraim's user avatar
  • 895