We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
5
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
5
  • Home
  • Forums

How do I "structure" the foundation of my article-categorized website

How Do I?

yzs's avatar
yzs
40 posts
8 years ago
yzs's avatar yzs

Hi!

I’m planning to import articles related to music production and I need help how to build a better structure foundation for the category group that is searchable and filter-able.

the channel will be Glossary and entries submitted are mostly terms that relates to music production for now weather it’s the audio gear used, plugins or the interface of a digital audio workstation.

Title Entry examples: Midi Keyboard - a musical oriented device that generates and receives midi messages through midi signals using its’ midi connections such as in, out and thru ports or a usb connection between a computer and blah3x… FL-Studio - a digital audio workstation that does this and that… D.A.W. - Also known as Digital Audio Workstation, a computer software that acts as the main interface to record, edit and create an audio track and etc.

I am thinking of achieving a Lynda.com similar category structure

and I’m trying to figure out how I can make a filter-search on the front-end

       
James Mathias's avatar
James Mathias
225 posts
8 years ago
James Mathias's avatar James Mathias

Hi,

On Lynda.com are you talking about the “Browse Our Top Courses” section of the homepage where when you click on a business it filters the items below to only include those that are categorized as Business? Or something else?

If this is what you want to accomplish, you can use Dynamic Parameters (https://docs.expressionengine.com/latest/channel/channel_entries.html#dynamic-parameters) and some sort of CSS or JS animation.

       
yzs's avatar
yzs
40 posts
8 years ago
yzs's avatar yzs

you mean like this

{exp:channel:entries channel="glossary" category_group="Subject" dynamic_parameters="orderby|limit|category"} <form method=”post” action=”{path='template_group/template_name'}”> <input type=”hidden” name=”csrf_token” value=”{csrf_token}” />

<select name="orderby">
    <option value="date">Sort By:</option>
    <option value="date">Date</option>
    <option value="title">Title</option>
    <option value="comment_total">Most Comments</option>
</select>
<select name="sort">
    <option value="asc">Order In:</option>
    <option value="asc">Ascending</option>
    <option value="desc">Descending</option>
</select>
<select name="category[]">
    <option value="">Result Limit:</option>
    <option value="1">{category name 1}</option>
    <option value="3">{category name 2}</option>
    <option value="5">{category name 3}</option>
</select>

<input type="submit" value="Go!">

</form> {/exp:channel:entries}

Thanks!~ But like I’m also worried about the category foundation too, Lynda.com has this kinda structure of their front page:

Library> Business/CAD/Design/etc… Each main category has its own TOPIC, Software and Learning Paths

Now I wouldn’t want to create too many subcategories with the same name and I also prefer that on the front-end website, I will be able to “Filter by” Topics, Software and Learning Paths

So that’s where I’m stuck

       
Rob Allen's avatar
Rob Allen
2,950 posts
8 years ago
Rob Allen's avatar Rob Allen

There’s an addon called Reefine that may help - https://devot-ee.com/add-ons/reefine - gives you the ability to refine/filter entries based on categories or custom fields.

We’re mid way through implementing it on a site and it works well. A note of caution, if you have a lot of category groups and categories it can be slow, filtering from (mainly) custom fields is a lot faster/more efficient - saying that the developer did tweak it for us which made out category based filter a lot quicker - kudos to them!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.