HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


I am stuck - Theme block sides.

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#43770 (In Topic #9731)
Avatar

Community saint

How do I do images for the sides of a block.
I want different images for both sides.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#43771
Avatar

Community saint

 Getting closer but still do not have it.

I have this in my ccs

Code

.standardbox_inner_curved, .standardbox_iesucks {
 background-color: #d9d9ff;
background: url("{$IMG,standardboxes/rright}") 100% 100%;
background-repeat: repeat-y;
}
.standardbox_inner_curved2 {
 background-color: #d9d9ff; <
background: url(&amp;quot;{$IMG,standardboxes/lleft}&amp;quot;) 100% 0;
background-repeat: repeat-y;
}

And this in the template

Code

 {+START,IF_NON_EMPTY,{LINKS}}
 {$SET,linkbar,_false}
 <div class=&amp;quot;standardbox_inner_curved2&amp;quot;><div class=&amp;quot;standardbox_inner_curved standardbox_links_classic community_block_tagline&amp;quot;> [
 {+START,LOOP,LINKS}
 {+START,IF,{$GET,linkbar}} | {+END}{_loop_var}{$SET,linkbar,_true}
 {+END}
 ] </div></div>
 {+END}

Its only doing the right side with that code.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#43841
Avatar

Community saint

Yes I did it, now to finish this theme thats based on the new theme you have here.


I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: