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.084 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