CPM Staff Tutorials

How do you edit the landing page of ebooks.cpm.org

Updated on

This article describes how to edit the landing page using Bit Bucket.

Everything below this is old. As of summer 2020, edit the landing pages as follows:

(typeid 411, title all,names motd (teacher/admins),motds (students),motdd (demo)The eBook landing pages are typeid 0 and name demotitle, teachertitle, and title

dadmin.cpm.org / aws-mariadb.cqeptcmckq3w.us-west-2.rds.amazonaws.com / cpm_c3po_ebooks_2020_07_17 / contents | phpMyAdmin 4.9.4

1. Go into Bit Bucket

  • Choose the php eBook repository.
  • Click 'Source'.
  • Click the folder 'src'.

2. Choose:

  • Templates
  • index_covers.tpl

3. Scroll through the code to about line 90-130 to find the landing page narrative content.

  • Note: The line numbers will change as content is added.
  • Note: This code is for both the teacher eBook and the student eBook.
  • Note: You MUST be on the MASTER!
  • Line 99 says the following code is for teacher eBooks
  • Line 114 says it is for any eBook NOT a teacher eBook.  Right now that would be student eBooks

4. Modify the code.

  • Go to the top and click edit at the right side.
  • Make the desired edits.
  • Click 'Commit' at the bottom in blue.

5. Add any comments. Click 'Commit' again.

6. Log into CircleCi

  • When logging in, click the login with Bit Bucket.
  • Wait until the build is finished.

7. Test and notify developers to deploy

  • Go to ebooks-test.cpm.org
  • Check to see if the edits were correct.
  • If not, redo the first 6 steps.
  • If OK, email developers to deploy.

Hello,

Circle Ci has just built the new landing page for eBooks (master #110).  Could one of you deploy it to ebooks test?  Thanks!

https://circleci.com/dashboard

Previous Article Converting Tiles eTools to the New Tile Tool
Next Article Tooltips