New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list part of views not overridable (frontend) #630

Closed
Hoffi1 opened this Issue Mar 3, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@Hoffi1
Contributor

Hoffi1 commented Mar 3, 2014

Template part of views is overridable by copying them to site template and modifying as needed. This works with JEM too but not for the list part because this is outsourced to common/views/tmpl.

To allow overrides it seems we must add corresponding template path manually. Something like $this->addTemplatePath(JPATH_THEMES.'/'.$app->getTemplate().'/html/com_jem/common');

@Hoffi1 Hoffi1 added bug labels Mar 3, 2014

@Hoffi1 Hoffi1 self-assigned this Mar 17, 2014

@Hoffi1 Hoffi1 added this to the JEM 1.9.6 beta milestone Mar 17, 2014

@Hoffi1

This comment has been minimized.

Contributor

Hoffi1 commented Mar 17, 2014

will commit a fix soon...

@jojo12

This comment has been minimized.

Contributor

jojo12 commented Mar 17, 2014

yes, that could be helpful for a lot of us. Even for those users who use JEM just online.
[it's really interesting the different looks (templates) and used possibilities, you can find, when using search machines.]

@Hoffi1

This comment has been minimized.

Contributor

Hoffi1 commented Apr 3, 2014

Now you can override common layout files too. (copy file from /component/com_jem/common/views/tmpl/ to /templates/(your-site-template)/html/com_jem/common/ and modify as required)

@Hoffi1 Hoffi1 closed this Apr 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment