Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Pointer Subcategories in LinksSQL3.3 - like [widgetz] Yahoo style subcategories (@) in Links2.0

Quote Reply
Pointer Subcategories in LinksSQL3.3 - like [widgetz] Yahoo style subcategories (@) in Links2.0
Since there is no MOD like the one used for LINKS2.0 (to mix pointers with subcategories - not related category section) where I can not have pointer categories (categories that end with @ and point to other categories) among the regular sub categories (as stated in the following thread: http://www.gossamer-threads.com/...2.0_P307727/#p307727

and in:
http://www.gossamer-threads.com/...egory%20yahoo#p88414

).

Then how do I phrase the code to say (after all imports finish) in subcategory.html template:
Code:
<%if subcategoryname finishes with @%>
change its URL should use the URL specified in its <%Description%> field
<%else%>
do nothing (use the existing URL specidied in the URL field)
<%endif%>

Thank you
Mark
Quote Reply
Re: [Mark2] Pointer Subcategories in LinksSQL3.3 - like [widgetz] Yahoo style subcategories (@) in Links2.0 In reply to
Have you tried doing "related" categories? (from Admin > Browse) .

You can't do it any other way AFAIK - but its definatly a feature :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Pointer Subcategories in LinksSQL3.3 - like [widgetz] Yahoo style subcategories (@) in Links2.0 In reply to
Related Categories are completely different from the Pointers. Related categories in 3.3 are listed under their own section (Related Categories); while Pointer Categories are mixed with the original subcategories as shown in:

3.3:
http://www.allnewspapers.com/...gi?g=Asian_Media;d=1

Compare to L2:
http://www.allnewspapers.com/Asian_Media/

As you can see that in 3.3 are not working after I imported them from 2.0 where they should be pointing to the specified URL shown under neath them. Thanks Mark

Last edited by:

Mark2: Nov 4, 2010, 1:07 PM
Quote Reply
Re: [Mark2] Pointer Subcategories in LinksSQL3.3 - like [widgetz] Yahoo style subcategories (@) in Links2.0 In reply to
Hi,

They shouldn't be , if you have the right setting :)

Setup > Build Options

Use Yahoo-style related categories: this will put the related categories grouped in with the main categories, prefixed with an @ sign. If you use this, you can only sort alphabetically.
build_category_yahoo Yes

This should then "merge" the "related" categories into the main category list (havn't tested it - but I'm pretty sure thats what this setting does Wink)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Pointer Subcategories in LinksSQL3.3 - like [widgetz] Yahoo style subcategories (@) in Links2.0 In reply to
True.. if you check "Yes" for the Yahoo in Build Options, then the related subcategories will be mixed with the regular subcategories; however:
- There will be no "Related Category" section anymore
- Sorting becomes so limited to alpha sorting.

The intention is to make the pointer subcategories work and be mixed with the regular subcategories (use the URL specified in the <%Description%> instead of any other criteria.
Additionally, the "Related Categories" section that lists related categories should still exist as is now.

The Pointer Subcategories and Related Categories are two different things.. even though both end up with "@" ...
My site requires both types to work:

This is where it is mentioned for 3.x
http://www.gossamer-threads.com/...ahoo._P88414/#p88414


http://www.gossamer-threads.com/...m/?post=37476#p37476 (in Links2)

Thanks
Mark
Quote Reply
Re: [Mark2] Pointer Subcategories in LinksSQL3.3 - like [widgetz] Yahoo style subcategories (@) in Links2.0 In reply to
Mmm ok - not really sure how that can be done. Afraid I'm a bit bogged down with work atm, so don't really have any spare time to start playing around to try and find you a solution :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Pointer Subcategories in LinksSQL3.3 - like [widgetz] Yahoo style subcategories (@) in Links2.0 In reply to
Not to worry... you've been always a great help to all...
Regards
Mark