Display filter by its id

More
10 years 6 months ago #51304 by rafah
Hi,

Can I display filter by its id in category page.Currently in category page its displaying all filters in a loop.I want to display these filters separately as I have to give different
html design to each filter separately.Is there any code to display a filter by its id?Please help me.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #51306 by micker
Replied by micker on topic Display filter by its id
soory i don't understand .... why separately ?
you can modify display by css not ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #51308 by rafah
Replied by rafah on topic Display filter by its id
Hi,

Actually different filter's positions should be different according to my requirement.Html changes also should be done.So what is the solution?

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #51311 by micker
Replied by micker on topic Display filter by its id
did you try filter module ?
or hack flexicontent ....

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #51317 by ggppdk
Replied by ggppdk on topic Display filter by its id
Hello


1. You need to copy the filters form and then the filters.php inside your template, and then customize them

category_items.php includes:
listings_filter_form.php
which includes:
listings_filter_form_body.php
which includes
filters.php



then customize the new INLINE code of filters.php:


e.g.
Code:
$ids_to_filters = array(); foreach($this->filters as $filt) { $ids_to_filters[$filt->id] = $filt; }

then use:
echo $ids_to_filters[44]->html;


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.289 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save