Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Issue with Linking in the front end

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

  • greisr1
  • greisr1's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
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?!
The administrator has disabled public write access.

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

  • wrhein
  • wrhein's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
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%>>"
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed
Coding is now a piece of cake
Last Edit: 07 Feb 2012 13:37 by admin.
The administrator has disabled public write access.

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

  • wrhein
  • wrhein's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
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 administrator has disabled public write access.
The following user(s) said Thank You: admin
Time to create page: 0.061 seconds

Get Started