General Community > WebsiteBaker Website Showcase

new website online: edaktik.de

<< < (2/3) > >>

spida:
Hi there!

Since I was asked about how I coded the template to achieve this structure, I want to share with all of you what I did:

It's actually quite easy to do with WebsiteBaker. Just make use of sections and blocks, specific WB features. That at least was my original plan, although I altered it a bit eventually.

The template starts with the usual header with image and main navigation.

Main text area
The main text area, i.e. where articles are postet, is a section. In the template it is called with

--- Code: ---<?php page_content(1); ?>
--- End code ---
The info.php file defines:

--- Code: ---$block[1]="Artikel";
--- End code ---

Since I use the news system as a pseudo blog system (see more details below) I only needed to define once that the first section should display the block "Artikel", as a news element.

However, on the startpage this block is defined as a code element instead. I use the code

--- Code: ---$pid = 2;
$gc = $database->query("SELECT content_long FROM ".TABLE_PREFIX."mod_news_posts WHERE post_id = ' ".$pid." ' ");
$rc = $gc->fetchRow();
echo $rc['content_long'];
--- End code ---
to display a news of my choice (currently the news with post id 2).

Author portrait
The author portrait was originally planned as a section too, but I found more practicable to use another version of blocks here.
These blocks are just simple pages you create in your system. Use the "Blank Template" for such, which is delivered along with the WB installation.

The block is called in the template with

--- Code: ---<?php include (WB_URL."/pages/blocks/personalia.php"); ?>
--- End code ---

Topic navigation/Blog menu
Since I use news and wanted to have a blog-like menu for them, I use Eki's faboulus blog menu. See here for details: https://forum.WebsiteBaker.org/index.php/topic,6563.0.html

Blog menu is called in my templage with

--- Code: ---<?php display_blog_menu(2,1,0,0,2); ?>
--- End code ---

Anything else
The elearning news, delicious bookmarks and amazon book suggestions are hardcoded into the template, since this works better than putting them into code sections as I had originally planned. Dunno why but amazon and delicious caused troubles, thus I just put them directly into the template.

Extras
I should also mention, that I use chio's snippet "simple_pagehead". With this snippet individual meta tags suche as keywords and description can be attached to each news page individually -- quite important for a blog.

For a better RSS feed I altered the rssnewsfeed-module a little and installed it. My version is available here: http://www.websitebakers.com/pages/code-snippets/listings/rss-news-feeder.php

Forum threads that helped me in developing this were:
- Code Snippet Display news items: https://forum.WebsiteBaker.org/index.php/topic,409.0.html
- Display a blog menu: https://forum.WebsiteBaker.org/index.php/topic,6563.0.html
- How can I call the content of a page...: https://forum.WebsiteBaker.org/index.php?topic=9564.new;topicseen#new
- Latest News modul thread: https://forum.WebsiteBaker.org/index.php/topic,11523.0.html (which I couldn't use though because of the missing support for comments)
- Problem with rss in news module (fixed): https://forum.WebsiteBaker.org/index.php/topic,8469.0.html

External websites I needed to include the external RSS feed:
- magpie homepage: http://magpierss.sourceforge.net/
- Tutorial on including external RSS feeds: http://www.traum-projekt.com/forum/73-workshops-und-tutorials/100486-tutorial-rss-feed-eigene-website.html


I have attached a screenshot in order to illustrate my somewhat humble explanation.

Best regards,

spida

[edited this article on January 23rd 2009 by adding some hints to other modules I used and WB forum threads that helped me]

[gelöscht durch Administrator]

spida:
Hi everybody,

meanwhile I switched to wordpress for this site. As explained above, it is possible to setup a weblog with WB. But problems with the comment function made me stop this project and port it to wordpress, since a smooth commenting function is vital.

I have to say that I am also a bit disappointed about how I was treated by someone who said that he is currently developing a new and better commenting module. I analysed the beta, sent a number of results and also some bugfixes and never got any feedback, not even a little thankyou. I then realised that the new version will come some time too late for me and that my support is not appreciated and thus I am not able to speed things up with my engagement. Thus I had to decide for another system and it became wordpress.

That's the story. Anyway, if you like to use WB for such a blog-like site, it is possible in general.

Regards,
spida

chio:
Mit englisch tu ich mir _noch_ schwerer als mit php...

Ja, da muss ich mich entschuldigen.
Ich war/bin über dein Engagement sehr froh; aber es war leider so, dass ich deine Anregungen immer "morgen" durchgehen und umsetzen wollte. Deswegen gabs auch kein Feedback - wollte ich ja "morgen" machen.
Aber es kam einfach immer anders.
Sorry.

spida:
OK.

Stefek:
Hallo Spida,
ich habe eine Frage bezüglich des "Umbaus".
Abgesehen von der Blog Funktionalität, die bei Wordpress das A und O ist, gab es weitere Vor- und Nachteile, die mit dem "Umbau" einhergingen?
Einfachheit der Etablierung,
Design,
Einfachheit im Umgang mit dem Erstellen einzelner Seiten.
Logik des Gesamtsystems.

Ich frage als WB Nutzer, der Wordpress nur oberflächlich kennengelernt hat. Und die eigentliche Frage ist: Würdest Du bei WB bleiben, wenn es ein ausgereiftes "Blog-Modul" gäbe, oder sind Dir dank WP für zusätzliche Funktionen hinzu gekommen, die Du nicht mehr missen wolltest?

MfG,
Stefek

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version