xoops forums

Bleekk

Theme Designer
Posted on: 2013/10/22 10:05
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 934
Since: 2002/12/14
#1

block options

Hi,

I am trying to create a block with a select dropdown and 2 options: left, right.

Can someone explain me how to achieve this?
I was playing around with the xoops_version.php (module) and the block edit and show functions but I didn't get it together.
The selected option needs to be displayed as a smarty in the block template.

Thanks!

Bleekk

Theme Designer
Posted on: 2013/10/22 10:50
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 934
Since: 2002/12/14
#2

Re: block options

I figured it out
It was very easy using XoopsFormSelect