|
|
| Blogsidebar + Floating Module Orthopal |
|
|
|
| Written by Bart Dorlandt |
| Tuesday, 26 June 2007 15:36 |
|
My newest addition to the site is the combination of 2 modules (and 1 component belonging to one of them). This is what I wanted to create. I have a few articles in every category and I wanted to list them before the articles. So you would have an overview before the blog. Unfortunatly I didn't succeed but I have figured out some that is quite as nice. I have used the BlogSidebar. This is a combination of a component and a module. It looks a bit like the sidebar of Wordpress. You can do the following:
Change the Module Class suffix to modulefloat That is all for this part. I have put this itemlist inside a floating module, called Floating Module Orthopal. You can define an absolute location and it will scroll along.
Now the tricky part. I have change a bit of configuration so it would suite my needs. I wanted you change the Module Class suffix, so I could change it and modify some settings with my css. Change the file: mod_floatingmodule_orthopal.xml and enter the following line after the <params> (thanks to Hazman) <param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling" /> Now go back to the module and you're able to change the suffix to modulefloat. Don't forget to change the other parameters to suite your needs. Finally, add the following lines to your template css:
#left .moduletablefloat, #right .moduletablefloat { |
| Last Updated on Thursday, 13 September 2007 00:29 |
| Related items: |
|---|
|


