Closed (won't fix)
Project:
Fieldable Panels Panes (FPP)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2012 at 11:11 UTC
Updated:
17 Jul 2014 at 23:29 UTC
Jump to comment: Most recent
Comments
Comment #1
merlinofchaos commentedThis isn't a bug. It is intended to be used as the pane title. The pane title is like a block title, and is part of the decoration around the content.
Comment #2
seanrI think this needs to be revisited. Surely this can be provided somehow as an option? I have a design comp that calls for an image, title, and body in that order. Display Suite allows me to order the fields of the FPP content type in that way, but it has no effect. Furthermore, the title isn't available in the pane template so I can't even do this in the theme layer. Am I to go back to the designer and tell them it can't be done? If the title was at least available there I could do this pretty easily.
Comment #3
seanrComment #4
seanrJust figured out a way to do this with Display Suite. You need to select a custom layout in Manage Display. Then you get a field called Display Suite Title which you can move to the correct place and it will clear out the regular title so you don't get two titles. The default title field in the list is useless.
Comment #5
ccshannon commentedWhoops, just figured it out and withdraw the question.
For those trying to get a title to show up in a custom Display Mode, you MUST choose a Layout from the layout options in the accordion at the bottom of the Manage Display page. If you don't, the Extras options do not appear.
Thanks.
Comment #6
dave.erwin commentedThat's one way to move the title, but then you lose the functionality to make title a link and provide a path on the edit form.
so the user sees the ability to add a link to the title, but it doesn't work. now that functionality needs to be removed from the form.
would rather be able to arrange the title position via manage display.
edit:
I used this as a workaround for now, added this to a module:
and this to ds-1col--fieldable-panels-pane-panename.tpl.php since I'm using a 1 column layout in DS
added right after the print $ds_content becacuse I wanted the title at the bottom.
it checks if a path is set for the title and if so prints the title wrapped in an a tag with $path for href
if path isn't set it just prints the title, if no title at all is set it just prints an empty h2 tag