Removing name from display of Fields_Contrib_Hyperlink

Topics: Writing themes
Feb 6, 2012 at 3:43 AM
Edited Feb 6, 2012 at 12:37 PM

I'm displaying a list of hyperlinks on a page from a list in Orchard 1.3 with the Hyperlink Module.

Right now they display like:

I want them to display like:

 

I'd like to use placement.info to remove the Web_Address. Is this possible without customizing the view? In placements.info I'm trying to do:

 <Place Fields_Contrib_Hyperlink-Name="-" />

Which isn't working.

Coordinator
Feb 6, 2012 at 4:52 AM

You should either use shape tracing to find out, or look into the field driver's code what the exact name of the shape is.

Feb 6, 2012 at 5:06 AM

Bertrand, thanks for the quick response.

It sounds like I wasn't clear in my question. I want to know if it is possible to hide the field name using placements.info?

I can remove the entire shape by doing:

<Place Fields_Contrib_Hyperlink="-" />

But I want to just remove the field name which is name. I did look at the driver code, after viewing this work item http://orchard.codeplex.com/workitem/17320, I customized the driver, but that just hid the whole field. I want to know if it is possible to hide the field name using placements.info?

Thanks!

Coordinator
Feb 6, 2012 at 5:12 AM

Ah, yes, fixing the driver should have worked. It works for correctly written fields.