How to get URL of current FC category

More
6 years 2 months ago #74881 by lipatovroman
Hello!How to get current FC Url?Explain.I want to replace native FC sorting on simple links So, I need to get current URL of category and add prefixes:?limit=10 ?limit=50?limit=100 
Next, in same way I want to replace dropdown order to simple links by adding prefixes:&orderby=rated&orderby=modified&orderby=popularSo, how to get URL of current FC category?

Also, how to get count items in current category?
I need to add condition - if item < 10 then not displays ?limit=10 
Thanks.

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

More
6 years 2 months ago - 6 years 2 months ago #74882 by ggppdk
Hello

so you want the current url to be able to display the options of the selector as links, one after the other (like you posted in the picture ?)


-- 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...
Last edit: 6 years 2 months ago by ggppdk.

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

More
6 years 2 months ago #74883 by lipatovroman

ggppdk wrote: Hello
so you want the current url to be able to display the options of the selector as links, one after the other (like you posted in the picture ?)

Yes, I want minimize and simplify interface for best user experience.
Something like this:


But no action is required of you.
I can make it right in category layout.

I just need to get variable with current FC Category Urls.

Then I just will add suffix like this:
Code:
$ratedlink = $currenturl."&orderby=rated";
Thanks.

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

More
6 years 2 months ago #74891 by micker
maybe you can create 3 menu
1 use override option
2 use locked field option and ordering
3 display this module on your page or use link in your template

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
6 years 2 months ago #74894 by lipatovroman

micker wrote: maybe you can create 3 menu
1 use override option
2 use locked field option and ordering
3 display this module on your page or use link in your template


Menu menu should be assigned for specific category.
I just need to change dropdown ordering in links - but it should work in any category, including tags view.
So, I only need to get current url. Read my posts above.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.391 seconds
Save
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