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.060 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started