Request: There is an option to append the release year to the title, please add an option to prepend the artist in the title. Current, for example, Stevie Nick's "Bella Donna" album from 1981 can get a title of
Bella Donna (1981)
, I'd like to see an option to prepend the artist to end up with
Stevie Nicks - Bella Donna (1981)
as the title.
Shoot me off a PM if a donation would help getting this as a stock option so I don't have to track a manual change.
For anybody else interested, and wants to do the same....
/src/addons/Snog/Music/XF/Pub/Controller/Forum.php
Line 413 (of the current version as of today), find...
Code:
$title = $albumTitle;
if ($this->options()->musicthreads_useyear)
{
$year = '';
if ($releasedate) $year = ' (' . $releasedate . ')';
$title .= $year;
}
... and insert
below it:
Code:
if (isset($artist)) {
$title = $artist . ' - ' . $title;
}