This repository was archived by the owner on Oct 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Snippet and article editing
tarryn edited this page Dec 12, 2014
·
1 revision
We can change the wording on paperight.com by editing snippets and articles in /server.
Emails work slightly differently to normal content. this is because they use a special templating engine called Velocity, which uses a "model" to populate variables. (Unlike for instance the payment-confirmation, where we had to invent tags like [$transactionReference$].)
The "models" available in the emails closely follow the db, e.g.:
- there is a field called "lastName" in the 'User' table, so you can use "$user.lastName"
- there is a field called COMPANY_ID in the 'User' table, and a field 'phoneNumber' in the 'Company' table, so you can use "$user.company.phoneNumber"
The Paperight project is managed by Arthur Attwell at Electric Book Works. Read the Paperight story or visit the blog.
- The publications on the website
- Adding documents to Paperight
- Automated HTML PDF conversion
- Automated PDF PDF conversion
- CSV & Metadata management
- Papercat browsing categories
- Products: Edit products
- Products: Product Ownership
- Scrubbing HTML from epub files
- Working with documents
- What does this website do?
- Introducing the website
- Finding a publication
- Forgotten passwords
- How can I use this website to start and sustain a business?
- How do I change my email address?
- How to buy a book
- How to print marketing posters
- How to register and log in
- How to top up your account
- How to use this service to grow your business
- Is this legal?
- Printing a PDF
- Buying a licence
- Can I be the only outlet to sell books this way in my area?
- Searching
- The publications on the website
- What do Paperight print outs look like?
- Publishers Guide
- Forgotten passwords
- How are publishers paid?
- How do I change my email address?
- How do I get my publications onto Paperight?
- How to register and log in
- What about the publisher's copyright?
- What do Paperight print outs look like?
- What do publishers earn?