Wednesday, September 08 in 2010
Module Frontpage Slideshow
Ecosia Search
Page views: 3,502
Currently online: 10
Modul: x_FastTemplate2
Author: Dietrich Roland Pehlke
WB User: aldus
Version: 0.4.0
State: RC
License: GNU - General Public License
GUID: 7588B558-135A-4F6A-9263-9E3102D5EF61
Platform: 2.8
Last info: 2010-05-14
Rating:
49.0
28 votes
1 2 3 4 5
Download: here
Description: Implantation from "drp_xFastTemplate2" as a code-modul.
Require: PHP 5.2.x / WB 2.8.x

There is also a little example-template with some code-examples free to download at
http://www.websitebakers.com/media/examples/aldus_simple_0.1.4_alpha.zip.

0.4.0
* Add method 'resolve_path' and some class properties.

0.3.1
* Bugfix inside method 'clean_up_str' for double-quotes.
* Correct position of the php-doc comments for the class.
* Updated versionStr property
0.3.0
* Add method 'build_mysql_query'.
* Add method 'clean_up_str' for JavaScript(-s).
* Add method 'get_all' to transform a mySQL result into an array.
* Add documentation (made with PHP-Documentor).
* 0.2.8 Remove the deprecated ereg inside the getBlocks method.
* 0.2.7 Bugfix inside method "capture_echo" to avoid conflikts within $wb, $database and $TEXT globals.
* 0.2.6 PHP 5.3 ready. Replacing "sql_regcase" within a private function. (Notice: there is also a PHP 4.4.x version inside the package.)
* 0.2.5 Additional arg. inside css-links (e.g. type)
Some minor codechanges and removing typos.
Setting the "state" to rc.
* 0.2.4 Bugfix inside "remove_comments" that causses in warnings.
* 0.2.3 Bugfix inside get_section to get the frontend.js|css links.
* 0.2.2 Bugfix inside register_modfiles to avoid double-loading.
* 0.2.1 Code-cleanup's and new method, new bug, new bugfix.
* 0.1.5 Bugfixes and some code-cleanup's
* 0.1.4 Bugfixes inside 'findClasses' and 'findIDs'
* 0.1.3 Bugfixes and additional methos
* 0.1.2 Removing the PHP4 constructor.

Info: Note: as this is a "snippet", or code-modul, you are not in the need to load it via "require", "require_once" or "include" for the frontend.

But as for the use in the backend you will have to, like
require_once (WB_PATH."/modules/x_fast_template_2/include.php");


Whats new in 0.2.0:
New public function:
- get_sections(&$db, $section_id_or_array);
Returns the content of the given sections.

What's new in 0.1.5:
# Bugfix: preg inside "remove_comments".

New public method:
- get_modules (&$db, $page_id);
A linear list within the module-names of the current page.

What's new in 0.1.4:
# Bugfixes inside the reg-exp. from "findClasses" and "findIDs".

What's new in 0.1.3:

# Bugfix: remove_unusedMarkers was ignoring markers within "-" and numbers inside.

New public methods:
- get_xhtml1_css_link ($filename, $media);
Like "get_xhtml1_js_link" simple generates a valid xhtml1 link tag.

- show_menu2 ($options);
This is not a //new// or //another// show_menu2 - the base difference is that it returns the result (buffert) and the arg. are stored inside an array.

- register_wb_values_to_js ($values);
WB_PATH, WB_URL, and TEMPLATE_DIR are set inside a basic js-tag automatic; you can add whatever, even simple functions-calls to the template.

- register_modfiles( $db, $page_id);
Similar to "register_modfiles('js')" ... but walking only one time truth the sections; also looking for subfolders like "js" and "css" ...

- register_templatefiles ($files);
Sometimes a "template.css" isn't enough ... or even one js-script ... Search belongs to the template-directory only ...

- register_external ($files);
All other files - whithout any testing (if exists).


See also: information, x_cDate, imageflow hi and lb