Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get the bookstore to work #4

Closed
bjorntheart opened this issue Jun 23, 2015 · 8 comments
Closed

Can't get the bookstore to work #4

bjorntheart opened this issue Jun 23, 2015 · 8 comments

Comments

@bjorntheart
Copy link

Hi @jlambe

I clone the the bookstore repo and did a composer install. I setup my database, went through the WP install screens, but don't know how to setup the bookstore any further.

I see no Books custom post type and when visiting the front end I get a blank screen.

@jlambe
Copy link
Contributor

jlambe commented Jun 23, 2015

Yes because no data are available by default.
You need to create a front page and set it on the settings then add miscellaneous books.

The bookstore project is only for code example on how/where to write code.

@bjorntheart
Copy link
Author

Noted thanks Julien. Would be great to have a fully working example complete with DB, but I do understand that you are the only dev on the project so far and this is would be probably be a low priority item. Wish I knew more of the framework to get something like this up and running.
Anyhow, I did encounter some problem with the URLs not working on several installs of Themosis and have posted about it here #156

@jlambe
Copy link
Contributor

jlambe commented Jun 23, 2015

You can also check the "themosis/todo" code, normally it should work without any data.

@bjorntheart
Copy link
Author

Great! Thanks, I'll be sure to check it out.

@Malakohvmisha
Copy link

Can you pack a mysql table?

@jlambe
Copy link
Contributor

jlambe commented Jul 14, 2015

Will look after it but I'll pack an xml file to import only the "books" custom post type. But you'll have to wait because I will update the bookstore project to work seamlessly with release 1.2.0 first.

@3kynox
Copy link

3kynox commented Nov 3, 2015

Hello,

Get it to work if I remove condition :

if (themosis_is_post($about->ID))

in admin/about.php

I also added a book inside WP-Admin which appear on "Popular" Title on the front page (without book image that have been set), and when clicking on the newly created book, I got the error message :

No route defined for this request...

Blog part looks like working.

@jlambe
Copy link
Contributor

jlambe commented Nov 3, 2015

Yeah it's missing content when you install the project. You need to create an "About" page in WordPress.
Same issue as Todo app, I should probably update them with next release and also add the content images and a mysql dump with the project.

@jlambe jlambe closed this as completed Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants