PDA

View Full Version : Mosaic or Not


Theystolemysoul
06-25-2008, 12:29 PM
I am trying to install the Mosaic add-on.

Please be patient with me here, as I am on a steep learning curve.

The instructions for the add-on state:

1. Open mosaic.php in your favorite editor and change the totalTiles variable to the number of tiles you want to output.
2. Put mosiac.php in your addons folder.
3. Add <MOSAIC> to a template. I made a new template that only displays the mosaic.
4. Add the following css styles to your css file or template: (then lists the code)


I have done steps one and two (clever me!) but I have two questions:

1. Where it says 'Add <Mosaic> to a template', what exactly is the process of doing this (idiots guide please)?
2. I have opened what I think is the correct CSS file under templates>switchy>styles>dark.css and am presented with a
long list of code. Do I simply paste the 'a.mosaic { border:none.....' into this file somewhere? If so where exactly. If not, what file?

Tinkering around under the hood gives me the fear.

Dkozikowski
06-25-2008, 05:48 PM
1. Where it says 'Add <Mosaic> to a template', what exactly is the process of doing this (idiots guide please)?


It depends where you want the tiles to show up. I'm assuming you would want them on a new page and to do this you'll have to create a new template file. The easiest way to do this would be to:

Open the templates>switchy>about_template.html file in a basic text editor. Copy all the code inside the about_template.html file and paste it into a new blank file.
Save this file to your desktop and name it mosaic_template.html
Edit the contents of the newly created mosaic_template.html file and remove any unwanted text.
Place the <MOSAIC> template tag within this file. (You'll probably have to place in within the general vicinity of the text you removed in the above step.)
Once you've done this, upload it to your templates>switchy folder and you can access the file by visiting http://www.apollo18.co.uk/index.php?x=mosaic


2. I have opened what I think is the correct CSS file under templates>switchy>styles>dark.css and am presented with a
long list of code. Do I simply paste the 'a.mosaic { border:none.....' into this file somewhere? If so where exactly. If not, what file?
That sounds like the correct file. Just paste the code at the very bottom of the file on a new line.

Theystolemysoul
06-25-2008, 07:55 PM
Thanks so much.

It's now working splendidly.

In return, I shall leave my earthly possessions to you when I die.

This includes one house, one cat and a wife.