LightNEasy Modules
Note: remove the spaces next to the "%" symbol for the markers to work
Inserting Contact Form module in your page:
Just include % !$contact$! % wherever you want in your page. LightNEasy will create a contact form that will send mails to your email account.
You must set the email address from the setup menu for the contact form to send the messages. You also have to set the "from" email address.
Displaying your Galleries:
Just put % !$galery$! % in your content. If you have more than one gallery, you can display just one of them using % !$galery galeryname$! %.
Note: LightNEasy uses thumbsup.php to generate the image thumbnails, and needs to have PHP GD library running to criate them. Optionally, it can use ©ImageMagic, if installed. Edit thumbsup.php file and follow the instructions there.
Displaying the News Module:
The marker is % !$news$! %. Just place it inside your page where you want the news to be displayed.
News has optional indexes. Full syntax is news expandednews, colapsednews, togglecomments, category. Example: % !$news 5 10 0 1$! % will display the five most recent news expanded, plus 10 addicional news collapsed (only title), no comments and only news from category 1.
Inserting the Downloads Module:
Yes, you guessed it! just put % !$downloads$! % wherever you want them to be displayed.
If you want to display one download category only, use its id. ex: % !$downloads 1$!%.
You can also display the donwloads outside your content, anywhere in the template, using $#downloads#$ or $#downloads 1#$,
Inserting the Links Module:
Again, just put % !$links$! % whenever you want the links to be displayed, or just one link category using % !$links 1$! %.
You can insert link in the same way in your template outside the content, using the equivalent template markers.
You can add/edit/delete News, Downloads and Links from the administration menu.
Inserting Media:
You can insert a mp3 file player, or Youtube or Google videos, using the following markers:
% !$mp3 filename$! %
file name is the relative path to your mp3 file.
% !$videoy videoid$! %
The videoid to insert in videoy is everything after "http://youtube.com/", as it shows when you get the embeb code from Youtube.
% !$videog videoid$! %
For Google video, use everything after "http://video.google.com /googleplayer.swf?docId=".
Wrapper module.
This module allows you to insert an external script into the content of your pages.
% !$wrapper filepath [width]$! %
This module calls the file at filepath from inside an invisible self-adjusting iframe. The optional width sets the window width.