Loading...
 
Skip to main content

Features / Usability


inserting a module in a wiki page [SOLVED]

i inserted the module last_blog_posts into a wiki page using:

Image
Copy to clipboard
{MODULE(module=>last_blog_posts,align=>right,widh=>1000,max=>10)/}


it works, and it is alligned right

but when i post something in a blog the module gets streched to the left, using the whole page widh.

how can i have the wiki page to look like this:

texttexttexttexttexttextMODULE
texttexttexttexttexttextMODULE
texttexttexttexttexttextMODULE
texttexttexttexttexttextMODULE
texttexttexttexttexttextMODULE


with the module alligned to the right, with some text to his left (and of course not in a table)

thanks

> i inserted the module last_blog_posts into a wiki page using:

> Image
Copy to clipboard
{MODULE(module=>last_blog_posts,align=>right,widh=>1000,max=>10)/}

>
> it works, and it is alligned right
>
> but when i post something in a blog the module gets streched to the left, using the whole page widh.
>
> how can i have the wiki page to look like this:
>

>
texttexttexttexttexttext MODULE
> texttexttexttexttexttext MODULE
> texttexttexttexttexttext MODULE
> texttexttexttexttexttext MODULE
> texttexttexttexttexttext MODULE

>
> with the module alligned to the right, with some text to his left (and of course not in a table)
>
> thanks


Newest Blog Posts

No records to display
The Module plugin doesn't seem to have a width parameter, actually. The syntax shown for it in "Show plugin help" doesn't include a width parameter, and no values I put in for width did anything.


I suppose the width of the module is normally constrained in the left and right columns by the width set for the box that contains it and/or by the column width. These constrains are absent in a wiki page and elsewhere.

Since the plugin doesn't have its own width parameter, try putting it in a div, where you can set the float and width, like this:

Copy to clipboard
{DIV(float=>right,width=>280px)}{MODULE(module=>last_blog_posts,align=>right,max=>2)/}{DIV}


-- Gary

cool, it works!
the only thing is, i don't realy know what a DIV is, could you explain it to me so next time i don't need to ask again?
thanks

ok just forget what i asked, dumb question...

thanks!