Post by Nija » Sun Apr 15, 2012 1:57 am

Salut.
Ma intereseaza sa pun modulul slideshow pe 2 coloane (centru+dreapta - ca in poza atasata)
Puteti va rog sa ma indrumati ?
Multumesc.Image

Active Member

Posts

Joined
Sun Oct 31, 2010 5:19 pm
Location - Constanta, Romana

Post by florinsith » Sun Apr 15, 2012 2:17 am

Editezi temata/template/common/home.tpl si muti pozitia content top, in afara divului content, cam asa:

Code: Select all

<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div style="margin-left: 195px; clear: right;">
<?php echo $content_top; ?>
</div>
<div id="content">
<h1 style="display: none;"><?php echo $heading_title; ?></h1>
<?php echo $content_bottom; ?></div>
<?php echo $footer; ?>
Iar in admin, pentru layoutul home, adaugi doar modulul slideshow in content top, iar celelalte module din homepage content(recomandate si ce/daca mai ai) adauga-le in content bottom. Ideea e ca slideshow sa fie singur in content top.
Te rog sa postezi daca afiseaza ok sau nu.

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by Nija » Tue Apr 17, 2012 10:01 pm

Salut florinsith
Am facut setarile din admin exact cum mi-ai spus.
Am inlocuit codul cu care mi l-ai dat tu in /template/common/home.tp dar nu apare OK.
Practic coloana din mijloc (bannerul) incepe de unde se termina prima coloana (cea din stanga).

Active Member

Posts

Joined
Sun Oct 31, 2010 5:19 pm
Location - Constanta, Romana

Post by florinsith » Wed Apr 18, 2012 8:37 pm

Da, nu merge , scuze. O metoda mai simpla, incadreaza tot continutul din home intrun div:

Code: Select all

<?php echo $header; ?>
<div id="homepage">
<?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
<h1 style="display: none;"><?php echo $heading_title; ?></h1>
<?php echo $content_bottom; ?></div>
</div>
<?php echo $footer; ?>
Iar apoi in stylesheet.css adaugi:

Code: Select all

#homepage #column-right {
    margin-top: 270px;
}
unde inlocuiesti 270 cu inaltimea sliderului tau+marginea de jos.
Aceasta metoda am incercat-o si merge.

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by Nija » Sat Apr 21, 2012 12:32 am

Salut si multumesc de ajutor.
Am facut cum mi-ai spus, dar fara nici un efect ...
Cand am largit marimea banner-ului s-a suprapus catre coloana din dreapta. Ca in imagianea atasata.
Probabil ar trebui sa mutam si coloana din dreapta in jos ?
Image

Active Member

Posts

Joined
Sun Oct 31, 2010 5:19 pm
Location - Constanta, Romana

Post by florinsith » Sat Apr 21, 2012 4:27 am

Asta se intampla folosind codul de mai sus, coloana din dreapta se muta in jos. asigurate ca ai facut modificarea corect. deja am testat si functioneaza.

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by Nija » Mon Apr 30, 2012 6:59 am

Nu am apucat sa testez
Te tin la curent.
Meltumesc de raspuns!

Active Member

Posts

Joined
Sun Oct 31, 2010 5:19 pm
Location - Constanta, Romana

Post by alex21 » Wed May 23, 2012 6:48 pm

problema a fost rezolvata..multumim celor care au raspuns.

New member

Posts

Joined
Sat Jan 28, 2012 4:26 am
Who is online

Users browsing this forum: No registered users and 2 guests