WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
// Insert section names and descriptions$template->set_var(array(
<?php// Start WB2 Feed$rss_enable = true;$rss_url_m = '';$rss_error = '';if(!file_exists(THEME_PATH .'/languages/'.LANGUAGE .'.php')) { require_once(THEME_PATH .'/languages/EN.php');} else { require_once(THEME_PATH .'/languages/'.LANGUAGE .'.php');}if ($rss_enable == true && $_SESSION['GROUPS_ID'] == 1 && file_exists(THEME_PATH.'/rss/rss_fetch.inc')) { $template->set_var('DISPLAY_RSS'); include_once(THEME_PATH.'/rss/rss_fetch.inc'); $rss_url_m .= 'http://www.websitebaker2.org/modules/news/rss.php?page_id=52'; $rss = fetch_rss($rss_url_m); $show_rss_l = ''; if ($rss) { // Split the array to show first 3 news $items = array_slice($rss->items, 0, 3); // Cycle through each item and echo foreach ($items as $item ) { $show_rss_l .= '<li><a href="'.$item['link'].'">'.$item['title'].'</a> - '.$item['description'].'</li>'; } } else { $rss_error = '<h2>Error:</h2><p>'.magpie_error().'</p>'; } $show_rss = $show_rss_l; $show_rss .= $rss_error; // RSS Custom template->set_var to avoid undefine variables when RSS is not available $template->set_var(array( 'RSS' => $show_rss, 'RSS_TITLE' => $TEXT['RSS_TITLE'] ) );} else { $template->set_var('DISPLAY_RSS', 'display:none'); }// End WB2 Feed?>
<?phpif ($rss_enable == true && $_SESSION['GROUPS_ID'] == 1 && file_exists(THEME_PATH.'/rss/rss_fetch.inc')) {?>
<?phpif ($rss_enable == true && $_SESSION['USER_ID'] == 1 && file_exists(THEME_PATH.'/rss/rss_fetch.inc')) {?>
About RSS-API: Yes, I thought about that. It's not possible with WebsiteBaker right now. Of course some "Backend Modules" / Widgets (like WP...) would be nice, but that's not at all possible with the sourcecode of /admin. ..........A user dashboard has the problem: Where to store information? There would be a "framework" necessary, like droplets. But I don't want to code that, it's too much risk...
It's more a long term objective.
Yes, absolutely. Perhaps I'll program some (kind of) UML and get it to the DeveloperTeam...
Quote from: Waldschwein on April 05, 2010, 04:10:16 PMYes, absolutely. Perhaps I'll program some (kind of) UML and get it to the DeveloperTeam...You mean something like this? All best,Stefek
In fact, it would even be cool with it if I could just create a page the usual way hand have it appear in the backend instead as a link in the top menu.
It would also be absolutely fantastic if someone could tell me how to customize the logo at the top of the page. That's one of the main reasons why I use the Argos theme. Having to administer several website baker sites for clients, the Argos theme shows me which backend I am logged into unlike the default WebsiteBaker backend theme.
Submission rejected as potential spam (Akismet says content is spam)
Please add a link to the WebsiteBaker Help page and another to the Forums is included in all themes. These should be at the top of the page along with Home, View and Log-out.On the Add-ons page, please also add a link to the WebsiteBaker Add-ons library page. If this isn't possible, then add the following links:- On the Add-on|Modules page, a link to the WebsiteBaker Modules library- On the Add-ons|Templates page, a link to the WebsiteBaker Templates library
Sure, i only informed, that there are more changes in feature. Pls create a new feature Ticket with a link to this thread. So your wishes for added improvements will not forget.http://project.websitebaker2.org/newticket Dietmar