When I enter a subtitle in the 'Title 1' field, it is removed as soon as I save: when I re-edit the node, it has disappeared from the field.

Needless to say, no subtitle is displayed in View mode. Any suggestions?

Comments

picardo’s picture

I am facing the same problem here. This always happens on a custom content type I created. To add to the description above, I will say I noticed Title1 and Title2 fields were already filled in after I clicked "create new node." Their content was coming from another node I had created, based on another custom content type where I had used these fields and where they had worked, meaning their data was being displayed.

Then I did some digging with the devel module. Turns out the $subtitle is never getting passed on the problem nodes.

john.kenney’s picture

this seems like a very handy module and i was pleased to find it. thanks for putting it together.

unfortunately, i am having similar problems as others.

i tried multiple content types, but 'subtitle' fields do not save (not sure why there are 2 fields - you can have 2 subtitles on separate lines?).

also, stuff i added to page.tpl.php (as per your suggestion) is not getting printed into page source:

<?php if ($subtitle): ?><?php echo '<h2 class="node-subtitle">' . $subtitle . '</h2>'; ?><?php endif; ?>

in my case, i am not seeing any pre-population of the fields. i tried in one default content type (page) and one custom type. identical result in both. clearing caches did not help.

sun’s picture

Category: support » bug
Priority: Critical » Normal
ademskiadov’s picture

Priority: Normal » Critical

Any joy? I have given up on this module for now. I don't see how this issue could be demoted to normal priority, if it actually means the module is rendered useless until its fixed. I'm gonna reclassify this one as critical until somebody can get a bit closer to resolving this issue.

BTW, my solution was to completely bypass this module, and create a subtitle field using CCK, and drag it up to the top (above the body field).

It works beautifully.

kendouglass’s picture

It seems you need to print $subtitle_edit (see readme.txt) and use the resulting [Edit] link. Don't use the fields added to the node/edit page.

ThePickwickProject’s picture

Thanks K.D., that was very helpful.

airme1019’s picture