Experienced Web Developer with a demonstrated history of working in the information technology and services industry.

Skilled in User Experience, Magento, Joomla, WordPress and IT Services.

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
We need put this code in you html-page:
{{block type='core/template' name='contactForm' template='contacts/form.phtml'}}

Thursday, 15 December 2016 15:44

Magento 2 - best commands

magento deploy:mode:set production

magento deploy:mode:set developer

magento setup:cache:{enable|disable|clean|flush|status}

magento setup:indexer:{status|show-mode|set-mode|reindex|info}

magento cron:run

magento setup:di:compile

magento setup:static-content:deploy

magento dev:source-theme:deploy

i solved mine by re-pointing mac's php path to MAMP's php

$ cat ~/.bash_profile

PHP_VERSION=`ls /Applications/MAMP/bin/php/ | sort -n | tail -1`

export PATH=/Applications/MAMP/bin/php/${PHP_VERSION}/bin:$PATH

check if your machine is using proper php:

$ php -v

PHP 7.0.8 (cli)

if not, re-point the path through .bash_profile or .profile. that's my solution

Once you have your version, open Finder, press [Shift][Command][G] and enter /Applications/MAMP/bin/php/php5.5.10/conf/. You will see a php.ini file. Open it in your favourite text editor. You are going to change the values of the following variables:

; Maximum size of POST data that PHP will accept.
post_max_size = 256M

; Maximum allowed size for uploaded files.
upload_max_filesize = 256M

; Maximum execution time of each script, in seconds
max_execution_time = 600     

; Maximum amount of time each script may spend parsing request data
max_input_time = 600    

; Maximum amount of memory a script may consume (8MB)
memory_limit = 512M    

It is important to note that for the variables related to size - post_max_size, upload_max_size and memory_limit - you must change the variable to a size larger than that of the .sql file that you are trying to import. My .sql file was 170mb but if you are importing a larger .sql file you need to set the memory-related variables to an appropriately large value.

Now restart MAMP and you should no longer be experiencing the problems.

In new version Kunena 4x copyright location in root_folder/libraries/kunena/view.php

Find function on line 729 and replace it with my version or comments line 9 and 20:

// line 749
final public function poweredBy()
		if ($this->inLayout)
			throw new LogicException(sprintf('HMVC template should not call %s::%s()', __CLASS__, __FUNCTION__));

		/* In here we are comment credits
		$credits = '<div style="text-align:center">';
		$credits .= JHtml::_('', 'index.php?option=com_kunena&view=credits', JText::_('COM_KUNENA_POWEREDBY'), '', '', 'follow', array('style'=>'display: inline; visibility: visible; text-decoration: none;'));
		$credits .= ' <a href="" rel="follow" target="_blank" style="display: inline; visibility: visible; text-decoration: none;">'.JText::_('COM_KUNENA').'</a>';

		if ($this->ktemplate->params->get('templatebyText'))
			$credits .= ' :: <a href ="'. $this->ktemplate->params->get('templatebyLink').'" rel="follow" target="_blank" style="text-decoration: none;">' . $this->ktemplate->params->get('templatebyText') .' '. $this->ktemplate->params->get('templatebyName') .'</a>';

		$credits .= '</div>';
		$credits = '';
// end in line 749

Its work well!