Sign in

Starter Theme downloaded from Github does not work

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2470
    hermanthegerman

    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

    Attachments:
    #2474
    Verhoeckx

    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
    hermanthegerman

    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
    Verhoeckx

    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
    Alvr123@

    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
    Alvr123@

    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
    Verhoeckx

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

    #2610
    Alvr123@

    Was a plesure 😉

     

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.