Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[FIXED] Notice: Undefined property: JDomHtmlFormInputSelec 13 Jan 2012 16:54 #970

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
hi !

Thanks for j-cook! great job. I design a small component with 2 tables that manages a library of books and lenders.
The purpose is to help and show the MVC code to Joomla 1.7 beginner developers...
it works successfully (admin forms) in the sandBox, so I 've downloaded it, and 've installed on my fresh J!1.7 install
But I see warnings when using the component.

Notice: Undefined property: JDomHtmlFormInputSelectCombo::$href in /homez.420/protolbv/www/joomla1.7/administrator/components/com_biblio/dom/html.php on line 162
function embedLink($contents)
	{
		$html = "";

		$href = $this->href;


		if (($href || $this->target) && (basename($this->dataValue) != ""))
		{
			$html .= JDom::_("html.link", array(
								'href' => $href,
								'link_title' => $this->link_title,
								'content' => $contents,
								'target' => $this->target,
								'handler' => $this->handler,
								));

			return $html;

		}

		return $contents;

	}

Do you have an idea of what can I do ?

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

Re: Notice: Undefined property: JDomHtmlFormInputSelec 14 Jan 2012 10:25 #979

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Should be solved now. (1.4.8 )

Please regenerate
Coding is now a piece of cake

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

Last edit: by admin.

Re: Notice: Undefined property: JDomHtmlFormInputSelec 15 Jan 2012 18:45 #1004

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Hi,

Thank you! All is OK now. No more the warnings.

I enjoyed a lot to add the new Image managment in the comonent

Marc.

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

Re: Notice: Undefined property: JDomHtmlFormInputSelec 17 Jan 2012 07:52 #1011

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36

admin wrote: Should be solved now. (1.4.8 )

Please regenerate


Hi, just for my info,

I'am also testing my 1.7 Backend component designed with j-cook on a fresh joomla 2.5Beta2 installation.

Install is OK. But I see warnings :

Deprecated: Call-time pass-by-reference has been deprecated in D:\wamp\www\joomla2.5\administrator\components\com_jbreedm\controllers\pedigrees.php on line 179

and again,

Notice: Undefined property: JDomHtmlFormInputSelectCombo::$href in D:\wamp\www\joomla2.5\administrator\components\com_jbreedm\dom\html.php on line 162

Note that errors are displayed when running under "Development" level error reporting.
The component works properly under "simple" error reporting

Does that mean that 2.5 code will be different than 1.7 ?
Will you adapt j-cook for 2.5 ?

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

Last edit: by liubov.

Re: Notice: Undefined property: JDomHtmlFormInputSelec 24 Jan 2012 13:13 #1036

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Ok seen,
I have to check this.
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.088 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started