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.


image fader block

Login / Search

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

Fan in training

use image fader block on main page full size

hey everyone,
     new to ocPortal and so far I love it!  I have a question about using a image fader block on the main page.

Is it possible to use it on the main page and have the image fix across the screen?  When I use it the image is the size of the side block (which I guess it was designed for and works perfectly for) but I would like ot use it on the main block as sort of a here is what is going on section with a bunch of rotating images of activities.

When I add it to my main block it does work and rotate the images on my gallery but its only using half the available width and the section looks a little wierd…….

any advice/suggestions or thoughts are welcomed and thanked in advance

dougc

ps

please forgive me if I posted in the wrong forum and feel free to correct me
Back to the top
 
Posted
Rating:
#79963
Avatar

Community saint

I think this would have done better in the Deployment forum.

I took a quick peek and since I see no references to sizes in the CSS or tpl or php file for the block I can only assume it is related to this line of the tpl file?

Code

{+START,BOX,,,{$?,{$GET,in_panel},panel,classic}}

I am new and haven't really delved into the Tempcode programming yet but I assume you could change it to this:

Code

{+START,BOX}

Look in  your theme file for the BLOCK_MAIN_IMAGE_FADER.tpl Copy it and save it to templates_custom with the change applied.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: