Keyword

Is All Videos compatible with Joomla 3.6?

  • Railer
  • Railer's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 9 months ago #156545 by Railer
Is All Videos compatible with Joomla 3.6?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 9 months ago #156552 by Krikor Boghossian
Replied by Krikor Boghossian on topic Is All Videos compatible with Joomla 3.6?
Hello,

It is compatible with 3.6.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #157778 by Lorenzo Eccher
Replied by Lorenzo Eccher on topic Is All Videos compatible with Joomla 3.6?
I work in j 3.6.2 and My joomla said AllVideos is at version 4.7.

I had to modify base.php file to be compliant to field.php (joomla.form.formfield). Is it right... I added some code to made render method compliant to >= 3.5 version.
...
if (version_compare(JVERSION, '3.5', 'ge'))
{
	jimport('joomla.form.formfield');
	class JWElement extends JFormField
	{
		function getInput()
		{
			return $this->fetchElement($this->name, $this->value, $this->element, $this->options['control']);
		}

		function getLabel()
		{
			if (method_exists($this, 'fetchTooltip'))
			{
				return $this->fetchTooltip($this->element['label'], $this->description, $this->element, $this->options['control'], $this->element['name'] = '');
			}
			else
			{
				return parent::getLabel();
			}

		}
		/**
		 * Render a layout of this field
		 *
		 * @param   string  $layoutId  Layout identifier
		 * @param   array   $data      Optional data for the layout
		 *
		 * @return  string
		 *
		 * @since   3.5
		 */
		public function render($layoutId, $data = array())
		{
			return $this->getInput();
		}
	}

}else....

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 7 months ago #157829 by Krikor Boghossian
Replied by Krikor Boghossian on topic Is All Videos compatible with Joomla 3.6?
Hello,

What was the original issue?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum