Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Option to Set default layout from Config #457

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

abbasmashaddy72
Copy link
Contributor

No description provided.

@awcodes
Copy link
Owner

awcodes commented Mar 12, 2024

Can you do this so that it reads from the plugin as a modifier that defaults to the config? I'd like to be able to set it at that level with something like CuratorPlugin::defaultListView('table' || 'grid')

@abbasmashaddy72
Copy link
Contributor Author

Can you do this so that it reads from the plugin as a modifier that defaults to the config? I'd like to be able to set it at that level with something like CuratorPlugin::defaultListView('table' || 'grid')

We Can use Like:
->defaultView('grid' || 'list')

@abbasmashaddy72
Copy link
Contributor Author

Can you do this so that it reads from the plugin as a modifier that defaults to the config? I'd like to be able to set it at that level with something like CuratorPlugin::defaultListView('table' || 'grid')

This is Done Check and let me know if any changes

@awcodes
Copy link
Owner

awcodes commented Mar 15, 2024

Thank you. I will look it over as soon as I get a chance. :)

config/curator.php Outdated Show resolved Hide resolved
src/CuratorPlugin.php Outdated Show resolved Hide resolved
@abbasmashaddy72 abbasmashaddy72 requested a review from awcodes March 20, 2024 20:00
@awcodes awcodes merged commit c92b343 into awcodes:3.x Mar 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants