WARNING: This is a development branch, it is likely to contain bugs and should not be used in production environment. Use latest stable version in master brtanch instead: https://github.com/magicoli/wrap/
This is a very old application. The git repository already dates back to 2013, but the project itself started in the early 2000. As such, it contains a huge lot of outdated code an bad practices and became very difficult to maintain.
There were already several attempts to rewrite it from scratch (v4.x and 5.x), but as it is used daily, it has always been difficult to achieve a state where new version could be installed seamlessly in old websites.
Version 5.5 is a new approach: restart from the latest stable version (3.1.1) and implemment the new features one by one, while maintaining an absolute backwards compatibility.
Wrap is a basic CMS, aimed to display mostly galleries of images or videos. The idea is to allow the website maintainer to push media in subfolders. The structure of the websites and the menus is detected automatically.
It is not intended to be a full-featured CMS. Instead, it allows to automatically publish videos and pictures playlists.
It is designed for fast, efficient media transmission. Although it is possible to make a pretty beautiful website with this system (and I did), it's not the goal.
It is poorly documented, but it works now with PHP7 (and probably 8).
- VERY IMPORTANT: Put this project outside your web directory. It contains unprotected scripts and tools aimed to alter your disk content
- bin/ tools are not needed for web publishing. They are used to manipulate video files. If you only need to publish ready to use files, you can safely (and should) remove bin/ folder
- In your apache config, add alias, rules and wrap.php as DirectoryIndex:
Alias /wrap/ /opt/wrap/ DirectoryIndex index.php index.html /wrap/wrap.php <Directory /opt/wrap/> <IfVersion < 2.3> Order allow,deny Allow from all </IfVersion> <IfVersion >= 2.3> Require all granted </IfVersion> AllowOverride All </Directory> - you can place wrap.css and wrap.html in your web root folder to customize layout
- use themes/bootstrap/page-template.html as base for wrap.html and be sure to include all needed shortcodes
- More on this later...