Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2011-05-27 14:41:38

michaelb
Member
From: London, UK
Registered: 2008-04-02
Posts: 21

Re: zem_event and Textpattern 4.20

Hi – sorry if this has been answered elsewhere, but by trial and error I managed to get it back working on 4.4.0 by simply commenting out a little of the code near the bottom of the plugin, as follows:

	// if (zem_txp_ver('4.1.0')) {
		# 4.1.x category type
		// include_element('include/txp_category');
		// register_category_type('event');
	// }
	// else {
		# 4.0.x category tab code
		add_privs('zem_event_cats', '1,2,3,4,5');
		register_tab('content', 'zem_event_cats', zem_event_gTxt('event_categories'));
		register_callback('zem_event_cat_tab', 'zem_event_cats');
	// }

Offline

Board footer

Powered by FluxBB