Webmastersite.net
Register Log In

a to z

Comments on a to z

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Feb 14, 2009 - 10:11 AM:

scripts.webmastersite.net/w...s/alphabetic_menu-378.html

Does this only work on the link title or would it work on a custom field? I tried it and it just went to a 404 page, so I guess that's my answer grin But thought I would double check anyway smiling face
digiguy
Experienced

Usergroup: Customer
Joined: Aug 04, 2007

Total Topics: 16
Total Comments: 60
digiguy
Posted Feb 14, 2009 - 12:06 PM:

How about inserting a 'tag' like <!-- aa --> within description field with HTML enabled and then search for aa, bb, .... zz?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 14, 2009 - 7:29 PM:

Any field works the same. Just change both instances of 'title' to the name of the field.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Feb 14, 2009 - 10:18 PM:

hmm, ok seems to be working now grin Perhaps I just had a typo when I first tried it.



How do I get that to a friendly url? I guess I have to add each letter to the .htaccess, but I am lost when it comes to that.

What would I write it if I wanted the resulting url to be http:// www. mysite. co.uk /authors/a ?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 16, 2009 - 7:03 AM:

Rather than repeat 26 times in the rewrite other urls box, I'll give you a rule to use. At Admin -> Settings -> SEO -> Other .htaccess content put
RewriteRule ^authors/([a-z])/?$ search.php?action=filter&filled=1&whichtype=links&titlecondition=start&titlesearch=$1


Changing to use your author field.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.