Comments (6)
For now you can't do that yet :(
When I make module-generator at the first time, I make a lot of assumption. Creating tables is one of them.
But I have work-around for your problem. First, open your module/module_name/controllers/ directory.
Edit install.php, especially at the last lines of function remove_all and build_all.
Something like:
$this->import_sql(BASEPATH.'../modules/'.$module_path.
'/assets/db/install.sql');
I will make another module generator which is code-named as nordrassil. It will need a few weeks to be ready.
from no-cms.
Thank you, this will work.
But later it must be switchable.
If i want to update a modul i cannot drop and create the database because all user input data will be lost.
BTW: how to update no-cms ?
I always start with a new directory and e fresh database ????
from no-cms.
To update No-CMS will be a bit tricky:
- Download the newest version
- Delete /application/config directory from the downloaded one
- Delete /assets/grocery_crud/js/jquery_plugins/config/jquery.ckeditor.config.js from the downloaded one
- Override the old directory with the downloaded one
from no-cms.
Thhnak you, but what happens to the database ???
from no-cms.
It will still use the old database
from no-cms.
Hi @alwin4711, I've just replace the old module-generator with Nordrassil.
It has a lot of features, including master-detail form generator and also some option to import/not importing table on installation.
Hope you'll enjoy it
https://github.com/goFrendiAsgard/No-CMS/tree/668f2aaab3c622b2b7c6df769177c6356441117e
from no-cms.
Related Issues (20)
- suggestion: bootstrap glyph as badge-icon HOT 1
- how to disable third party auth ? HOT 2
- library dropdown
- jquery fancybox HOT 2
- Problem with hosting HOT 1
- Error running NO-CMS on xampp installation HOT 2
- bad Merge from development to master HOT 1
- Translation: Form_submit HOT 2
- Internet Connectivity Setting HOT 2
- How to make admin panel different from frontend
- Slide Image Change in live server HOT 1
- Login not working HOT 3
- Issue on Apache 2.4 authz_mod HOT 1
- How can i use bootstrap version 4 to create my own theme. HOT 3
- Stored XSS in No-CMS HOT 1
- 2nd Stored XSS in No-CMS HOT 1
- XSS Persistent HOT 1
- Another Persistent XSS HOT 2
- sql injection HOT 1
- Dynamic Parameters in database.php
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from no-cms.