Starter Theme downloaded from Github does not work
-
April 15, 2020 at 8:28 am #2470[anonymous]
Hello all,
I hope you are all safe and well all things considered. I really like Publii application. As recommended I downloaded the starter theme from Github. After installing and activating the theme, it does not render. Instead, it shows an error.
I added a screenshot of the error.
Can you please advise, what I can do to get the theme to function properly.
Thanks very much
Heinrich
April 15, 2020 at 5:51 pm #2474[anonymous]Hello Hermanthegerman,
Could it be that you changed the Sites location (Apps settings -> Sites location)?
The structure of the path to the theme of your website should be:
Documents/Publii/sites/[name website]/input/themes/[name theme]/
Verhoeckx
April 16, 2020 at 2:01 pm #2477[anonymous]Hi Verhoeckx,
Thanks for your answer. I did not change any folder structure or file locations. I added some other themes from the marketplace and they are working fine. The structure of the path is as you suggested.
Please let me know, if you have any other suggestions.
Thanks again for your help.
Heinrich
April 16, 2020 at 2:37 pm #2478[anonymous]Hello Heinrich,
Well, I miss the directory ‘sites’ in your screenshot. It should be there. In needs to be there between the directory ‘Publii’ and the directory ‘smart-web-solutions’.
According to the documentation Publii is normally installed in the directory Documents. In your screenshot it’s installed in the directory Downloads so I thought you changed the sites location and something went wrong.
Verhoeckx
May 1, 2020 at 1:31 pm #2604[anonymous]I dont know if the problem about start theme was fix but i find a solution for fix it so i share it here maybe i can help same people.
For speed the procedure i have attach the file in this post so you will copy them in the folder theme-starter-master.
Anyway this is the procedure i do:
- Install the package start in Publii
- Select it as your default theme in Site setting
- Save it Don’t run Preview becouse give error
- Go in your folder where you have stored your site
- Open the folder and find the sub folder “input” and open other sub folder inside called “themes” inside it you find your theme folder of your site end the folder theme-starter-master, so open it
- After you open it loooking for this files: starter.lang.json and rename it in theme-starter-master.lang(this for fix error about translation)
- Then ub the same foler open the file config.json and change the first row “name:”Starter” to name:”theme-Starter-master” close all and preview your theme and it work!!
May 1, 2020 at 1:51 pm #2605[anonymous]Alvr123@ wrote:I dont know if the problem about start theme was fix but i find a solution for fix it so i share it here maybe i can help same people.
Also i have make the .zip package and it work but for security reason in this site i don’t able to post
Anyway this is the procedure i do:
- Install the package start in Publii
- Select it as your default theme in Site setting
- Save it Don’t run Preview becouse give error
- Go in your folder where you have stored your site
- Open the folder and find the sub folder “input” and open other sub folder inside called “themes” inside it you find your theme folder of your site end the folder theme-starter-master, so open it
- After you open it loooking for this files: starter.lang.json and rename it in theme-starter-master.lang(this for fix error about translation)
- Then ub the same foler open the file config.json and change the first row “name:”Starter” to name:”theme-Starter-master” close all and preview your theme and it work!!
May 1, 2020 at 7:03 pm #2608[anonymous]I didn’t encounter the problem myself but nonetheless: thanks for the documentation!
May 1, 2020 at 7:57 pm #2610[anonymous]Was a plesure 😉
June 3, 2020 at 10:21 am #2920[anonymous]I ran into the same issue and found it was quicker to rename the downloaded zip to starter.zip before dragging it to the Publii theme installer
It then creates a ‘starter’ folder in the themes directory, which matches the folder name expected by the theme.