Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Starter Theme downloaded from Github does not work

  • #2470
    Avatar photo[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

    #2474
    Avatar photo[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

    #2477
    Avatar photo[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

    #2478
    Avatar photo[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

    #2604
    Avatar photo[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:

    1. Install the package start in Publii
    2. Select it as your default theme in Site setting
    3. Save it Don’t run Preview becouse give error
    4. Go in your folder where you have stored your site
    5. 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
    6. 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)
    7. 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!!
    #2605
    Avatar photo[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:

    1. Install the package start in Publii
    2. Select it as your default theme in Site setting
    3. Save it Don’t run Preview becouse give error
    4. Go in your folder where you have stored your site
    5. 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
    6. 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)
    7. 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!!
    #2608
    Avatar photo[anonymous]

    I didn’t encounter the problem myself but nonetheless: thanks for the documentation!

    #2610
    Avatar photo[anonymous]

    Was a plesure 😉

    #2920
    Avatar photo[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.