Carry out the following steps:
We start with a two new directories—one named
ftp_gallery
inblocks
and another namedftp_gallery
but this time infiles
. Putting our pictures in a directory underneathfiles
has the advantage that we're less likely to have problems with directory permissions as thefiles
directory has to be writable and concrete5 checked that during the installation.The lightbox script files we need can be copied from the previous template, which you can find in
blocks/slideshow/templates/gallery
; only the directoriescss
,js
, andimages
are needed. If you haven't created that template, download the script from http://leandrovieira.com/projects/jquery/lightbox/ and extract all the three directories from the ZIP file. However, remove all JavaScripts exceptjquery.lightbox-0.5.min.js
.Both files,
add.php
andedit.php
, are identical again:<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $this->inc('form_setup_html...