php based website using custom CMS and database design
Copyright 2015 Bekah Sealey
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This responsive website was designed to reflect a virtual immersion in the environment of the pilgrimage journey that it presents.
- Full screen lightweight background images are showcased, and bottom padding is used to allow the text to roll up the screen for an unobstructed view of the backgrounds.
- The responsive format transitions from single column on small screens with mobile Slick-nav menu, to two columns and three column views.
- A jQuery script places sidebar content below main content on smaller format screens.
- Videos on the home page are pulled through a random database call.
- Page and post urls are rewritten to provide better SEO value.
- Custom text editor creates posts and pages in markdown, interpreted using Michelf's Markdown PHP plugin, with a cheatsheet available on hover.
- Editor also includes ability to add extra HTML for advanced content needs.
Scripts adapted from PHP Solutions with my own modifications
- PHP 5.3 - for Michelf Markdown
- Apache web server - to use htaccess files
- jQuery (installed via CDNJS)
- Modernizr (installed via CDNJS)
- SlickNav (installed via CDNJS)
- Michelf Markdown - installed into includes/Michelf
- reCAPTCHA - installed into includes
- Amaranth font (installed via Google Fonts)
Removed from redistribution
- Heading: ArmWrestler
- Body: Colaborate
- Icons: Web Symbols
- Create database tables according to the structure in database-structure.odt
- You may want to preload your desired categories into the database at this time
- Update includes/connection.php with database connection information then upload all documents to the server
- Update reCaptcha keys and your email information on lines 19, 20 and 26 on contact-us/index.php
- Update Google Analytics tracking code in includes/analyticstracking.php
- Update new.php, new-page.php, _edit.php, and _edit-page.php in the admin directory with correct server path to your images and thumbnails directories
- Note category id's and page id's from the database and update website page files accordingly
- Both sidebars live in includes/sidebar.php and currently must be edited manually
- Currently, videos and their posters are uploaded manually to the videos and posters directories and then the required information is added to the database for the sql query
- Posts and pages are created in the administration panel and require a category to display
- Pages must be added to the navigation manually, in the includes/header.php
- Users are registered from the registration form within the admin/register directory which is protected via Apache's Basic Authentication.
- A valid htpassword file can be created at htaccesstools and uploaded to the admin/register directory
- The admin/register directory can be removed from the server after users are registered
- Create auto download links by linking to the download file: href="/download?file=filename.pdf"