Views - Rendered entity mező mindig linkel - quickfix

The spam filter installed on this site is currently unavailable. Per site policy, we are unable to accept new submissions until that problem is resolved. Please try resubmitting the form in a couple of minutes.
Kategória: 
Gyorstippek

Az entity modul csinál nekünk olyat, hogy Rendered entity field a viewshoz. Tehát mező alapú nézetbe lehet entitás valamelyik build mode-ját enblock megjeleníteni. Mire jó ez? Pl lehet olyan nézetet csinálni, amiben teasereket jelenítünk meg, a node valamelyik mezői szerint csoportosítva.

Van viszont egy idegölő bugja: Nem lehet beállítani, hogy a mező ne linkeljen a tartalomra. Márpedig ha teasert listázunk, az már eleve tartalmaz címet, netán képeket, amik linkelnek a tartalomra, namár most ezt az egész cuccot körbeveszi így a views egy a taggel.

Quickfix: az entity modulban a views/handlers/entity_views_handler_field_entity.inc fálj 110. sorát commenteljük ki:

'#dependency' => array('edit-options-display' => array('label', 'id')),

Ekkor már a mező konfigurációs formon megjelenik a Link field to entity checkbox, vegyük ki a pipát, mentsük el a nézetet, majd szüntessük meg a commentet a kódban, mert amúgy ez a dependency kell, meg amúgy sem hekkelünk modult, ugye?

Ha van valakinek ötlete a végleges megoldásra, az issuehoz bátran hozzá lehet szólni.

Hozzászólások

Steel Pump Body

スーパーコピー時計詐欺 8mm Glass Beads

If you are going for best

If you are going for best contents like I do,
simply go to see this website every day since it offers quality contents, thanks

Personal Protection

What's up i am kavin, its my

What's up i am kavin, its my first time to commenting anywhere, when i read this paragraph i thought i could also create comment due to this sensible paragraph.

This design is spectacular!

This design is spectacular! You definitely know how to keep
a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Wonderful job.
I really enjoyed what you had to say, and more than that, how you presented it.
Too cool!

ディオール財布コピー通販店 Lady Shoes

ジバンシィ靴コピー店舗 Aluminum Tube

Capacitance

Denso

Wow, that's what I was

Wow, that's what I was searching for, what a data!
present here at this webpage, thanks admin of this website.

Contemporary Vinyl

Electrostatic Sprayers

Hdmi To Hdmi Extender Adapter

Heavy Truck Parts Price

Thanks for the good writeup.

Thanks for the good writeup. It in fact was once a entertainment
account it. Look advanced to far brought agreeable from you!

However, how can we be in contact?

Pet Jar With Aluminum Lid

Alcohol Equipment Supplier

Howdy! I realize this really

Howdy! I realize this really is sort of off topic
however i was wondering in the event you knew where I was able to find a captcha plugin for my
comment form? I'm utilizing the same blog platform as
yours and I'm having trouble finding one? Thanks a whole lot!

10 Ton Crane Truck

Garments Industrial

I really like it whenever

I really like it whenever people get together and share views.
Great site, continue the good work!

Electric Fibc Bag Washer

Chenille Patches No Minimum

Hozzászólás

A mező tartalma nem nyilvános.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Engedélyezett HTML elemek: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <img>
  • A webcímek és email címek automatikusan linkekké alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
  • Engedélyezett HTML elemek: <a> <blockquote> <br> <cite> <code> <dd> <del> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <sql>. The supported tag styles are: <foo>, [foo].
  • Minden email cím át lesz alakítva ember által olvasható módon, vagy (ha a JavaScript engedélyezett) ki lesz cserélve kattintható, de biztonságos hivatkozásra.