Git Product home page Git Product logo

Comments (28)

chemocool avatar chemocool commented on August 21, 2024 1

Great, keep up the good work. That framework is really cool.

from typerocket.

ntnhan0605 avatar ntnhan0605 commented on August 21, 2024 1

@ntnhan0605, unfortunately, php 5.6 limits you to Typerocket v3.

Can you post the full URL that is not working in v3?
I decide to update my server & wordpress, so I'll use Typerocket v4.
And I test on my xampp php 7.3 first.

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

Hi,

Can you send over the code you are using? This will be very helpful. Also, are you using friendly URLs?

Thanks,
Kevin.

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

Hi Kevin, thanks for the fast answer.

Basically, i followed the instructions here:

https://typerocket.com/docs/v3/builder/

Made the modification to page.php and created standard.php, but of course that has to do with the rendering, not the admin part.

Is there another document on how to configure it to make it work ?

The wordpress instance is on a local server.

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

where did you install typerocket? in your theme? Also, where did you place your components?

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

I created a theme using underscore (https://underscores.me/), installed typerocket inside that theme

directory is as follow:
wp-content/themes/underscore/typerocket

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

where did you place your components relative to wp-content?

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

wp-content/themes/underscore/typerocket/wordpress/assets/components/builder/content.png

wp-content/themes/underscore/typerocket/resources/components/builder/content.php

wp-content/themes/underscore/typerocket/resources/visuals/builder/content.php

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

Actually, i'm just trying to make it work with the default component, before creating new ones

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

what is the code in the component for admin with the fields? You must be getting a 505 error somewhere. you should be able to check you browsers dev tools to see what the http error is when trying to load in the component.

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

i have a 404 on "http://localhost/tr_builder_api/v1/builder/content/builder"

Initiated by "load-script.php"

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

the component is the same that was created when i fetched typerocket using composer

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

Its seem then that your permalinks are broken. what is the permalink setting you are using? You should use anything but the first option in the permalink list of options.

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

http://www.wpbeginner.com/wp-tutorials/seo-friendly-url-structure-for-wordpress/

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

I am using: http://localhost/wordpress/%category%/%postname%/

The custom one

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

what happens if you go to this url? http://localhost/wordpress/tr_builder_api/v1/builder/content/builder

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

I can see a form with a input[text] and a textarea named content component

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

I guess i need to install wordpress in the root of the webserver, right ?

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

ok, i think you need to remove the /wordpress from your permalink structure. This might be a bug in TypeRocket I need to work out if you add a prefix to your permalinks. is that a big deal for this site?

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

nope, im just basically testing out typerocket, i was just sad that this specific feature didnt work for me

ill place my wordpress instance in the root

from typerocket.

chemocool avatar chemocool commented on August 21, 2024

It worked !

Glad I could help find a small bug ;)

Thanks for your help, really appreciated :)

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

Bug will get fixed here soon so you can use your normal workflow

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

https://github.com/TypeRocket/typerocket/releases/tag/v3.0.8

from typerocket.

ntnhan0605 avatar ntnhan0605 commented on August 21, 2024

It worked !

Glad I could help find a small bug ;)

Thanks for your help, really appreciated :)

How can you fix issue? Can you tell me.

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

@ntnhan0605

Is your version of TypeTocket up to date? Also, have you flushed your permalinks?

Thanks,
Kevin

from typerocket.

ntnhan0605 avatar ntnhan0605 commented on August 21, 2024

@ntnhan0605

Is your version of TypeTocket up to date? Also, have you flushed your permalinks?

Thanks,
Kevin
I found the issue
\wp-content\themes\Medicare Theme\typerocket\wordpress\assets\typerocket\js\core.js
The link request tr_builder_api wrong.
Thanks.
Can I install new version TYPEROCKET in old version WORDPRESS? Because my server isn't updated new version php. Current php version : 5.6.34

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

@ntnhan0605, unfortunately, php 5.6 limits you to Typerocket v3.

Can you post the full URL that is not working in v3?

from typerocket.

kevindees avatar kevindees commented on August 21, 2024

@ntnhan0605

Also, be sure you have v3 of TypeRocket up to date.

from typerocket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.