Display a Blog menu

Usta


@Eki,

Great module and great website.

While browsing your website I noticed your attractive photo gallery. I found design very unique and attractive. Can you please give some details on how to implement it?

Thanks!
Usta

AzAkers

Brilliant - just the thing I needed for my logofu.com blog!

XPfrik

In include.php try to replace all active=true with active=1.

It worked for me.

jar

Quote from: Eki on June 20, 2007, 11:45:32 AM
Of course I forgot the snippet itself (attached).

hello . i try to use your snipet but does`n work 
I have News Modul v2.6.1.9

DGEC

So on your site you have the News Snippet with the latest posts at the top, and then the category & date summaries underneath then?

That's fantastic!   Thanks so much, and congratulations - just don't spend too much time programming instead of with your bride!  8-)

That really should be integrated into the News and/or Snippet itself.  I definitely want to add this to a site as soon as I get a multiple columns design running.

Eki

Quote from: AzAkers on August 03, 2007, 06:13:29 AM
Sounds very close to what I'm looking for on a WB project I'm currently baking

Is there a site where this feature/module is live where we can take a look at it..?


Hi,

sorry for the late response, for I've been on Honeymoon the last couple of weeks. You can see a working example at my personal website
Just click "weblog"and you will see the addittion on the left column.

regards,
Eki

doc

@Eki
Thanks for your contribution, nice module. Will test it more serious this weekend, maybe we can add it to the Add-Ons page.

Regards Christian

AzAkers

Sounds very close to what I'm looking for on a WB project I'm currently baking

Is there a site where this feature/module is live where we can take a look at it..?

Eki

#2
Of course I forgot the snippet itself (attached).

EDIT: newer version below

[gelöscht durch Administrator]

Eki

#1
Hi all,

For my own purpose I wanted to have a block containing a summary of the active groups and also a summary of the history per month of a certain news page. Both summaries should contain the amount of articles and a link to the news page.

So I made a snippet for it, like the AnyNews snippet. Basically I took the anynews snippet and rewrote it, including the readme file. To view the news page with a loop of articles from a certain month, I rewrote the view.php of the news module, giving it the ability to summarize the articles from that particular month (based on the published date or posted date).

I am not much of a good programmer, so the code may be a bit inefficient, but it does the job. So I decided to share it with you guys.

The whole snippet is packed, and can be installed like a module. Then the view.php of the news module needs to be replaced with the included one. After installing the menu can be called from a code section or from the template itself with the following function:

display_blog_menu($page_id,$date_option,$group_header,$history_header)

In which:


  • page_id => the news page you want to generate the menu from
  • date_option => 0:=summarize according posted date (default), 1:=summarize according published date
  • group_header => header above the group menu (default: '<h1>Categories</h1>')
  • history_header => header above the group menu (default: '<h1>History</h1>')

Hope someone can benefit from it also.

Cheers,
Erik

EDIT: snippet attached in next post