All Questions
24 questions
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?
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,...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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" ...
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 ...
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)?
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 ...
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 ...
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 ...
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();
...
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 ...
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 ...
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 ...