drupal template error

David Hale
59 Posts
David Hale posted this 01 July 2015

Now I am getting the attached screen shot again when trying to edit templates other than home.. I originally got this error upon drupal template installation, but as soon as I created article and basic page on drupal side and refreshed they went away... Now this error has returned for unknown reasons.. Only thing I did was install ck editor module and add content via it to the newly created article and basic page, now upon shooting back over to themler I get the attached error

Now I am getting the attached screen shot again when trying to edit templates other than home.. I originally got this error upon drupal template installation, but as soon as I created article and basic page on drupal side and refreshed they went away... Now this error has returned for unknown reasons.. Only thing I did was install ck editor module and add content via it to the newly created article and basic page, now upon shooting back over to themler I get the attached error
Vote to pay developers attention to this features or issue.
10 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 01 July 2015

Hello

Do you mean that you see this message despite the fact that you have published Basic Page in Drupal?
Could you please provide the access to the Drupal admin panel?
I've moved this topic to Private.

Thank you,
Olivia

Hello Do you mean that you see this message despite the fact that you have published Basic Page in Drupal? Could you please provide the access to the Drupal admin panel? I've moved this topic to Private. Thank you, Olivia
David Hale
59 Posts
David Hale posted this 01 July 2015

Yes I get this now in themler even though basic page and articles have already been created in drupal..

[removed]

Yes I get this now in themler even though basic page and articles have already been created in drupal.. [removed]

Last edited 01 July 2015 by Support Team

Support Team
Support Team posted this 01 July 2015

Hi,

Thank you.
I found the source of the issue. You changed the machine name of the content types.
E.g.
page -> page_maker

Themler uses machine name of the content type to assign appropriate template. I've changed the machine name of the Basic Page back and template works ok now. Please do the same for Article content type.

Why did you do this?

Thank you,
Olivia

Hi, Thank you. I found the source of the issue. You changed the machine name of the content types. E.g. page -> page_maker Themler uses machine name of the content type to assign appropriate template. I've changed the machine name of the Basic Page back and template works ok now. Please do the same for Article content type. Why did you do this? Thank you, Olivia
David Hale
59 Posts
David Hale posted this 01 July 2015

Why did you do this?---------------------->

Because I had to... You may have fixed the themler side of it, but go back in to the drupal side and goto "add content" and try to add an article or basic page, you will see it only now offers the poll content. By changing the machine name back, it has now caused the drupal end to make the add content article and add content basic page disappear. No content adds are available now. If you alter the machine names for those content types, you will see once again those content types are able to be added, but this will break the themler template side again. So.....

Why did you do this?----------------------> Because I had to... You may have fixed the themler side of it, but go back in to the drupal side and goto "add content" and try to add an article or basic page, you will see it only now offers the poll content. By changing the machine name back, it has now caused the drupal end to make the add content article and add content basic page disappear. No content adds are available now. If you alter the machine names for those content types, you will see once again those content types are able to be added, but this will break the themler template side again. So.....
David Hale
59 Posts
David Hale posted this 01 July 2015

changing the machine name back to the default as you did effectively breaks the add content types from the drupal end

changing the machine name back to the default as you did effectively breaks the add content types from the drupal end
Support Team posted this 01 July 2015

Hello

I've found a workaround in this topic:
https://www.drupal.org/node/1166416

Please go to Drupal Structure >> Menus >> Navigation >> List Links >> add new child link to the "Add content" item with path: node/add/page.
I've added an item for Article and Content >> Add Content allows to choose content type now.
Please do the same for Basic Page. I've changed the machine name to page.

Thank you,
Olivia

Hello I've found a workaround in this topic: https://www.drupal.org/node/1166416 Please go to Drupal Structure >> Menus >> Navigation >> List Links >> add new child link to the "Add content" item with path: <tt>node/add/page</tt>. I've added an item for Article and Content >> Add Content allows to choose content type now. Please do the same for Basic Page. I've changed the machine name to *page*. Thank you, Olivia
David Hale
59 Posts
David Hale posted this 01 July 2015

Ok yes that works.. thanks...

So for every site I build for drupal I will need to remember to do that, or can you make that issue an auto-fix w/o these steps?

Ok yes that works.. thanks... So for every site I build for drupal I will need to remember to do that, or can you make that issue an auto-fix w/o these steps?
David Hale
59 Posts
David Hale posted this 01 July 2015

if you delete my pw and login post above, you might make this public again as I am sure somebody that uses drupal will run into this problem

if you delete my pw and login post above, you might make this public again as I am sure somebody that uses drupal will run into this problem
Support Team
Support Team posted this 01 July 2015

This issue is not related to Themler or theme. The only issue related to Themler is that Themler templates work with content types which have specific machine names. But how else Themler will know what content types should be used?

In general, Drupal should automatically create such items. I don't know why it does not happen on your side. It works ok on my local Drupal. Did you make any changes to Navigation menu?

I'll remove access credentials and move this topic to Public.

Thank you,
Olivia

This issue is not related to Themler or theme. The only issue related to Themler is that Themler templates work with content types which have specific machine names. But how else Themler will know what content types should be used? In general, Drupal should automatically create such items. I don't know why it does not happen on your side. It works ok on my local Drupal. Did you make any changes to Navigation menu? I'll remove access credentials and move this topic to Public. Thank you, Olivia
David Hale
59 Posts
David Hale posted this 01 July 2015

Actually I did do some fussing with the Nav features in drupal before that error happened and might have erased one of those child links.... So that may have caused the problem.. ANyway thanks... You know your stuff.

Actually I did do some fussing with the Nav features in drupal before that error happened and might have erased one of those child links.... So that may have caused the problem.. ANyway thanks... You know your stuff.
You must log in or register to leave comments