Visual Composer = How To Add Custom Module/Block?

Posted in: Newspaper
Post count: 28

Hello,

I have written my “own” Module/Block (based on td_block_6 and td_module_6). This is working fine, when I use it as a shortcode, frontend is fine.
But it destroys the whole Visual Composer View, as the composer does not unerstand my newly created module/block/shortcode. I have called it “60” (as its based on your Module 6)
The textual line in the visual composer (classic view) looks like this:

[td_block60 limit=”60″ custom_title=”News Digest” ajax_pagination=”next_prev” installed_post_types=”news” sub_cat_ajax=”n”]

My Question: Where do I have to “register” my new Block/Module with Visual Composer (which File/Registry/Database-Entry or whatever) so that Visual Composer will unterstand my new Module/Block? ( I have searched the plugins\js_composer\config\map.php but this seem to be used not for the blocks/modules but for almost all other elements…)

Thanks very much for Help!

Post count: 28

Just a note: Its sufficient telling me “roughly” where I have to “register” the module (does not require a detailled description), than I will figure this out on my own.

Post count: 6600

Hi,

You will have to add it to td_wordpres_booster.php file like this: http://screencast.com/t/6ihhPhxFcWk

Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.