PDA

View Full Version : adding static pictures on homepage


lagkdok
07-23-2008, 07:02 AM
hi friends

well, i'm beginner with vivvo. i'm always trying to know more about this product.

i've seen in some sites static pictures placed on the top of "log in" box and other one at the bottom of the "categories menu".

friends, i want to know how to do this step by step please consider that i'm not expert.

the pictures should be placed like this picture with this dimensions

http://i42.servimg.com/u/f42/11/82/04/55/1144710.png

Micha
07-23-2008, 07:51 AM
Here goes:

1. Copy your images in themes/img folder for example
2. Open your homepage/default.tpl template
3. Place your left image right bellow last include in left column
<vte:include file="{VIVVO_TEMPLATE_DIR}box/comment_tabs.tpl" /> or whatever your last box is.
4. Place your right image right bellow include for poll box
<vte:include file="{VIVVO_TEMPLATE_DIR}box/plugin_poll.tpl" />

And that should be it.

Now in case you don't know how to include image, it should look something like this:

<img src="{VIVVO_THEME}img/NAME_OF_YOUR_IMAGE.gif" />

lagkdok
07-23-2008, 08:23 AM
Micha you are my excellent teacher thank you it works... thank you very much

lagkdok
07-23-2008, 08:38 AM
a last question Micha:

look at this picture :
http://i42.servimg.com/u/f42/11/82/04/55/frderr10.png

in my site the pictures appear but how about this border around the picture? can i do it too? i like to put my pictures in this gray border the same as this one given...

thank you Micha

Micha
07-23-2008, 08:51 AM
Well you can make a box around them, try the following code:

<div class="box">
<div class="box_title_holder"><div class="box_title"> </div></div>
<div class="box_body">
<div class="box_content">
PLACE YOUR IMAGES HERE
</div>
</div>
</div>

lagkdok
07-23-2008, 09:31 AM
thank you very much Micha...

1- how to use an swf? it doesn't work at that way.
2- how can i add links for example to these pictures?.
3- how can i publish these pictures in "all pages" not just in the homepage?
4- how can i align the pictures to the centre? i mean when i place the pictures, using the target for example <img src="{VIVVO_THEME}img/NAME_OF_YOUR_IMAGE.gif" /> they align to the right

thanks a lot

lagkdok
07-23-2008, 09:44 AM
please Micha ignore the last question (4) it's ok now

Micha
07-23-2008, 09:58 AM
thank you very much Micha...

1- how to use an swf? it doesn't work at that way.
2- how can i add links for example to these pictures?.
3- how can i publish these pictures in "all pages" not just in the homepage?
4- how can i align the pictures to the centre? i mean when i place the pictures, using the target for example <img src="{VIVVO_THEME}img/NAME_OF_YOUR_IMAGE.gif" /> they align to the right

thanks a lot

1. http://www.w3schools.com/tags/html5_embed.asp, http://www.w3schools.com/TAGS/tag_object.asp
2. http://www.w3schools.com/TAGS/tag_a.asp
3. http://www.vivvo.net/doc/v4/developer_manual/templates_folder.php