I am having some tremendous success with the rolling TOC that I've finally had the chance to work on. One interesting issue remains: I can't derive the Volume and Issue numbers.
The goal is to have it look like:
Vol. 4(1) (for example)
The code I used:
- Code: Select all
Vol. {$issue->getVolume($article->getIssueId())}({$issue->getNumber($article->getIssueId())})
Predictably, $issue->getVolume() actually takes no notice of what's inside the brackets. I also tried to set the issue with $issue->setIssueId($article->getIssueId()) before executing the above, but - unsurprisingly - that didn't work either.
Before I create a new function akin to getVolume, am I missing something?
tarek : )
