1
wdsl1
Why is no DIV-Box arround every Modul Template?
  • 2004/11/5 13:39

  • wdsl1

  • Just popping in

  • Posts: 39

  • Since: 2004/11/3


Hi,
Why is no DIV-Box arround every Modul Template?

When i try to change the style only on one Modul it will be simplier wenn there was a
arround.

Is there a couse why it is not so? because i will change this on my side and i was afraid that nothing work after.

thx for your help

mfg
wdsl

2
rcjohnson
Re: Why is no DIV-Box arround every Modul Template?
  • 2004/11/5 15:21

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Are you talking about the black border line around the block?

3
ackbarr
Re:Why is no DIV-Box arround every Modul Template?

no he is talking about a div container that can be used as a hook for styling. The simple answer is, the module developer didn't include one in their templates. However, since most XOOPS 2.0 modules use templates, fixing this for your site is a simple matter of cloning the default template set: System -> Templates and modifying the template to include that div container.

4
Mithrandir
Re:Why is no DIV-Box arround every Modul Template?

Surely it would be easier to do this in the theme?

5
ackbarr
Re:Why is no DIV-Box arround every Modul Template?

it would - if there was a smarty tag that represented the current module. Since not, putting the hook in the modules templates is the next step.

6
ackbarr
Re:Why is no DIV-Box arround every Modul Template?

As a module dev, I make it a habit in xhelp to put a unique ID container around each page template, so that CSS designers have hooks to ID each page individually if desired.

7
Mithrandir
Re:Why is no DIV-Box arround every Modul Template?

I still hold that it would be easier to add once than in all templates.

Adding modulename as a Smarty variable in header.php and using it in the theme is much less work than editing each and every module template

(However, I did miss that the modulename should be in the div tag, so a little more work than just adding it to the theme)

Login

Who's Online

300 user(s) are online (271 user(s) are browsing Support Forums)


Members: 0


Guests: 300


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