linking content in drupal 7
I want to create a linked image to a page of products. I know this is silly. I could do this in html very easily. I can't figure out the best way to do this. my constraints are. 1. Needs to be easy for owner to change images and pages they are linked to. 2. possible be able to add text.
I want the links to look something like the three blocks under the main image. http://www.livingproof.com/
Should I create a specific content type or a module for this? I'm fairly new to drupal but I'm finding my way aro开发者_Go百科und. I'm using drupal commerce for the store.
Your best option is to make it a content type with whatever fields you need and display it with a view. So you'd make a content type called, for example, Image Link
, with the fields url
, image
, and the body
would be the text.
Then in the view you would choose the url
and text
fields first, excluding them from display. You would then add the image
field and rewrite it as a link, using the available tokens - which will be described to you on page below the rewrite options.
精彩评论