-
Notifications
You must be signed in to change notification settings - Fork 186
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
Framework7 #996
Comments
@yazzou I'm not familiar with Framework7. However, your best chance for this will be to utilize the DrupalGap 8.x-1.x JavaScript SDK with the dg_d7 middle man module to make the SDK work with Drupal 7 websites. The DrupalGap 8 JavaScript SDK is in itself headless and made out of pure JavaScript, so you can add any framework(s) on top of it. I'd be interested in helping add support for Framework7 within the DrupalGap 8 ecosystem, but I will need you to take the lead :) |
Just tell me what do you need me to do i d very happy to help you :) I am not programmer, i do hack codes to fit them to my needs but never write from the scracht. |
This process hasn't yet been documented, so it will be a little painful if you're up for the task... First think you need to do is install the DrupalGap 8 SDK, just omit the part(s) about setting up a Drupal 8 website and/or the DrupalGap 8 module: http://docs.drupalgap.org/8/Resources/Manual_Installation The trick (and I will help document this as we go) to make the DrupalGap 8 SDK work with a Drupal 7 website is to have the app run both jDrupal 7 and jDrupal 8 by including their |
I have followed the install as recomended, here is the structure of the destination folder drupalroot/files/myapp :
Please note that i am running my sites thanks to aegir control panel. |
Next up, download |
So did this Then this
And here is my index.html file with the line added :
|
Be careful that you did not accidentally overwrite the original
Next up, you need to sneak jDrupal 7's config into the
Then be sure to download the dg_d7 bridge module into the app/modules/custom folder and include the module's .js file in the After that, we should be pretty close to running the DrupalGap 8 SDK on top of a Drupal 7 website. We'll get this sorted out and documented, then we'll look into dropping Framework7 on top. |
|
Hello |
@yazzou At this point, I think you're ready to run the app against your Drupal 7 site. Did you install the DrupalGap 8 SDK so it lives at, e.g. Wherever it is, if you visit that in a browser, does it work? If not, please take a look at the Network and Console tabs in your browser's developer tools, they should reveal more information about what is going on. Also the Drupal watchdog logs on your site are helpful too. |
Hi Drupalgap8 SDK lives in files/myapp When i browse the app i use this path
My console output is the following
|
You need to enable the jDrupal module in Drupal 8 and turn on the Connect resource in the REST UI configuration. |
Hum but my site is drupal 7 |
That's right, I forgot. I'll have to look up the next step and will get back to you here sometime soon. |
Hello |
@yazzou My apologies for the delay, I run into this issue today when trying to set this up again. First, I've renamed the
This means it is trying to connect to Drupal 8, which means the That should be it. |
Thanks i ll test that and get back to you as soon as possible |
Here is what it looks like : |
Hello
Is there a way to use alternative framworks for UI. I have bought a theme based on framework7, it really fits my requiments in terms of design but don't see any easyway to use it with drupalgap 7 .
The text was updated successfully, but these errors were encountered: