1
showcase17
1 block without the theme
  • 2005/1/15 10:09

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0


I've got 1 block which has random images in them (coming of the XGallery module). I want this block to be without any theme-stuff. So no borders...

Is there a way to do this?

2
Herko
Re: 1 block without the theme
  • 2005/1/15 10:36

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


not without a lot of editing in the templates. The block container layout is defined in the theme.html, and goes for either all or none of the blocks. You can put the container layout in the block templates themself, butthat means you will have to edit every block you sho on your site to add the container layout to the blocks.

So there is no easy way to do this, I'm afraid...

Herko

3
sgshell
Re: 1 block without the theme
  • 2005/1/15 11:14

  • sgshell

  • Just popping in

  • Posts: 94

  • Since: 2004/10/4


actually you can try do this....

step 1
create the block in block admin with a unique name title example "gallery".

step 2
edit yours themes "theme_blockcenter_r.html" and amend it to this code(themes example is x2t):

<{if $block.title =="gallery"}>
<{$block.title}> ///this is to call to block gallery
<{$block.content}> ///amend as you wish
<{else}>
/// this is for normal block
/// amend as you wish
<{$block.title}>

<{$block.content}>

<{/if}>

step 3 upload "theme_blockcenter_r.html"

i have use this in my site and it work perfectly and i can change any block themes without many modification.

4
showcase17
Re: 1 block without the theme
  • 2005/1/15 23:18

  • showcase17

  • Not too shy to talk

  • Posts: 190

  • Since: 2005/1/6 0


Thanx SGSHELL!

your sollution worked, even solved my other prob with bg-colors with it!

Login

Who's Online

218 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

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

Latest GitHub Commits