Jump to content

 

m-space

Member Since 02 Jan 2010
Offline Last Active Dec 20 2011 09:15 PM
-----

Posts I've Made

In Topic: Add apperance type to Product Filter

07 December 2011 - 05:45 PM

Okay well I created a specific_settings.post.php with the following

<?php

if ( !defined('AREA') ) { die('Access denied'); }

$schema = array (
	'appearances' => array (
	'my_changes/categories_new_multicolumns.tpl' => array (
			'number_of_columns' =>  array (
				'type' => 'input',
				'default_value' => 2
			)
		)
	)
)
?>

Which now shows the options in the 'specific settings' menu for the new option

But for some reason the new template is not being called in the page block in the frontend.

Any ideas?

In Topic: Add apperance type to Product Filter

07 December 2011 - 05:22 PM

Thanks for this !


Although in trying to extend the Category listings it goes a bit wrong...

I have

$schema['categories']['appearances']['my_changes/categories_new_multicolumns.tpl'] = array (
                                'params' => array (
                                        'get_images' => true
                                      )
);

In my code which is the same as the code from structure.php but reformatted. The problem that occurs is that it doesn't show the specific settings for the new multicolumn option so I am unable to set the required quantity and then there is no output !

Any advice is greatlt appreciated.

In Topic: Add apperance type to Product Filter

07 December 2011 - 01:31 PM

Thanks for this !

In Topic: How to add a new "Appearance type" in Blocks

07 December 2011 - 01:09 PM

+1 for this