Author |
Message |
hinksta
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/50038cc443ad3eec1c5c1.gif)
Joined: Dec 23, 2005
Posts: 226
Location: UK
|
Posted:
Sun Apr 23, 2006 5:19 am |
|
Is it just me or does the weblinks module have a similar error to the Feedback and Recomend_Us modules?
My weblinks page does not see the language files. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Apr 23, 2006 7:25 am |
|
Well, the Feedback module and Recommend_Us modules were not core nuke modules, but the Web Links module is core 7.6. Have you noticed this before?
Sorry hinksta, its been awhile, can you repost the link to your site or PM it to me? Also, please let me know language is not showing up properly for you. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hinksta
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 23, 2006 7:39 am |
|
not noticed it before, using english lang
the www link will take you to the site |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 23, 2006 7:45 am |
|
"WWW"
Looking at it now... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 23, 2006 7:52 am |
|
hinksta, this doesn't make sense to me. I am not seeing the same thing with my 2.02.02 version. I have also checked the patch files for 2.02.00 to 2.02.02 and I even checked the SVN change log and nothing related to language defines have changed.
You need to check to see if your Web Links language files are missing or re-FTP them. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hinksta
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 23, 2006 8:09 am |
|
re uploaded v2.01.00 weblinks
did index.php update from v2.02.02
that worked
thanks for the new hair colour ![Embarassed](modules/Forums/images/smiles/icon_redface.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 23, 2006 7:35 pm |
|
hinksta, I was having the Blond Moment not you! ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
benson
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/d565e607446586bbb82ae.jpg)
Joined: May 15, 2004
Posts: 119
Location: Germany
|
Posted:
Sat Apr 29, 2006 9:59 am |
|
Hello,
since the sorting options are displayed with a 'D' and 'A', I think it means 'Ascending and Descending, in the Weblinks module I recommend to change the following part in the index.php:
Code: echo "<center><font class=\"content\">"._SORTLINKSBY.": "
.""._TITLE." (<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=titleA\">A</a>\<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=titleD\">D</a>) "
.""._DATE." (<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=dateA\">A</a>\<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=dateD\">D</a>) "
.""._RATING." (<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=ratingA\">A</a>\<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=ratingD\">D</a>) "
.""._POPULARITY." (<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=hitsA\">A</a>\<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=hitsD\">D</a>)"
."<br><b>"._SITESSORTED.": $orderbyTrans</b></font></center><br><br>";
|
to that one:
Code: echo "<center><font class=\"content\">"._SORTLINKSBY.": "
.""._TITLE." (<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=titleA\">"._SORTA."</a>\<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=titleD\">"._SORTD."</a>) "
.""._DATE." (<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=dateA\">"._SORTA."</a>\<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=dateD\">"._SORTD."</a>) "
.""._RATING." (<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=ratingA\">"._SORTA."</a>\<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=ratingD\">"._SORTD."</a>) "
.""._POPULARITY." (<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=hitsA\">"._SORTA."</a>\<a href=\"modules.php?name=$module_name&l_op=viewlink&cid=$cid&orderby=hitsD\">"._SORTD."</a>)"
."<br /><b>"._SITESSORTED.": $orderbyTrans</b></font></center><br /><br />";
|
additional you must add the two lines into the language file:
Code:define("_SORTA","<img src=\"images/SortA.gif\" border=\"0\" alt=\"A\" width=\"9\" height=\"8\" hspace=\"0\">");
define("_SORTD","<img src=\"images/SortD.gif\" border=\"0\" alt=\"D\" width=\"9\" height=\"8\" hspace=\"0\">");
|
Than we have these two pictures ( / ) in the sorting option instead of a (hardcoded ) 'A' and 'D'.
An additional advantage is, that you can change the images in the language file, e.g. with a term like (aufwärts/abwärts) ...
What do you think ?
Regards, Benson |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 30, 2006 9:15 am |
|
Benson,
Your insistence upon cleaning up the hardcoding of literals is being heard! Just wanted you to know that. We have a project on our "plate" to review all of the code for such and modify it. I will a reference to this post in our assigned issue for this.
Now, we are human beings, so we won't catch everything, so when newer releases come out, please keep sending us these finds! Thanks! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
benson
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 30, 2006 11:33 am |
|
Hello,
sorry, I just thought that some pictures looks nicer than D or A in that module.
Regards, Benson |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 30, 2006 12:31 pm |
|
No problem. Again, thank you. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kenwood
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/blank.gif)
Joined: May 18, 2005
Posts: 119
Location: SVCDPlaza
|
Posted:
Sun Apr 30, 2006 12:49 pm |
|
don't forget to replace name=\"op with name=\"l_op\" |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|