newbie question, templates for blocks


remedia

Thanks all

Instantflorian, thats what im looking for  indeed
more a way to include templates within templates:

Having e.g. a pre-styled content box with image set tru a block template so  the user only needs to enter  some plain text (and optional a image) & the system outputs a  fully styled block (depending on the block template) 

--

thanks for the pointer there

ck editor is an option indeed  (using  ck editor  on my old cms) , but i found that  this gets complex very fast for non technical users (they tend to wreck stuff  :-D )  & very buggy at times to get clean code.

Currently im looking into the ckeditor templates option ( (& possibly combining this with droplets with ckeditor tags)
And optionally  creating an new module with template addon

if anybody knows some other sollution overseen  let me know

thanks
ronald


















instantflorian

Hi,

I think remedia means/needs something else, e.g. the possibilty to define pre-styled content blocks like text+image, infobox with rounded corners etc.
This can be done by installing the CKEditor WYSIWYG module and defining own min templates (see documentation to CKEditor how this it's done).
If you're using this feature in WB, the "SecureForm switcher" (Admin Tool) should be switched to "Multitab" to avoid problems.

hth
-Florian.

Ruud

Have a look here: http://www.websitebaker.org/en/help/designer-guide/content-blocks.php

What some CMS's call blocks are called sections in WB.
There is no need for templateblocks belonging to pagemodules or sections.

You can define in your template as many sections you like and use the content in the template where you want it to show.
You can link any content type (ie WYSIWYG or imagegallery of form) to any section.

There are many tricks in the forum to detect if a certain section has content and dynamically adapt your template to the existing content.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

hillschmidt

#2
Block based templates are available - just search on e.g. http://WebsiteBaker.at/wb-templates/

Also this (German) hint may be useful:Tutorial link removed 404

remedia

Just starting to look into WebsiteBaker but could not find a (obvious)  sollution for the following:

Are (partial) templates for blocks possible?
(how to create /activate this in a flexible way)

e.g. i have multiple  types of preset partial layouts (blocks)
that need to be placed on one page  (in flexible order without coding from the user)

The only option i see is to code custom module types (like the wysiwyg module) for each block / partial layout
Or are there  easyer ways  to do this ,.. (or plugins that can do this ? )

Ronald