Filtering Item Manager via URL

More
6 years 10 months ago #71271 by iamrobert
We can now filter FLEXIcontent Items Manager via URL by:
+ category
+ type
+ language

Take the URL:
administrator/index.php?option=com_flexicontent&view=items

and add:
[hr]
Set Category:
&filter_cats=11
To filter by the category with id 11

So the URL would be:
administrator/index.php?option=com_flexicontent&view=items&filter_cats=11

[hr]
Set FLEXIContent Type:
&filter_type=32
[hr]
Set Language:
&filter_lang=en-GB
to filter via English
[hr]
Set Featured:
&filter_featured=1
If you want featured

Options:
  • 1 = Featured
  • 0 = Not Featured
[hr]
Set State:
&filter_state=P
for Published

Options:
  • P = Published
  • U = Unpublished
  • PE = Pending Approval :: Unpublished
  • OQ = Draft :: Unpublished
  • RV = Revised :: Published (Unreviewed Version)
  • A = Archived
  • T = Trashed
  • ALL_U = Unpublished state(s)
  • IP = In progress :: Published
  • ALL = All state(s)
  • ALL_P = Published state(s)
  • ORPHAN = Orphan
[hr]
SET ACCESS
&filter_access=1
for Public

Options:
  • 1 = Public
  • 5 = Guest
  • 2 = Registered
  • 3 = Special
  • 6 = Super Users
[hr]

WHY
If you use a component such as:
+ Quick Icons
extensions.joomla.org/extension/asikart-quickicons-pro/
+ Admin Menu Mangaer
extensions.joomla.org/extension/admin-menu-manager-pro/

it enables you to simplify the Joomla UX for your client.



So - you could link directly to the Gallery Category.

You could also combine the categories:

+ Language + Type

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

More
6 years 10 months ago #71278 by micker
all is here
github.com/micker/mod_flexiadmin
with more option ... use github for issue and request

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 10 months ago #71279 by ggppdk
Thanks for suggestions

we could make some documentation and / or some automatic integration


-- 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.

More
6 years 10 months ago #71281 by iamrobert
Hi Micker & ggppdk ,

Happy NY.

I do use mod_flexiadmin for every site.

But it could also be useful for top menu:


The only limitation is if the client has already set the variables in the item manager - then the category URL doesn't work.


Most of my sites have a combination of:
+ mod_flexiadmin
+ asikart-quickicons-pro
+ admin-menu-manager-pro

Admin:


I was just writing a reference for me to remember and thought may as well as post it.


Cheers,

Robert

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

More
6 years 10 months ago #71282 by micker
yes it will be a good idea
1 add an option in global config to add auto link to each type (in submenu)
2 add an option in each type to add or not link in submenu

i will update flexi admin module with new option and maybe an unlimited button edition (need to rewrite the whole code but interesting for learn) on febuary
did you test field display in custom block ?
in last relase i add string translation in all part (button etc) for multi langue site and finished trash block
if you have idea or issue post in github !

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
5 years 3 months ago - 5 years 3 months ago #76976 by iamrobert
If you wish to change Language:


Code:
if (window.location.href.indexOf("&typeid=30&maincat=121") > -1) { //English $("select#jform_language").val("en-GB").change(); } if (window.location.href.indexOf("&typeid=30&maincat=122") > -1) { //Chinese $("select#jform_language").val("zh-TW").change(); }


And you can add in secondary cat if required:


$("select#jform_catid.scat").val("107").change();
Last edit: 5 years 3 months ago by iamrobert.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.464 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