Templating system problem


#1

plugins/buddypress-media/app/main/controllers/template/template.php does not seem to be part of the templating system.

This template is where the main wireframe markup is served from. Anyone wishing to customise the main wireframe are not able to.

Are you planning to add this template to the templating system? That would make everything customisable. The current templating system allows you to customise just 50% of stuff.


#2

Hi,

We are also reworking the templates. This will be fixed soon.

Regards.


#3

It's good to hear that you're reworking them.

Thanks Saurabh!


#4

Hi Saurabh

I noticed you introduced the main.php template file in the 3.0.3 update. Having this sit directly inside my rtmedia folder doesn’t seem to work. Am I doing it wrong?

e.g. themes/my-theme/rtmedia/main.php


#5

That doesn’t work for me either. I’ve also tried it like this:

themes/my-theme/templates/main,php

I had to resort to editing the core files until I can get this to work in my theme files.


#6

Gshock, I edited the core files too - and kept a backup of the original main.php core file until the issue can be fixed.


#7

@Gshock @henrywright in next release(3.0.5) this template issues will be fixed, so after that you can copy all files and folder from buddypress-media/templates folder in to your-theme/rtmedia/ folder and overwrite all template files.


#8

fine - you know when comes out the 3.0.5 ??


#9

@faishalsaiyed thanks! looking forward to 3.0.5 - i’ll download and report back to let you know if it works for me once you’ve released.


#10

Hi @faishalsaiyed

I can confirm that the template system now works as expected. Core templates are overridden successfully when copied to my theme. Thanks!


#11

thanks for confirmation :slight_smile:


#12