1
antifmradio
(XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?

I have been searching here and google for information on this but no luck
im using Version: 2.03 of xcGal ( Photo Gallery )
when i use the scrolling thumbs block, it scrolls vertically.
I need it to go Horizontally.

Can anyone help me on this one?
I even tried looking at the block code and i cant see what to change
also tried looking at the .js script files in the JS folder
and that will ONLY allow vertical

2
mariane
Re: (XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?
  • 2009/9/9 8:48

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


hello,
you can make any block scroling horizontaly just by adding this code to any template, in xcgal choose for example static block, edit it and add this form in the begining of the block:
<marquee behavior='scroll' direction='left' width='100%' height='80' scrollamount='1' scrolldelay='60' onmouseover='this.stop()' onmouseout='this.start()'><BR>

and this , in the end of the block:
</marquee>

it will let pictures move from left to right.
now update your module and go to blocks area in your website, choose statistic blocks from the module, choose random picures and horizontaly view, and then test your block

3
antifmradio
Re: (XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?

thanks hommie

i tried it and at first it just created a random inage block showing horizontal images.
it didnt scroll anything

when i went back to edit the template again
the lines of code i pasted were gone ( strange )


This is what i ended up with

<marquee behavior='scroll' direction='left' width='100%' height='80' scrollamount='1' scrolldelay='60' onmouseover='this.stop()' onmouseout='this.start()'><BR>  <table width="100%" cellspacing="1" align="center">   <{if $block.position == 1}>   <tr>     <{foreach item=pic from=$block.pics}>     <td align="center" class="odd" style="padding: 10px;vertical-align: middle;">                 <a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}></a><br />                 <{$pic.caption}>         </td>         <{/foreach}>   </tr>   <{else}>   <{foreach item=pic from=$block.pics}>   <tr>     <td align="center" style="padding: 10px;vertical-align: middle;">                 <a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}></a> <br />                 <{$pic.caption}>         </td>   </tr>   <{/foreach}>   <{/if}> </table> </marquee>


when i click VIEW while editing the template
it looks fine
but if i try to go back to the block administration
and edit the settings for that block
it gets all messed up again

4
sailjapan
Re: (XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?

You're working on a cloned template, right?

5
antifmradio
Re: (XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?

cloned? no this is the original module xcgal
only had to download it
and upload it
set the permissions and such

6
sailjapan
Re: (XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?

Quote:
when i went back to edit the template again the lines of code i pasted were gone ( strange )


Unless you're working directly on the file rather than through the admin>system>templates> back end, you have to create a clone of any templates you're working on. The default templates are not editable (so as you always have a back up). Changes to default templates made through the back end won't stick.

7
antifmradio
Re: (XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?

WOW well that explains ONE thing about it

when i got it to work for a sec
it would show 8 pics but no scrolling

ill go at it again by pulling the file down
copying
and uploading an edited version

8
sailjapan
Re: (XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?

or just click on 'clone' in admin>system>templates (don't forget to change template set in system>preferences>general settings) then work on the new template through backend to make changes.
It means that you'll always have a backup of the original for rainy days.

9
antifmradio
Re: (XCGALLERY) V 2.03 "Horizontal scrolling Thumbs?

ok got it working
thanks
i missed the CLONING part

Login

Who's Online

227 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits