All questions about EDocman extension

Column / Grid Layout

  • siptec
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 2 months ago #93792 by siptec
Column / Grid Layout was created by siptec
This question has been asked about making the default layout the Column / Grid view and I made changes to the categories on the administration to have these show in Column / Grid view, but with no change in the result.

There is an option in the menus to have a "Column Layout" which does work, but removes the ability of the user to change back to List using the buttons.

Could this be better handled to allow the menu item of Category Layout have an option to default to Grid or List?

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

More
7 years 2 months ago #93911 by Mr. Dam
Replied by Mr. Dam on topic Column / Grid Layout
Hi Siptec,
To change from List view to Grid view as default, please follow these steps:
1. Open file: root > components > com_edocman > assets > js > layout.js
2. Add this line below line 9
Code:
cookieLayout = "grid";

Good luck
Dam
The following user(s) said Thank You: siptec

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

Moderators: Mr. Dam