Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Small issue with Jwallpaper
Pages: [1]   Go Down
  Print  
Author Topic: Small issue with Jwallpaper  (Read 1933 times)
0 Members and 1 Guest are viewing this topic.
Sal316
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« on: June 23, 2010, 01:52:46 »

When a user gets an email concerning a comment made on a pic, the link is as follows:

http://www.nestripershootout.comindex.php/?option=com_jwallpapers&view=picture&id=18&Itemid=66#comment-8

It's missing the / after the hostname.

Which file do I edit to fix this?
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: June 23, 2010, 01:55:05 »

It looks like we've some problem with JComments' plugin for JWallpaper (/components/com_jcomments/com_jwallpapper.plugin.php). Could you attach this file here? The JComments doesn't contain this file in default package.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Sal316
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« Reply #2 on: June 24, 2010, 05:25:59 »

Here you go. Thanks for the help with this. Grin

* com_jwallpapers.plugin.php (0.98 KB - downloaded 169 times.)
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: June 24, 2010, 05:30:47 »

Replace code:

Code: (php)
$link = 'index.php?option=com_jwallpapers&view=picture&id=' . ( int ) $id . '&Itemid=' . ( int ) $_Itemid;
with
Code: (php)
$link = JRoute::_('index.php?option=com_jwallpapers&view=picture&id=' . ( int ) $id . '&Itemid=' . ( int ) $_Itemid);

In my mind it will be more correct.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Small issue with Jwallpaper
 
Jump to: