set mood-pictures for Seminary-related pages and small avatar pictures
This commit is contained in:
parent
b88d39b3c0
commit
b40305631a
10 changed files with 140 additions and 40 deletions
|
|
@ -61,6 +61,9 @@
|
|||
{
|
||||
// Get seminary
|
||||
$seminary = $this->Seminaries->getSeminaryByUrl($seminaryUrl);
|
||||
if(!is_null($seminary['media_id'])) {
|
||||
$seminary['media'] = $this->Media->getMediaById($seminary['media_id']);
|
||||
}
|
||||
|
||||
// Get Character groups-group
|
||||
$groupsgroup = $this->Charactergroups->getGroupsgroupByUrl($seminary['id'], $groupsgroupUrl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue