This object is in archive! 

bug on a new theme creation

Archived Jan L. 13 years ago

I want to make my own theme, but the application searches for the template in the next arrangement

[0] => .\public\themes\mytheme\layouts/

[1] => .\application\modules\ideas\templates/

[2] => .\application\modules\thanks\templates/

[3] => .\application\modules\questions\templates/

[4] => .\application\modules\problems\templates/

[5] => .\public/themes\mytheme\templates/

[6] => .\application/layouts/

[7] => .\application/modules\system\templates/

[8] => .\application/templates/

because the template name coincides in the module and in the theme it is loading that one from the module.

Best Answer
photo

Problem fixed, fix will be included in 1.1 release.

This comment is in trash! Restore

Replies (9)

photo
13

Please specify template name, and path (including filename) from UseResponse directory you've used to save this template.

This comment is in trash! Restore
photo
12

Problem fixed. Please unpack archive attached to "/library/Singular/Controller/Plugin/" directory, overwriting existing Themes.php file.

This comment is in trash! Restore
photo
12

Problem fixed, fix will be included in 1.1 release.

This comment is in trash! Restore
photo
13

Oleg Maximoff wrote:

Problem fixed. Please unpack archive attached to "/library/Singular/Controller/Plugin/" directory, overwriting existing Themes.php file.

I replaced this file, but the problem is not resolved

This comment is in trash! Restore
photo
12

Ok, lets take a closer look. Could you specify template file name and directory you stored it under, that are ignored (and rendered from module instead)?

This comment is in trash! Restore
photo
11

my theme file D:\Sites\helpsystem\branche\HelpSystem\public\themes\paymo\layouts\header.phtml

but system includes

D:\Sites\helpsystem\branche\HelpSystem\application\templates\layout\header.phtml

and the second example

my theme file

D:\Sites\helpsystem\branche\HelpSystem\public\themes\paymo\templates\_homepage-ideas.phtml

file included

D:\Sites\helpsystem\branche\HelpSystem\application\modules\ideas\templates\_homepage-ideas.phtml

This comment is in trash! Restore
photo
11

For _homepage-ideas.phml - we are working on fix, will attach it shortly.

For header.phtml - it seems you've chosen wrong directory for it.


It should be stored under:


\public\themes\paymo\templates\layout\


instead of:


\public\themes\paymo\layouts\

This comment is in trash! Restore
photo
14

are some pictures of my theme

This comment is in trash! Restore
photo
12

I've emailed you (email address specified in your user profile) with zip archive attached that contains changed files required to fix this template paths problem. Please let me know if it helps.

This comment is in trash! Restore

Replies have been locked on this page!

Your vote is accepted!