I am running several book series using OMP. I would like to have the series name in the email header of notification emails since I could then automaticaly filter and sort the mails.
What seems to be missing is a variable that contains the series name or series shortcut.
You’d need to add the series path to the list of available variables, which is implemented here. If you’re able to write up a pull request for this, I’d be happy to review and merge it.
Regards,
Alec Smecher
Public Knowledge Project Team
$seriesDao->getById has the optional parameter $pressId. As I see it, the series ids are uniquire across presses, so there is no need for this parameter, at least in the current version. Are there cases where this parameter is needed, older versions maybe? Then I would add the lines. Otherwise it’s just
The $pressId variable is optional, so you don’t need to specify it. It’s useful to ensure that you can’t edit the ID in a request to cause it to fetch a series that belongs to another press.
Regards,
Alec Smecher
Public Knowledge Project Team