42 $this->
widget = new \YAWK\widget();
80 if (!isset($this->blogID) || (empty($this->blogID)))
82 echo
"Error: unable to load blog because there was no blog ID given.";
86 require_once
'system/plugins/blog/classes/blog.php';
98 $blog = new \YAWK\PLUGINS\BLOG\blog();
114 if (
$blog->published != 0) {
117 $this->headline = $this->
getHeading($this->blogHeading, $this->blogSubtext);
119 if (!isset(
$blog->itemid)) {
127 if (!isset($full_view)) {
132 $blog->getFrontendEntries(
$db,
$blog->blogid,
$blog->itemid, $full_view, $this->blogLimitEntries);
143 echo \YAWK\alert::draw(
"warning",
"Entschuldigung!",
"Dieser Bereich ist im Moment offline, da gerade daran gearbeitet wird. Bitte komm später wieder.",
"",
"4800");
Embed a blog on your website.
drawBlogWidget($db)
Draw the blog.
printObject()
Print all object data.
init($db)
Init Gallery and load methods.
__construct($db)
Load all widget settings on object init.
static getCurrentTemplateId(object $db)
return ID of current (active) template
if(isset($_POST['save'])) $settings