Elxis CMS Forum

Extensions => Modules => Topic started by: dados on May 26, 2009, 22:19:39

Title: Modules style Error
Post by: dados on May 26, 2009, 22:19:39
Hello, I want to do it style with rounded corner, and do it with this tutorial https://www.elxis.org/guides/developers-guides/rounded-corners.html but I have some errors, so can you please tell me where I can edit module style, where is this file in which are defined hove will be displayed modul if you put -2 or -1 or -3.

from tutorial I put in my layout.css code:
Code: [Select]
/* First div (top left) */
 div.module-round {
     background: #FF0000 url(../images/tl.gif) 0 0 no-repeat;
     margin: 0; .............................................................................. etc.

And in index.php I put:
Code: [Select]
<div class="module-round">
     <div>
         <div>
             <div>
                 <h3>Module title</h3>
                 Module content
             </div>
         </div>
     </div>
 </div>

And of course I put -3 on module in inex.php, and I get this

[attachment deleted by admin]
Title: Re: Modules style Error
Post by: dados on May 27, 2009, 00:41:15
Ho man, please help somebody, I use now another solution, and now I have this erorr please see image attach

[attachment deleted by admin]
Title: Re: Modules style Error
Post by: Ivan Trebješanin on May 27, 2009, 01:39:35
C'mon dados, it's just a simple rounded box! I know you can make it.

You have 25 options listed here: http://www.cssjuice.com/25-rounded-corners-techniques-with-css/

EDIT: You can generate round corners box here: http://www.roundedcornr.com/
Title: Re: Modules style Error
Post by: dados on May 27, 2009, 02:51:51
C'mon dados, it's just a simple rounded box! I know you can make it.

You have 25 options listed here: http://www.cssjuice.com/25-rounded-corners-techniques-with-css/

EDIT: You can generate round corners box here: http://www.roundedcornr.com/

Thanks Ivan, I do it... I did not why but I have one div tag plus, so I delete it in file frontend.html.php where is -3 style and now its Okay !!!  ???

And thanks for this links, its great...  ;)
Title: Re: Modules style Error
Post by: Ivan Trebješanin on May 27, 2009, 03:52:57
I did not why but I have one div tag plus, so I delete it in file frontend.html.php where is -3 style and now its Okay !!!  ???

There is no extra div! What do you mean  ???
Title: Re: Modules style Error
Post by: dados on May 27, 2009, 14:57:48
I did not no why but, in first problem with rounded corners without border and red color I have some plus div in index.php in my template, when I delete this its been Okay but with one error, bottom right image was show 2 times, and when I delete one div tag in frontend.html.php its Okay then.

My index.php

Code: [Select]
<div id="box-position1">
      <div class="module-round">                       
             <?php mosLoadModules(&#39;user1&#39;, -3); ?>
      </div>
</div>

In second problem where I get rounded corners with border I use png images without background and its been problem, there was no background to cover surplus image...
Title: Re: Modules style Error
Post by: kebic on May 27, 2009, 15:08:27
Браћо, сад и ја ко грци на нашком језику пишем, али ми није јасно зашто се дописујете на енглеском делу форума а не на нашем?  ???
Title: Re: Modules style Error
Post by: dados on May 27, 2009, 17:52:05
Sory braco, nemam pojma zaneo sam se  :-\ mislio sam da cu brze dobiti odgovor na engleskom... ali cini mi se da sam pogresio  :-[ :-[

Uglavnom sad mi radi zaobljeni uglovi i sa svim divovima u frontend.html.php , cini mi se da sam ja nesto zeznuo u index.php fajlu od templejta ali sad sve radi kako treba.

Now its all working well, and with extra div in file frontend.html.php, I think I have some error in my index.php file in my template...
Title: Re: Modules style Error
Post by: datahell on May 27, 2009, 19:53:06
Please write in English in this part of the forum.
Title: Re: Modules style Error
Post by: dados on May 27, 2009, 20:50:32
Okay, Sorry. I replay on Serbian and on English same post.