Web Analytics Made Easy -
StatCounter Need help with Joomla Php please - CodingForum

Announcement

Collapse
No announcement yet.

Need help with Joomla Php please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need help with Joomla Php please

    I need help with php and Joomla 1.5 modules please!

    If a module is assigned a module postition on my template (eg my "left" position), it will output either 1 or 4 divs depending on wether rounded corner support is enabled - (1 div for squared corners, 4 divs for rounded corners-flexable width).

    If I copy the module in Module Manager and then assign the copy to the "right" position on my template, I want the copy to output either 1 or 2 divs (1 div squared corners, 2 divs rounded corners-fixed width) instead of 1 or 4 divs.

    How do I alter the div output of the module if it is used in a certain postion (eg "right" postition fixed width 2 divs for rounded corners)?

    Example -
    Left, top, bottom, middle positions Squared corner =
    <div>
    content
    </div>

    Left, top, bottom, middle etc positions Rounded corner =
    <div>
    <div>
    <div>
    <div>
    content
    </div>
    </div>
    </div>
    </div>

    Right only postition Squared Corner =
    <div>
    content
    </div>

    Right only position Rounded corner fixed width
    <div>
    <div>
    content
    </div>
    </div>
Working...
X