diff options
-rw-r--r-- | Drupal6-Drupal7-upgrade-process.rst | 172 | ||||
-rw-r--r-- | Scilab/scilab_in/TBC-flow-old.rst | 337 |
2 files changed, 509 insertions, 0 deletions
diff --git a/Drupal6-Drupal7-upgrade-process.rst b/Drupal6-Drupal7-upgrade-process.rst new file mode 100644 index 0000000..5531862 --- /dev/null +++ b/Drupal6-Drupal7-upgrade-process.rst @@ -0,0 +1,172 @@ + +Document Information +==================== + +Name of the Document: Drupal 6 to Drupal 7 upgradation process + +Date: 7/04/2015 + +Author: Priyanka Bhagwat and Prashant Sinalakar + +---------------------------------------------------------------------------------------------------------------------------- +**Process to upgrade from drupal 6 to drupal 7** +----------------------------- +**step 1:** + +**take a backup of your drupal site and database** +----------------------------- +**step 2:** + + +**Login as superuser/first user and disable all custom modules and +custom theme of drupal 6 site.** +----------------------------- +**step 3:** + + 1) **Install drush into your system** + + sudo apt-get install drush + + 2) **Download latest version of drupal** + + drush dl drupal-7 + + 3) **Connect your existing drupal 6 database with new drupal 7** (make + changes in setting.php of drupal 7 to connect with old database) + + 4) **Go to project directory then run** + + drush updb + + 5) **Login in to drupal 7 as first user** + + 6) **move all old site data to new drupal 7 expect theme** + + 7) **remove modulename\_bck modules** + + 8) **update all modules using** + + drush dl -y acl references author\_pane ckeditor votingapi views ctools + references xmlsitemap webform advanced\_forum captcha cck ckeditor + comment\_notify email\_verify extlink feedback fivestar formblock + google\_analytics jquery\_ui jquery\_update link linkchecker masquerade + mimemail nice\_menus notify recaptcha spambot views + + drush dl -y views date easy\_social captcha cck email\_verify sharethis + socila\_share wysiwyg google\_analytics jquery\_ui link masquerade + recaptcha + + 9) enable all necessary modules + + drush en module\_name + + drush updb + + if any error in webform take out webform form modules then, + + **drush updb** + + **drush command to update all modules without updating the core.** + + drush upc --no-core + +----------------------------- +**step 4:** + + 1) drush dl drupal-7 + + 2) make settings.php + + 3) connect with old db + + then, go to project dir run + + 4) # references, link + + 5) drush updb +----------------------------- + +**step 5:** + + 1) login to first user + + 2) mv all old sites data to new d7 except theme + + 3) remove modulename\_bck modules + + them update all modules using + + drush dl -y acl references author\_pane ckeditor votingapi views ctools + references xmlsitemap webform advanced\_forum captcha cck ckeditor + comment\_notify email\_verify extlink feedback fivestar formblock + google\_analytics jquery\_ui jquery\_update link linkchecker masquerade + mimemail nice\_menus notify recaptcha spambot views + + ## acl references views ctools references webform cck link views + + 4) enable all necessary moduls + + 5) drush updb + + if any error in webform take out webform form modules then, + + drush updb + + node\_access => references + +----------------------------- +**step 6:** + Only for SCILAB Website + Scilink Query + + content type => Documentation Page + + select \* from content\_field\_link where nid in (SELECT nid FROM + \`content\_type\_link\` where \`field\_parent\_page\_nid\`=118) +----------------------------- +**Important** + + 1) **changed query structure..** + + 2) **theme\_table must be replaced to ‘theme(“”, “”, array =()) ** +----------------------------- +***Error and solution :*** + + **If you get error like following: ** + + **“Undefined index: distribution\_name in + drupal\_install\_profile\_distribution\_name() (line 207 of + /var/www/html/drupal-7.37/includes/install.inc “** + + **Then run following query in database** + + `***UPDATE*** <http://dev.mysql.com/doc/refman/5.5/en/update.html>`__ + `***system*** <http://localhost/adminer/adminer.php?username=root&db=anuduino_os_hardware_in&table=system>`__ + **`*SET* <http://dev.mysql.com/doc/refman/5.5/en/string-type-overview.html>`__ + status=1 WHERE name='standard';** + + **This will resolve profile error** + + **While going for changing query of theme** + + theme('table', array('header' => $pending\_header, 'rows' => + $pending\_rows )); + + solve error of mail sending: email.inc change following line + + change + + **$language-language** replace with **array('language' => + $language->language)** + + **$message['body'] = t('…...’);** replace with **$message['body'] = + array('body' => t('…….));** + + **Error:** *Notice*: Undefined index: distribution\_name in + *drupal\_install\_profile\_distribution\_name()* (line *207* of + */var/www/html/cfd\_fossee\_in\_7/includes/install.inc*). + + FIX this: + + UPDATE \`drupal\`.\`system\` SET \`status\` = '1' WHERE + \`system\`.\`filename\` = 'profiles/standard/standard.profile'; diff --git a/Scilab/scilab_in/TBC-flow-old.rst b/Scilab/scilab_in/TBC-flow-old.rst new file mode 100644 index 0000000..93aa3b7 --- /dev/null +++ b/Scilab/scilab_in/TBC-flow-old.rst @@ -0,0 +1,337 @@ +***SCILAB TBC*** + +Document Information +==================== + +Name of the Document: TBC Flow + +Date: 4/08/2015 + +Author: Priyanka Bhagwat and Bhavani Jalkrish + +**Home page: Not logged in** + +- Menu links: + +- Home : scilab.in + +- Resources: /resources + + - Downloads: /DownloadScilab + + - Useful Links: /usefullinks + + - Books : /Completed\_Books (remove) + + - Online Test: /online\_test (remove) + + - SciLinks: /SciLinks + + - Brochures: /scilab-brochures + + - cloud : /scilab-on-cloud (to be added) + +- About us: /about-us + + - Contact Us : /contactus + + - Feedback: /feedbacks (remove) + + - Team: /scilab-team + +- Search: + + - TBC Book Search : /textbook\_search + + - Book search : /textbook\_search + + - Alphabets: /textbook\_search/book/A + + - By book title: /textbook\_search/book + + - Alphabets: /textbook\_search/book/A + + - By author : /textbook\_search/author + + - Alphabets: /textbook\_search/book/A + + - By College: /textbook\_search/college (dropdown book) : + + - By student: /textbook\_search/student + + - Alphabets: /textbook\_search/book/A + + - TBC Code Search: /tbc\_solr\_search (to be changed) + + - Enter text: (eg:plot2d): /tbc\_solr\_search?key=plot2d ----> + list of examples along with Download entire book and view + this example (click) -----> /index.php?eid=#### + + - SciLinks Search: /scilinks-search + + - link to scilinks page : /scilinks and google custom search bar + + - Advanced Search: /search/node (Can be removed and not working + either) + +- News and Events: + + - News: /www.scilab.org/community/news/2013 ----> change to + scilab.org/community/news + + - Upcoming Remote Workshops: /upcoming\_workshops + + - Testimonials: /testimonials-page-1 + +- Feedback: + + - Feedback page : /feedbacks + + - link to AICTE feedback page: Remove it + +================================================================ + +================================================================ + +**Textbook companion project (not logged in):** +http://www.scilab.in/Textbook\_Companion\_Project + +**Menu (order to be +`*changed* <https://docs.google.com/document/d/1xtxd6e2_nTaW8jAdSqTji7kmIz-kZy1xcJ7wn9qESaE/edit>`__)** + +- Internship : /Textbook\_Companion\_Internship + +- Guidelines for Coding: /guidelines-coding + +- Honorarium: /tbc\_honorarium + +- Flowchart: /files/textbooks/flowchart.pdf (make it open in a new tab) + +- FAQs: /FAQ-textbook-companion + +- Completed Books: /Completed\_Books + +- Books in Progress: /Books\_Progress + +- Book Search: /textbook\_search + +- Book Proposal: /book\_proposal + +- Download Codes: /textbook\_run (Remove as it does not work when not + logged in) + +- Internship Forms: /Summer\_Internship\_Forms (Forms need to be + updated) + +**---------------------------------------------------------------------------------------------------------------------** + +**Internship :** (/Textbook\_Companion\_Internship ) contain the +following active links: + +*Scilab Resources:* +http://spoken-tutorial.org/tutorial-search/?search\_foss=Scilab&search\_language=English + +Propose you preferred choice of books, using the proposal form *here*: +/book\_proposal + +*Completed Books*: /Completed\_Books + +*Books in Progress*: /Books\_Progress + +*interface*: /textbook\_companion/code + +internship forms. For further details *click here*: +/Summer\_Internship\_Forms + +*revision of your honorarium*: /tbc\_honorarium + +*e-certificate*: /certificate and *honorarium*: /tbc\_honorarium + +reduced honorarium. For further details, *click here*\ ( +/tbc\_honorarium). + +================================================================================== + +**Textbook Companion Review:(not logged in)** /tbc\_external\_review + +- Procedure : /tbc\_external\_review/procedure + +- Honorarium: /tbc\_external\_review/honorarium + +- Review Checklist: /tbc\_external\_review/checklist + +- Reviewership Forms : /TBC\_Review\_Forms + +**lab migration project :** /Lab\_Migration\_Project (ask shamika for +details) + +================================================================================== + +**##########################################################################** + +**#####################################################################** + +**Textbook companion review** + +Admin Side (Lavitha and Bhavani) (This applicable to ER as well) + +- Procedure (/tbc\_external\_review/procedure) + +- My review books (/tbc\_external\_review/selected\_books) + +- My review comments (/tbc\_external\_review/comments) + +- My review status (/tbc\_external\_review/status) + +- Eligibility test (/tbc\_external\_review/eligibility\_test) + +- Honorarium (/tbc\_external\_review/honorarium) + +- Check list (/tbc\_external\_review/checklist) + +- Reviewership forms (/TBC\_Review\_Forms) + +---------------------------------------------------------------------------------- + +Main page of TBC review + +Existing Flow 1: Main Page + +Textbook companion review(/tbc\_external\_review) **---->** main page: +click here **--->** procedure page (/tbc\_external\_review/procedure) +**---->**\ page: click here **---->** profile page +(/tbc\_external\_review/profile): editable page with update button +(button click) **---->**\ Eligibility test page +(/tbc\_external\_review/eligibility\_test) along with the msg: profile +updated. + click here link\ **----->** blank page with “we will get back +to you” msg (/tbc\_external\_review/eligibility\_test/end) + +Updated Flow 1: + +Textbook companion review(/tbc\_external\_review) **---->** main page: +click here **--->** procedure page (/tbc\_external\_review/procedure) +**---->**\ page: click here **---->** profile page +(/tbc\_external\_review/profile): editable page with update button +(button click) **----->** Textbook companion +review(/tbc\_external\_review) along with the msg: profile updated. + +========================================================== + +My review books + +Existing flow 1: My Review books + +My review books (/tbc\_external\_review/selected\_books)-----> list of +books allotted to me along Download links +(/full\_download\_external/book/####) : note the following link is +visible only when right clicked. Left click results in direct dowload +w/o change in url + +Updated flow 1: + +Not needed + +============================================================ + +My Review comments + +Existing Flow 1: My Review comments + +Page with Review comment tab as default +(/tbc\_external\_review/comments) -----> drop down box “please select a +book” (list of allotted books) ----> “please select a chapter” +---->”please select the example” ----> Type of errors found checklist +along with submit button ----> Review comment page +(/tbc\_external\_review/comments) with message “comment submitted +successfully” + +Updated Flow 1: + +not needed + +---------------------------------------------------------------------------- + +Existing flow 2: TBC Captions + +Review comments tab(/tbc\_external\_review/comments) ----> Review +captions tab (/tbc\_external\_review/comments/captions)---->List of +allotted books along with review caption link : when clicking one of +them -----> List of chapters and caption names along with checkboxes +(/tbc\_external\_review/comments/captions/####) + submit button -----> +(/tbc\_external\_review/comments/captions/####) back to same page. + +Update flow 2: + +not needed + +------------------------------------------------------------------------ + +Existing flow 3: View comments + +Review comments tab(/tbc\_external\_review/comments) ----> view comments +tab (/tbc\_external\_review/comments/view): list of allotted books along +with view link ----> (/tbc\_external\_review/comments/view/####) ----> +list of chapter and example along with view link---->marked comments on +the same page + +Update flow 3: + +not needed + +==================================================== + +My review status + +Existing flow 1: + +List of allotted books along with action[completed/ mark complete] +(/tbc\_external\_review/status)-----> +(/tbc\_external\_review/status/complete/####) options : Yes/ No, Buttons +: submit/cancel -------> (/tbc\_external\_review/status) if submit : +“Book marked completed” msg ----> trigger automated mail regarding the +completion of the book to Admin and ER + +Update flow 1: + +not needed + +========================================================= + +Eligibility Test + +Existing Flow 1: + +Eligibility test page (/tbc\_external\_review/eligibility\_test) click +here link -----> Test question pops +(/tbc\_external\_review/eligibility\_test/question/1) + +Update Flow 1: + +Eligibility test page (/tbc\_external\_review/eligibility\_test) click +here link\ **----->** blank page with “You already cleared your +eligibility test” msg (/tbc\_external\_review/eligibility\_test/end) + +======================================================= + +Honorarium + +View tab : /tbc\_external\_review/honorarium + +edit tab (only for Admins): /node/789/edit + buttons: preview and save : +if save ----> /tbc\_external\_review/honorarium + +Review checklist + +View tab: /tbc\_external\_review/checklist + +edit tab (only for Admins): /node/789/edit + buttons: preview and save : +if save ----> /tbc\_external\_review/checklist + +Reviewership forms: + +view tab: /TBC\_Review\_Forms + +edit tab (only for Admins): /node/790/edit + buttons: preview and save : +if save ----> /TBC\_Review\_Forms + +========================================================= |