We are currently working on our servers, so there may be outages on the domains.Zurzeit wird an unseren Servern gearbeitet, deshalb kann es zu Ausfällen bei den Domains kommen.
<?phpif (function_exists('register_frontend_modfiles')) { register_frontend_modfiles('css'); register_frontend_modfiles('jquery'); register_frontend_modfiles('js');} ?>
Flexslider looks good as long as it works with Anynews. I only see it working with images.
Already a fan of codaslider...
Couldn't get the link to innerfade work.
Old and good are also cycle-plugin
Another is jcarousellite
<?phpfunction displayNewsItems( $group_id = 0, // IDs of news to show, matching defined $group_id_type (default:=0, all news, 0..N, or array(2,4,5,N) to limit news to IDs matching $group_id_type) $max_news_items = 10, // maximal number of news shown (default:= 10, min:=1, max:= 999) $max_news_length = -1, // maximal length of the short news text shown (default:=-1 => full news length) $display_mode = 1, // 1:=details (default); 2:=list; 3:=coda-slider; 4:flexslider; 4-98 (custom template: display_mode_X.htt); 99:=cheat sheet $lang_id = 'AUTO', // language file to load and lang_id used if $lang_filer = true (default:= auto, examples: AUTO, DE, EN) $strip_tags = true, // true:=remove tags from short and long text (default:=true); false:=don´t strip tags $allowed_tags = '<p><a><img>', // tags not striped off (default:='<p><a><img>') $custom_placeholder = false, // false:= none (default), array('MY_VAR_1' => '%TAG%#', ... 'MY_VAR_N' => '#regex_N#' ...) $sort_by = 1, // 1:=position (default), 2:=posted_when, 3:=published_when (only WB 2.7), 4:= random order, 5:=number of comments $sort_order = 1, // 1:=descending (default), 2:=ascending $not_older_than = 0, // 0:=disabled (default), 0-999 (only show news `published_when` date <=x days; 12 hours:=0.5) $group_id_type = 'group_id', // type used by group_id to extract news entries (supported: 'group_id', 'page_id', 'section_id', 'post_id') $lang_filter = false // flag to enable language filter (default:= false, show only news from a news page, which language fits $lang_id));
<?php/** * Code snippet: anynews * * This code snippets grabs news from the WB news module database * and displays them on any page you want by invoking the function * displayNewsItems() via a page of type code or the index.php * file of the template. * * This file contains the Dutch language output. * * LICENSE: GNU General Public License 3.0 * * @platform CMS WebsiteBaker 2.8.x * @package anynews * @author cwsoft (http://cwsoft.de) * @translation forum member Dave (ak D72), Argos * @version 2.2.0 * @copyright cwsoft * @license http://www.gnu.org/licenses/gpl-3.0.html*/// Dutch module description$module_description = 'Snippet om nieuwsberichten te tonen op elke pagina die u maar wilt. Functie kan opgeroepen worden vanuit de template of een code-sectie. Meer informatie is te vinden op <a href="https://github.com/cwsoft/wb-anynews" target="_blank">GitHub</a>.';// initialize global $LANG variable as array if neededif (! isset($LANG) || (isset($LANG) && ! is_array($LANG))) { $LANG = array();}$LANG['ANYNEWS'][0] = array( // text outputs for the frontend 'TXT_HEADER' => 'Laatste nieuws', 'TXT_READMORE' => 'Lees meer', 'TXT_NO_NEWS' => 'Geen nieuws beschikbaar.', 'TXT_NEWS' => 'Nieuws', 'TXT_NUMBER_OF_COMMENTS' => 'Aantal reakties', // date/time format: (9:12 PM, 31-12-2012) 'DATE_FORMAT' => ' (d-m-Y, H:M)');
Great notes and love the idea of separating the custom js from the 3rd party js. However...The custom aspects of the coda slider are located in 3rd party folder.