Tuesday, November 29, 2011

Quick tip: easy writing of informative fields with ZedSeriesUi

The Data Container Array (a.k.a. dca) of Contao cms allows to define custom fields through the input_field_callback entry. A common usage scenario is providing informative contents to your users. This can be accomplished easily using the ZedSeriesUi class (that is included in ZedSeries Library for Contao cms).

Define your informative field as input_field_callback:

<?php

$GLOBALS['TL_DCA']['tl_dummy']['fields']['my_info_field'] = array(
'input_field_callback' => array('tl_dummy', 'myInfoField')
);

?>


Write your callback


<?php 

class tl_dummy {

public function myInfoField($dc) {
$ui = new ZedSeriesUi();
return $ui->ifcMessage('My content', 'zsui_info');
}

}

This will output a nice informative message



Feel free to comment below if you have further questions.

Friday, November 25, 2011

How to create a custom insert tags for Contao

The Contao cms supports dynamic content integration through the so called "insert-tags". Contao has a lot of built in "insert-tags" but sometimes when writing custom extensions may be the need to create a custom one.

Friday, November 11, 2011

ZedSeries bug tracker changes

The ZedSeries bug tracker located at dev.zedseries.com no longer allows anonymously bug reporting. This is due to two main reasons:

  • Anonymous reporter does not receive update of the ticket status through email this lead them to “forgot” about the report they did. Especially if an answer to the ticket come after some time (e.g. one week)
  • There are some annoying spammer out there

However there is no need to register if you only want to view a ticket.

For any questions do not hesitate to comment below.

Thanks.

Saturday, July 2, 2011

What’s new in ZedSeries Im.Ex. 0.8.0

Just released version 0.8.0, main features:

- direct upload to contaotemplates.com through the Im.Ex. center

- ability to mark packages as private so noone except allowed members can access it.

Sunday, May 15, 2011

ConfigWizard available in version 1.5.0

Version 1.5.0 of ZedSeries Library features a ConfigWizard class that lets developers quickly implement custom config options for their Contao extensions.

Config options are managed through a section/key/value schema.

In the following example we’ll manage two configuration options for a virtual extension. We’ll choose to assign to this configuration the name ‘dummy_ext’ (it will be our “section” name). Our two configuration options will be named option_string and option_flag.

Monday, March 21, 2011

What’s new on ZedSeries Maps 1.2.0

ZedSeries Maps 1.2.0 contains the following changes:

  • ability to show the infowindow of the map center after map loads
  • a new item type was added: “Directions item” let you define some starting points that will be shown in the "Get directions" form

Take a look at the new features in the demo page of ZedSeries Maps

If you wish to have a preview of all the features of ZedSeries Maps download the user guide.

Sunday, March 20, 2011