EI PageEar Magic Corner Banner module (vers. 1.0) permits to display a curled banner on the right or left top of browser.
Developed by elxisitalia.com for Elxis CMS, the module is based on webpicasso.de script and validate W3C.
Put the module in the first module position of your template.
Create two images: one version in thumbnail with dimension in pixel 100 x 100 (W x H) and another one with dimension in pixel 500 x 500 (W x H). These are the recommended dimensions.
The destination directory of these images is /modules/mod_eipageear/images/.
If you want manage the pageear's images with panel Manage Media of Elxis (Top Menu --> Site --> Manage Media), you must create a directory in the /images folder of Elxis and modify the two module files.
Thumbnail and image: select trhumbnail and image to use in the pagear.
Thumbnail Width and Height: recommended dimensions are width 100 px and height 100 px.
Image Width and Height: recommended dimensions are width 500px and height 500px. but also 300x300 as dimension are good.
Movement speed: set the speed of the little corner. Defaulr=2.
Mirror: Yes if you want the mirrored immage. No if you want use the color corner.
Color corner: Set the color of the corner in hexadecimal (ex: FFFFFF = white). The color will be use if you have select NO in the Mirror field.
Link: write the link to one page of your site or to another site.
Destination link: Set where you want open the window: same window or new window.
Automatic opening. YES to open automatically the corner when the page and pageear image is loaded. No to open it manually.
Speed closing corner: Set the opening time of the corner.
Position: Set where in which position you want display the module.
Fade in: Set the effect fade in.
CSS position: Set the CSS position
As already mentioned, if you want use Manager Media of Elxis to upload the images to use in this module you must modify the module files ei_pageear.xml and ei_pageear.php.
In first, create a new directory called eipageear in the /images/ folder of your elxis site and copy in this new folder all files from the original module's folder /modules/mod_eipageear/images/.
ei_pageear.xml.
Go to lines 28 e 29 and replace directory="/modules/mod_eipageear/images" with directory="/images/eipageear"
Save the file.
ei_pageear.php.
Goto lines 95 e 96 and replace /modules/mod_eipageear/images/ with /images/eipageear/
Save the file.
Upload the two modified file in the /modules/ elxis foder of your site.
Guide writen by Speck - elxisitalia.com