1
andycleff
mX Directory - Display Customization
  • 2005/9/1 20:25

  • andycleff

  • Not too shy to talk

  • Posts: 108

  • Since: 2005/4/29


I have mX directory running a School District directory. It's great. But there's one thing I want to customize to make it work for one particular site even better.

The main directory is at -
http://www.union-city-nj.org/modules/mxdirectory

I've used the Premium Listing feature to easily enable the display of the main school address separate from all the individuals that work at the school.

So for example, if you go to
http://www.union-city-nj.org/modules/mxdirectory/viewcat.php?cid=18
you see the main address up top (Premium Listing level = 5) and all the individual numbers down below (Listing level = 1)

The problem I have is the "Premium Listing" item is also repeated down below in the "All Listings" area.

Not a big deal for this one page, but if you go to the summary of all the elementary schools
http://www.union-city-nj.org/modules/mxdirectory/viewcat.php?op=&cid=6
all the info is duplicated - it in both the Main Listings (via the Premium Listing summary) and the "All Listings" section - which is confusing for the viewer.

So my question is this:
How can I hack things to exclude a Premium Listing =5 from the "All Listing" area to avoid duplication?

Is it as simple as something like enclosing all or parts of xdir_link.html
with a <{if $link.premium <= "4"}>....??

Sorry for the long winded lead post, thought it would make the issue clear.
Andy Cleff
Ampersand Design, Inc
Doylestown, PA
-----
Helping our clients bring great ideas into shape through integrated marketing, creative branding, print and web strategy, online learning and e-commerce.

http://www.ampersandesign.net

Login

Who's Online

396 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 396


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits