desbest Posted September 15, 2016 Share Posted September 15, 2016 I cannot install the blog profile. I'm using Processwire v3 and when I put the site-blog folder inside the root processwire directory, it is not showing up in the profiles dropdown box. What is going on? Link to comment Share on other sites More sharing options...
flydev Posted September 15, 2016 Share Posted September 15, 2016 It is simply not compatible with ProcessWire 3.x. Link to comment Share on other sites More sharing options...
cstevensjr Posted September 15, 2016 Share Posted September 15, 2016 You can see if you can use it with the 2.8.x version of ProcessWire Link to comment Share on other sites More sharing options...
desbest Posted September 15, 2016 Author Share Posted September 15, 2016 I'm trying to use it with the 2.8 version of processwire and the site profile is not appearing in the dropdown box. Please help. Link to comment Share on other sites More sharing options...
LostKobrakai Posted September 15, 2016 Share Posted September 15, 2016 https://github.com/ryancramerdesign/BlogProfile/issues/5 Link to comment Share on other sites More sharing options...
szabesz Posted September 15, 2016 Share Posted September 15, 2016 59 minutes ago, LostKobrakai said: https://github.com/ryancramerdesign/BlogProfile/issues/5 This page points to a forum post that is no longer valid (probably because of the Forum update?). Current url: Anyway, it is easier to install a beta version of the profile which is also good for checking out how it was made (blog-site2.zip linked from this post): For a more up-to-date blog profile I recommend: 5 Link to comment Share on other sites More sharing options...
desbest Posted September 16, 2016 Author Share Posted September 16, 2016 I got the new blog profile to install now, but when I click my username on the site to see all the posts I've wrote, I get this error. Quote 404 Page Not Found The page you were looking for is not found. Please use our search engine or navigation above to find the page. Link to comment Share on other sites More sharing options...
LostKobrakai Posted September 16, 2016 Share Posted September 16, 2016 If only the homepage does work and no other ones look at this: https://processwire.com/docs/tutorials/troubleshooting-guide/page3 Link to comment Share on other sites More sharing options...
szabesz Posted September 16, 2016 Share Posted September 16, 2016 (edited) 1 hour ago, desbest said: I got the new blog profile to install now, but when I click my username on the site to see all the posts I've wrote, I get this error. I do not know why, but in authors.php it is thrown on purpose: if(!$author->id || !$author->hasRole($authorRole)) throw new Wire404Exception(); Just remove || !$author->hasRole($authorRole) and it should work. At least you get the list, but as I mentioned before, this profile is good for learning tricks and general concepts, but it is sort of outdated and is from the time when ProcessWire 2.2.9 and 2.3.x was in use. The API has grown a lot since then, so sometimes there are easier ways to accomplish the same. Edited September 16, 2016 by szabesz spelling of authors.php Link to comment Share on other sites More sharing options...
desbest Posted September 16, 2016 Author Share Posted September 16, 2016 It works now. Thank you. It looks like the 2nd blog profile will have to do, as the 1st one doesn't work with v3 or v2.8. Also the 2nd blog profile has less features such as there being no tags or dedicated comments page, so it'll be harder for me to learn how to use processwire now, as I can't access those examples from the 1st blog profile. If the 2 blog profiles are outdated, should I refer to the documentation page to learn how to create templates? 1 Link to comment Share on other sites More sharing options...
szabesz Posted September 16, 2016 Share Posted September 16, 2016 (edited) 1 hour ago, desbest said: should I refer to the documentation page to learn how to create templates? You are right, the recommended blog profile is missing some features that is implemented in Ryan's profile, but to my knowledge it is the most current blog profile that has been released recently. I myself use it as a base of my future projects too, and currently refactoring it to my needs and also to make it more beginner friendly than it is right now. My version of it still needs a lot of work, and probably will be done by the end of this year. I will also try to document it as much as time permits. You should definitely need to familiarize yourself with the basics of template files, I can recommend reading these: A 4 part series (based on Twig, but worth reading nevertheless): http://blog.mauriziobonani.com/processwire-basic-website-workflow-part-1/ and this one too: https://www.smashingmagazine.com/2016/07/the-aesthetic-of-non-opinionated-content-management-a-beginners-guide-to-processwire/ Edited September 16, 2016 by szabesz typo 1 Link to comment Share on other sites More sharing options...
desbest Posted September 16, 2016 Author Share Posted September 16, 2016 On 16/09/2016 at 4:32 PM, szabesz said: You should definitely need to familiarize yourself with the basics of template files, I can recommend reading these: A 4 part series (based on Twig, but worth reading nevertheless): http://blog.mauriziobonani.com/processwire-basic-website-workflow-part-1/ and this one too: https://www.smashingmagazine.com/2016/07/the-aesthetic-of-non-opinionated-content-management-a-beginners-guide-to-processwire/ I read them but they didn't help me as the example template php syntax did not help me with the type of site I want to create, though those pages are helpful to newbies like me. My site needs more php logic than presentation. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now