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

TOPIC:

[FIXED] Issue with Linking in the front end 16 Jan 2012 17:29 #1009

I have attempted to create multiple components for 1.7. These issues do not occur in the sand box, however, on the front end of my personal joomla installation I continue to get the following errors:

Notice: Undefined variable: html in C:\wamp\www\joomla\administrator\components\com_sportsmanager\dom\html\link.php on line 87

Notice: Undefined property: JDomHtmlLinkDefault::$dataValue in C:\wamp\www\joomla\administrator\components\com_sportsmanager\dom\html.php on line 165

In case you aren't sure what I am trying to do, I activated the link button within cook. I want to link to my individual table data from my large collection of information.

Anybody know how to solve this problem?!

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

Re: Issue with Linking in the front end 06 Feb 2012 18:43 #1182

Hy greisr1

greisr1 wrote: Notice: Undefined variable: html in C:\wamp\www\joomla\administrator\components\com_sportsmanager\dom\html\link.php on line 87


i habe the same problem and I solve.

on link.php your mast delete into line 85 the . after $html.

The right code is now:
$html = "<a<%CLASS%><%TITLE%><%HREF%><%JS%><%TARGET%>>"

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

Re: Issue with Linking in the front end 07 Feb 2012 13:36 #1187

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed
Coding is now a piece of cake

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

Last edit: by admin.

Re: [FIXED] Issue with Linking in the front end 10 Feb 2012 06:59 #1223

Hy griesr1

i have the same problem with html.php and i solved

greisr1 wrote: Notice: Undefined property: JDomHtmlLinkDefault::$dataValue in C:\wamp\www\joomla\administrator\components\com_sportsmanager\dom\html.php on line 165


you mast check on funtion embedLink for isset variabel dataValue before check for ist !="".

the right code is now:

function embedLink($contents)
{
$html = "";

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

return $html;

}
}

return $contents;

}
The following user(s) said Thank You: admin

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

  • Page:
  • 1
Time to create page: 0.064 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started