-
☆ A M B ☆
- 24,524 Posts
Check the head of that template and make sure the link to the .css file is correct.
Yes it is fine, I use : [(base_url)]/assets/.. there (in: &tpl=`ag_redrounded:blog) so it has to be fine even after I moved the site .
I’ve checked in manager and i’ve realised that my new blog entries have no template assigned , in document - edit - general - uses template - it says: blank. If I change it manually into: ’ag_redrounded-blog’ then blog posts looks fine. Is there anything wrong with my code above? (it worked before in differnt directory...)\
thanks.
Yes, it does exist, in chunks, and it worked absolutely fine before I moved webiste to different directory, now it doesn’t... I have no idea what is wrong?
Check the MODx configuration of default template.
It is possibly set as ’blank’ ?
In : tools -> configuration : default template is set up to: ’ag_redrounded’ which is my basic template for all new pages. For blog I use different template :’ag_redrounded:blog’ . When I create new blog entry and I check in manager what template it is using it is set up to ’blank’. When I change it manually to ’ag_redrounded:blog’ it is working fine. Why it doesn’t want to use this template automatically? Is there something to set up I possibly missed after moving site to new directory?
I looked into NewsPublisher snippet.
It looks like &template parameter is specifying the template name to use for newly posted document.
If not specified, default template is to be used.
(There’s no &tpl parameter in NewsPublisher, I think...)
As an trial, why don’t you remove &template (and &tpl) parameter and check if what happens to newly created document ?
The default template must be asigned to that document...