Active
Project:
Websnapr Field
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2010 at 21:44 UTC
Updated:
9 Mar 2011 at 19:17 UTC
I trying prepare link directory based on Drupal and what I'm gonna do is make snapshots of website. I want to disable link a href and present just image. I tried setting up Views but if I turn on Link to node this option doesn't work. Anybody know how to do ? It's important because I don't need links of front page.
Comments
Comment #1
alfaguru commentedYou could override the theme function but that's not an ideal solution as you'd have to copy a lot of code just to take out the link generation step.
I'd like to have a better answer but without any sponsorship of this module I can't afford to work on it. Patches welcome!
Comment #2
cygii commentedI just copied part of code in content type tpl.php and pasted cck variables inside. It works :) But it's not an ideal solution.
Comment #3
dennis605 commentedHi cygii,
coul you please explain me in more details, how you did this?
thanx, dennis605
Comment #4
cygii commentedFirst, you need create node template like node-[content_type].tpl.php then in section where you want display snaphot paste code:
If you want show thumb in teaser add before
Field "field_www" is my own CCK field. You can have whatever you want. Anyway it's works:) Sample: http://www.spisturystyczny.pl
I hope that help you :)
Comment #5
dennis605 commentedthanx a lot,
i'll try this, and come back later.
later:
that works phantastic, thanx a lot again.
dennis605
Comment #6
charos commentedAny updated code for this? Currently I get "update your code" image.