Override page type?
Permalink 1 user found helpful
I'm trying to override a core page type (blog_entry), and a custom template (blog_index) in a package. I can always copy and paste the files into /page_types and /blocks/page_list/templates, but I feel like thats not the best way to do it. I also thought about uninstalling them and installing my own, but thats not ideal either. I was wondering how you can override them from /packages. Any Ideas?
hi jordan, thanks for the reply. I hadn't realized that the template was overriden, I'll have to test that. It isn't for a theme, so I think that your possible solution for blog entry wouldn't work(since I think the selected theme takes precedence. I think I'm just going to copy and paste to the root directory with that one. Thanks for your help!
hmm- I can't get either to work. The custom template seems to not be applying, and the page types solution I had isn't working either. Oh well, guess I'll just install new ones and give instructions.
Not sure about the page type template though -- maybe you can put it in packages/your_package/themes/your_theme/blog_entry.php ?