I wanted to have different nodes to have titles different from the global default side content title.


To do so, I added a 'sidetitle' field to the sidecontent table and added patched the module's code to use this title if specified, otherwise the global default (which may be blank producing no title for the block).


It is working for me, and I am attaching the patch against the 4.6.0 version.
Thanks for this useful module!


-- Stephen Benoit,
drupal@magnumline.com

CommentFileSizeAuthor
sidecontent_titles.patch4.89 KBStephenBenoit

Comments

deekayen’s picture

Version: 4.6.x-1.x-dev » master
Status: Needs review » Fixed

Committed to HEAD and DRUPAL-4-7.

deekayen’s picture

Assigned: StephenBenoit » deekayen
deekayen’s picture

Assigned: deekayen » Unassigned
Status: Fixed » Needs review

I got in trouble for committing this so it's been reverted and unbranched. See CVS revision 1.6.2.1 or 1.7 for what I had committed.

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/sidecontent/s...

marcoBauli’s picture

worked for me the cvs 1.7 version with 4.7.0b6.

sweet module!

robert castelo’s picture

Status: Needs review » Fixed

cvs version is now for 4.7, and I'll create a 4.7 branch next weekend if there are no show stopping bugs.

New version includes title for each block feature.

Thanks for everyones work on these patches, I've incorporated the best bits of them into the new release.

I haven't had time to test updating from a 4.6 version to 4.7, so would be very useful if anyone could let me know their experiences with updating. This also means you really MUST backup your database before updating.

Note that the block configuration form now has a few new options for how sidecontent fields are displayed on the node form.

Lastly, anyone wants to add to the README.txt documentation, that would be very welcome :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)