Closed (fixed)
Project:
Classified Ads
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2011 at 19:51 UTC
Updated:
9 Jan 2012 at 12:40 UTC
I am using Classified Ads and Panel Node Templates to structure the display of my classified ads. I would like to include the ad expiration information in the Panel Node Template but haven't yet succeeded. I tried adding the code from classified-expires.tpl.php as custom content but the values don't print, just the text: http://screencast.com/t/CVgvSWM4mU Also, I wasn't quite sure if I should have added this the this issue que or the Panels issue que... so my apologies if this is miss-placed.
Comments
Comment #1
fgmIn 6.x, the Classified Ads "ad expiration" information is not a field in the CCK sense, but an "extra field" (http://www.lullabot.com/articles/great-pretender-making-your-data-act-field), so I do not think Panels has a way to make sense of it as it does with actual fields.
Moving to the Panels issue queue in case someone there has an idea about how to display extra fields.
Comment #2
merlinofchaos commentedIn Drupal 6, all field info including 'extra field' stuff is handled by CCK.
Typically things that are not actually fields and are rendered specifically need to have panes provided to Panels as there is no simple way to discover the data and make it available. That means classified would need to provide a pane for this data, if it wants to support Panels.
So I think this should be added as a feature request for classified (or, if it's possible to have 'extra field' stuff rendered generically, then for CCK).
Comment #3
fgmDone: expiration is now exposed as a content type in Panels.
To be ported to 7.3.
Comment #4
fgmPorted and committed to 7.x-3.x.
Comment #5.0
(not verified) commentedchanged screenshot hyperlink