On Jan 25, 2:57 pm, Dhanesh Mane <[email protected]> wrote: > Hey thanks for quick update. > > I have installedhttp://trac-hacks.org/wiki/FullBlogPluginand created > some posts there. > > And now using following code in my wiki page. > {{{ > #!div class="important" style="border: 2pt solid; text-align: center; > float:right;" > [[BlogList]] > > }}} > > This is just displaying blog title linked to its main page with author > name and category. > > BUT I WANT TO DISPLAY SOME TEXT FROM THAT POST ALSO. Same > likehttp://trac-hacks.org. > here is code for trac-hacks right bar. > [[html(<div id="newsflash">)]] > [[BlogShow(blog,news,hidecal=true,num_posts=4)]] > [[BlogPost(tag=(blog,news),readonly=1,link="Post News")]] > [[html(</div>)]] > > BUT BlogShow and BlogPost macros dsnt work in FullBlogPlugin as its > part of trackblog( some other plugin). > I cant use that old plugin, but still want same feature with > FullBlogPlugin.. > > ALSO let me know different ways of using BlogList macro to show some > text from blog. > > On Jan 25, 5:31 pm, Christian Boos <[email protected]> wrote: > > > On 1/25/2011 12:54 PM, Roger Oberholtzer wrote: > > > > On Tue, 2011-01-25 at 03:26 -0800, Dhanesh Mane wrote: > > >> Hey all, > > >> I am new to tracwiki, I am able to understand the wiki macros and some > > >> keywords. I want to have a green box ( which I guess appearing with > > >> help of some macro) like this wiki pagehttp://trac-hacks.org/onmy > > >> web page right side. > > > You need to add the News Flash macro for that. It is available in the > > > link you referenced. Then add this to your wiki page: > > > > {{{ > > > #!NewsFlash > > > Whatever wiki text you want can go here. At least I know links work. > > > }}} > > > Note that you don't necessarily need a macro for that, you can also use > > a #!div block and pass appropriate styling options... > > > Starting with 0.12 you can also build tables this way, with #!td and > > #!td blocks. > > Seehttp://trac.edgewall.org/wiki/WikiHtmlformore details.
Trac-Hacks is still running Trac 0.10 - and it is not the same plugin as it runs an abandoned wiki-based blog and not FullBlogPlugin (which is 0.11+). Go to you LOCAL wiki:WikiMacros page to display help documentation for the macros you have currently installed and enabled, and you should see that it for instance supports "format=float" argument to float the list like on trac-hacks.org. All arguments and descriptions are in the docs. :::simon https://www.coderesort.com http://trac-hacks.org/wiki/osimons -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
