Re: multiple blogs - but all on the admin frontpage?

Hannes Gassert <[email protected]> Thu, 17 Aug 2006 20:23:32 +0200
Newsgroups gmane.comp.cms.bitflux.general
Organization mediagonal Ag
Message-ID <1155839012.5566.84.camel@hg3>
On Wed, 2006-08-09 at 08:58 +0200, Christian Stocker wrote: 
> On 9.8.2006 7:46 Uhr, Hannes Gassert wrote:
> > Having multiple blogs in Flux proved to be really easy (blogid
> > in .configxml, done, works), but all these blogs appear on the admin
> > frontpage, without being able to know which is which. 
> 
> The best thing would be to add the collection-url on top of each box 
> after "BLOG". Look at getOverviewSections() in the blog plugins for 
> adjusting this

Done that (prepend path if path != '/blog/'), but there's two other
places that need a little attention before this actually works:

      * Change bx_domdocs_overview.addTab so it doesn't use the title
        only to generate an id .. I just added a little randomness there
        to have actual ids - tabs are obviously broken otherwise.
      * Not quite sure, but in inc/bx/plugins/blog.php you find a couple
        of times the hardcoded path '/blog/' (mainly in perm stuff..) -
        should be changed to $path, I guess.

See you soon,
Hannes



-- 
mediagonal sa // route de la fonderie 7 // ch-1700 fribourg
tel 026 422 25 11 // key id 0x9EA04604 // www.mediagonal.ch

-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms