• PaymentsPlus

    PaymentsPlus is licensed as GNU GPL ver.2.  To access public areas you must be registered & logged in, where you can access  basic information & the General Forums.  To access member only download and or support areas you must have a current subscription.... Read More
  • Support Services

    PaymentsPlus offers component download & support services on a sucsbription basis. Choose from 4 access levels for support or member download areas. Platinum members get the greatest access and a discount is offered if renewed before the expiry date.
    Read More
  • Need Extra Help?

    Public forums are for user to user support only, whilst posts are answered on occasion by admin no guarantees are made. Whereas Member Forums/Priority Support are for current subscribers. Member forums has 1st priority & are usually answered in 12-24 hours.Read More
Thu 9 September 2010, 07:23 AM
Text Size
   

Login Form



Who's Online

We have 12 guests online

Statistics

Paid Platinum Members : 73
Paid Gold Members : 15
Paid Silver Members : 18
Paid Copper Members : 102
Registered Only : 1653
Total Members : 1861
Content : 23
Web Links : 8
Content View Hits : 74281


Banner

Welcome to the PaymentsPlus User Forums

To access our Support Forums please note the following:

All Users must be Registered and Logged in to be able to create or reply to Posts.

Gereral Public Forums are accessible to all Registered Users.

Priority Support, Custom Hacks and Member Support Forums are only available to current subscribers.
Please refer to the Membership Levels page to view all available access level rights.

Before Posting a topic or replying to a post please ensure you read our Forum Rules


seanh
Copper Member Exp 29, Jan 2010
ranks
useravatar
User Info

"LINK_FEATURED" Text in listings

I'm getting a LINK_FEATURED area in all listings even when I'm not including that field in the product. I believe it's 17. Should it be displaying like that with the underscore and how do I not have the listing be featured?

Thanks!


Administrator has disabled public posting
Tradewise
Admin - Developer
ranks ranks ranks ranks
useravatar
User Info

Re: "LINK_FEATURED" Text in listings

Firstly check the PP Manual for REQUIRED Mtree settings for PaymentsPlus sounds like you have Mtree Template setting for Highlight featured listing set to NO  it should be Yes.

Failing that...

Savant2_Plugin_ahreflisting.php is one of the files modified for PP. Your site may be displaying what was originally written in the code.

Original Code:
# Featured Link?
        if ($show["featured"] <> false) {
            if ( $link->link_featured ) {
                $html .= '<sup class="featured">'.JText::_( 'Link featured' ).'</sup> ';
            }
        }

Modified Code:
# Featured Link?
        if ($show["featured"] <> false) {
            if ( $link->link_featured == 1 ) {
                $html .= '<sup class="featured">'.JText::_( 'LINK_FEATURED' ).'</sup> ';
            }
        }

Two things where changed for PP, one was the addition of an IF statement so it only shows when the value of link_featured = 1 Remember that PP uses the field link_featured to identify the different listing types. 1 = Featured 2 = Standard and 0 = Free

The second was to make the text editable via the language file.  The problem (or beauty) with the JText::_( '' ) function is that is all too easy for a developer to forget to update the language file with the definitions. Jtext will return what's between the commas if it can't find a matching definition.

The Definitions are found in Mtree's Language File
language > en-GB > en-GB.com_mtree.ini


Steve Cox - AKA Tradewise - Developer of PaymentsPlus

Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 1861   Total Topics: 250   Total Polls: 0   Total Posts: 872   Total Posts Today: 2
User Info:   Newest User :  noelj07   Members Online: 0   Guests Online: 12
Online  There are no members online
Generated in 0.054 sec. Queries: 31

Tradewise Promotions Developer of PaymentsPlus Copyright © 2009 All Rights Reserved