I have edited the "welcome.html" page the the end user to edit content.
I want to link to chunks and TV's for them to edit.
Can this be done? I can't find any info on this.
Thanks
BG66
-
☆ A M B ☆
- 24,524 Posts
If you could supply the modified welcome.html page's code so I could see exactly what it's doing I'd have a better idea of what you want to do. Does the welcome page just redirect to the edit resources page? I think it could be done with a plugin.
-
☆ A M B ☆
- 24,524 Posts
I do believe this is Evolution. Revo doesn't use ManagerManager. ManagerManager uses javascript to manipulate the existing forms and fields in the Edit Resource page. To add more to the page, a plugin would be used. ManagerManager could then be used as usual to manipulate the additional sections and fields.
Heres a set of plugin examples for the manager welcome screen which might be of use.
1. Unzip the attached manager_welcome_screen.zip, upload the manager_welcome_screen folder into your assets/plugins/ folder.
2. Rename your current welcome.html, and drop the modified welcome.html into your assets/templates/manager/ folder.
3. Create a plugin named "manager_welcome_screen" with the code below ( no php tags )
include MODX_BASE_PATH.'assets/plugins/manager_welcome_screen/mws_plugin.php';
check the following events:
OnManagerWelcomePrerender
OnManagerWelcomeHome
OnManagerWelcomeRender
OnDocFormRender
That wiki page is pretty outdated and most of the instructions do not apply for the newer Evolution changes made to the welcome screen.
Thanks breezer,
I created the new plugin, but it kinda looks like the original manager page.
Still looking for a way to list the chunks and TV's I want the user to edit.
I am using EVO 1.05 and MM 0.3.9.
So I just updated to MM 0.3.11
Will try some more things with this version...
[ed. note: BobbyG66 last edited this post 12 years, 8 months ago.]
-
☆ A M B ☆
- 24,524 Posts
You can make direct links like this
index.php?a=78&id=14
where "a" is the "action" to be done and "14" is the ID of the item in question. This link would open an editing screen for chunk #14.
You can find the action IDs in the manager/index.php file; this is mostly a huge switch that includes the appropriate action .php file depending on what was clicked on.
Using this method, you could even create a management page with these links to show on the front-end (unpublish it and only logged-in Manager users could access it), then create a menu item in Quick Manager for that page. A plugin using the onSave... events would return the user to the front-end page when the element is saved. This has a few flaws in it, but it's a beginning anyway.
[ed. note: sottwell last edited this post 12 years, 8 months ago.]
-
☆ A M B ☆
- 24,524 Posts
I wonder if it wouldn't be possible to modify QuickManager to allow use in the case of front-end access for users whose Manager Interface Access is set to No. That way a user could be allowed to edit using the QM interface from the front-end, without having any access to the Manager itself.