Jump to content

Recommended Posts

Posted

Hi,

Need some pointers porting a client's site (built by me with ExpressionEngine) to PW.

My plan is to use the Skyscraper profile as a starting point. I have already converted the skyscraper profile to serve my purpose:

The relation: 'skyscrapers -> cities -> architects' is now 'publications -> categories -> authors'

I need help rewriting 'search.php' and 'search_form.php'. I want to add search for publications by categories/subcategories, only showing subcategories when needed in another dropdown.

My categories/subcats:

Publications (formerly 'cities')

- Reports

  - sub cat 1

  - sub cat 2

  - sub cat 3

  - sub cat 4

  - sub cat 5

- Articles

- Presentations

- Miscellaneous

Best regards,

Peter

Posted

Welcome to the forum Peter

I never worked with EE so I can't help you there, but there are some people here that did the jump already and I hope they will join.

About the search. I can think of two ways you can change the options in the dropdown with the subcategories

1. with ajax

2. assigning everything to a variable in the head of the page in a js object and load the corresponding list whenever the the parent page is chosen on the other dropdown.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...