Forums | Mahara Community
Developers
/
Issue with side block development
03 March 2017, 12:59
Reposted from an email:
03 March 2017, 13:37
One thing you could try is to place the template file in the local template directory,
eg,
htdocs/local/theme/templates/
or it might be
htdocs/local/theme/raw/templates/sideblocks/
You may need to create the directories first.
The way we pick a template in mahara allows us to override any existing template with one in local/ subdir
See for example https://reviews.mahara.org/#/c/7434/
Where I use a local template and include it
Cheers
Robert
03 March 2017, 21:33
Thank you for your answer Robert.
Actually the folder structure is: htdocs/local/theme/templates/sideblocks
I just wanted to know if there is any way to include this somewhere under new artefact's folder so that the whole code for the new artefact would be as self contained as possible (that everything would be in the same folder and/or subfolders).