@torfj #43 - Thanks!
Re #44 - So to clarify, with your new logic, child terms are preserved regardless of whether a term is moved within the same vocabulary or to another?
Re #41 - maybe the user can be advised to do the batch alias update of taxonomy paths using pathauto? Or could it be called from this module at the end of the process of moving the terms?
leeksoup ā created an issue.
@joseph.olstad,
Thanks. Yes I have installed/ updated the 3 jquery_ui* modules since a few updates back. :)
I did the update and no issues so far. Thanks for all your work on this!
leeksoup ā created an issue.
Thanks! Does something else have to be updated for the jQuery 4, or just the bootstrap module?
Great, thanks!
I pushed the bugfix to the issue branch.
I pulled it from git to try and found that it breaks on imports of previously-exported content.
The error occurs because the importAssets function only handles the new path options of 'assets/public' and 'assets/private' but not the old one of simply 'assets'.
I think this needs to be at least documented and probably the old behavior should be replicated for import of old exports. I am fixing it that way in my dev copy and would be happy to update the issue branch if that is agreeable and someone can guide me on the appropriate way to do it.
I just tested it and it works fine. Just a one-line code fix to line 435's search and replace values.
Works for me with Drupal 10.3.6 and Group module version 2.3.0. I have been using this for several months now.
+1 I am looking for this feature also! Is anything more needed before it can be merged?
Does anyone know the answer to this question? Please respond if you do. :)
The problem is acute since Group Forum does not seem to be getting updates any more. Its maintainer has said that:
we're not using the forum module anywhere, I can't really help with maintenance much, especially because I'm not familiar with the group module beyond version 1, yet.
Hi @salmonek
Thank you for that clarification! It works now. :)
I agree it would be good to add that to the docs.
leeksoup ā created an issue.
@nginex - Thanks! I tried your patch and the comment exports for Forum posts look good!
For the import, what needs to be implemented? I'm willing to give it a shot if you can give me some pointers. If that would be helpful, that is. :)
Corrected a small mistake in Step #3 of "Overriding Fonts and Colors" and clarified the instructions a little.
Or do I just set new breakpoints in the theme.js file? Ok, that appears to work. I think I've got it, at least for now. :)
Thanks much!
I am one of the many thousands of site developers who has to upgrade from Bootstrap 3 to Bootstrap 5. Is there any documentation yet to get us started?
For example:
- how to install bootstrap 5 in parallel/ in addition to bootstrap 3
- list of what all will likely need to be updated in sub-themes
- any "gotchas"
Thanks.
@elaman - :facepalm: Thanks for your patience. I somehow missed the first section of directions. I will try again from the top.
I think this one instruction is incorrect though.
Replace all occurrences of ../../.. with ../../anu_lms
I think, looking at the actual paths, that I need to use ../../../contrib/anu_lms/rest/of/the/path, or actually, to comment out the existing paths and use the ones that are currently commented out. e.g.
// Again, make sure the path to the module is correct.
//'@anu': path.resolve(__dirname, '../../../js/src'),
'@anu': path.resolve(__dirname, '../../../contrib/anu_lms/js/src'),
I will work on this and get back if I need more help. Thanks again!
@elaman - OK, I do have some questions.
1. Copy over contrib/anu_lms/js/src/theme.js folder into custom/anu_lms_override_styles/js/src/theme.js.
theme.js is only a file -- is that all I need to copy over? Or do I also need to copy over a folder? (Step 3 says to edit a copy of the webpack.config.js file, but that wasn't copied over earlier.) :confused:
2. Edit custom/anu_lms_override_styles/js/src/theme.js by: ...
Is it also possible to have separate fonts for headings vs body content?
3. Edit custom/anu_lms_override_styles/js/webpack.config.js file, where you:
- Replace '@anu/components/Heading': path.resolve(__dirname, './src/components/Heading'), with '@anu/theme': path.resolve(__dirname, './src/theme'),
- Replace all occurrences of ../../.. with ../../anu_lms
When I search, there is no "components/Heading" in that file and the only occurrence of "component" is in a comment. The pattern ../../.. also doesn't exist in this file. The only occurrence of @anu in the file is in line 36:
'@anu': path.resolve(__dirname, './src'),
Am I misunderstanding your directions?
Thanks for your help!
@elaman - Thanks! I will check that out and let you know if I need more help. :)
@spleshka - thank you!
Is there any documentation of this at all?
I don't have a Slack account. I appreciate the suggestion though. Yes, maybe next time. :)
@vensires - Thank you! That did it! Once I set an insider role to sync with the Administrator global role, I could access all the groups.
When I go into the admin for the group I want to recover, I see that I am listed 4 times on the members page: twice with no role and twice with a role that allows access to everything. So Idk why I wasn't able to access group content until I made the role change you suggested in #11.
Also every other group member appears twice on the page /group/1/members ... only in this one group though.
Thank you so much for your help!
Looking at an old DB backup, I see that the group with the messed-up access was created back before the group_relationship and group_relationship_field_data tables existed. For the other tables with names like group* the old data was carried over without changes and of course new groups etc have been added since then.
Also, other members of the group CAN see all the group nodes, but I can only see the group forum posts. I should be able to see everything and administer the group.
Thank you for the suggestions.
a) if the issue has been provoked by #3471867: New group does not allow access to group creator; could you create a new role, join it with a Drupal role automatically and make sure it gets all the permissions required? Would that solve the problem for you?
It was a group I created before that particular problem, but the permissions got messed up after one of the updates. I don't really understand what you mean here though. Where would I be creating a new role? What would I be joining? How would a Drupal role join automatically?
c) Create a new group entity with the same info you want (group field values etc) and then update that database records so that each reference to the old group is replaced with a reference to the new group.
Wouldn't it be easier to update the DB record for the existing group to fix the role problem? I took a look at the `group*` tables but it was not at all clear to me what was going on. There are a dozen tables including 2 whose names begin with group_relationship.
I do appreciate your help!
I didn't know about that command, but will give it a try.
What about the question (b)? That group I want to restore, not delete.
Thanks.
@vensires - No, that was a solution to a related problem but not this one.
These groups do not show anywhere on the admin pages, and if I try to access the group directly, I get an Access Denied error. Is there any way for me to delete them?
Re #13, I tried it and it does not work for comments. (No export option is available for comments even with this path installed.)
leeksoup ā created an issue.
Re #4 š comments import not working Active
As an option, we could add a setting to export the Node with all of its child Comments, but that could not work if there're a lot of comments for the node.
How difficult would it be to do this option? I don't have a lot of comments per node so this might work for me.
@abramm - is there any update to this feature? I have a need to sync specifically comments in the Forum module, but I think the comment entities are the same as any other comments in Drupal.
Are there any pointers you can give me? The most important problem I'm having is when the page width is between 960 and 1200 px. At 960px, the left column gets added (with the list of lessons / contents) and that pushes the actual lesson column into the right sidebar.
Is this something I can fix with css? Or is it hardcoded into the javascript somewhere?
It would also be nice to be able to adjust the colors etc. but that is not as critical.
Can this also work for comment entities like the comment_forum fields that the Forum module uses? What else would need to be added?
Is there any solution for this?
@cilefen, @pameeela - Yes, the Smart Trim module works for me and resolves both this issue and the related one to strip tags before counting characters for text trimming.
I agree with making it a feature request. Thanks.
@pameeela - thanks.
@cilefen - I will test and check whether the contrib module works for me, and report back.
@pameeela - Somehow I overlooked your post earlier. Is the Smart trim formatter you linked a drop-in replacement for the default one?
Clarifying question in title.
leeksoup ā created an issue.
I solved this using the module single_content_sync and a plugin that I wrote ā .
leeksoup ā created an issue.
Solved! I went to /admin/group/types/manage/my_class?destination=/admin/group/types and
1. unchecked the two options under "Creator settings"
2. saved
3. then re-checked them
4. noticed that no role was checked under "Access settings > Group creator roles" and checked the right one
5. then saved again.
I am not certain whether it was #3 or #4 that was the key to solving the issue. This all worked perfectly before, so I don't know when the settings got "lost." Frustrating.
Additional info. The config for the Group Type looks like this:
uuid: [....]
langcode: en
status: true
dependencies: { }
id: my_class
label: 'My Class'
description: 'Class group'
new_revision: true
creator_membership: true
creator_wizard: true
creator_roles: { }
@nginex - That was it! :facepalm: I can't believe I forgot to do that!
Thanks for checking the code!
leeksoup ā created an issue.
Attaching the updated plugin code.
leeksoup ā created an issue.
@guido_s = Thank you for the alternative suggestion. The Single Content Sync ā module works great for my use case!
@vladimiraus - Noted, thanks.
Thank you for the quick response! I will fix those items.
Nvm, it's my fault. I forgot to add my custom plugin to the site where I was importing the content. :facepalm: When I fixed that, it all imported fine. Nice work on the module!
Apologies! ... and I'll close this issue.
leeksoup ā created an issue.
@guido_s - Thank you for the update. I hope it will happen soon! Meanwhile, also thanks for the info on single_content_sync. I will give it a try.
Update. I tried the method described by @orkut-murat-yılmaz in #50 but it does not work for me. I get error messages on both cli and GUI attempts to install or uninstall, and nothing for the module appears in my admin/config page under Development (or anywhere).
@orkut-murat-yılmaz - when you said "@mjgruta's latest MR (as a patch)" did you mean e0ef7263 - Update content_sync.info.yml, invalid indentation? That is the one I applied...
Error messages:
# drush pm-install content_sync
[warning] Drush command terminated abnormally.
GUI install from admin/modules page gives a "This website encountered an unexpected error."
But if I try again, then it says it was already installed...
# drush -vv pm-install content_sync
[info] Drush bootstrap phase: bootstrapDrupalRoot()
[info] Change working directory to /home2/suchimyj/SUCHIM.stage/web
[info] Initialized Drupal 10.3.2 root directory at /home2/suchimyj/SUCHIM.stage/web
[info] Drush bootstrap phase: bootstrapDrupalSite()
[info] Initialized Drupal site default at sites/default
[info] Drush bootstrap phase: bootstrapDrupalConfiguration()
[info] Drush bootstrap phase: bootstrapDrupalDatabase()
[info] Successfully connected to the Drupal database.
[info] Drush bootstrap phase: bootstrapDrupalFull()
[info] Starting bootstrap to none
[info] Drush bootstrap phase 0
[info] Try to validate bootstrap phase 0
[notice] Already enabled: content_sync
Yet, nothing is added to admin pages.
And if I try to uninstall, I get this error:
# drush pmu content_sync
In PmCommands.php line 175:
The following module(s) are not installed: content_sync. No modules to uninstall.
Yet, GUI shows it in Uninstall page. Though trying to uninstall again gets "The website encountered an unexpected error. Try again later." error.
Trying again did work though, contrary to what drush reports.
Help?
This module looks like just what I need right now ... if only I could get it to work. Thanks.
I'm also hoping for this functionality with D10 compatibility and wondered about the status. Is it planned soon, or should I try as #50?
leeksoup ā created an issue.
leeksoup ā created an issue.
leeksoup ā created an issue.
What is the status on this please? I ran into the same issue trying to install Anu LMS and having composer want to downgrade IEF.
The attached patch file fixes the issue for me.
Originally reported at core issue queue until realizing that it belongs in module issues.
Nvm. Figured it out while working on something else. The problem is in the pathauto.info.yml file, which is missing the ctools dependency. I'll report this in the module's issue queue.
leeksoup ā created an issue.
@larowlan - Do the remaining items need to be split off into a new / separate issue?
I think @catch is correct in #28. It's also unclear to me why the "include file in display" checkbox on the media item's page does not match the DB value.
@larowlan Re #259
In D 10.2.3, text_summary (trimmed) output is still much shorter than the selected number of characters in "Trimmed limit." It appears that it still counts markup within the character count.
E.g. I set a Trimmed limit to 1500 characters but get this for trimmed output:
This is only 900 characters.
If the node contains something with more markup, such as bullet points, the trimmed value is even shorter. e.g. with the same filler text put into a numbered list, like this:
Meeting recording:
[video embed]Your questions -- answered!
This is some filler text that I am using to test the trimmed text function.
- This is some filler text that I am using to test the trimmed text function. This is some filler text that I am using to test the trimmed text function.
- This is some filler text that I am using to test the trimmed text function. This is some filler text that I am using to test the trimmed text function.
- This is some filler text that I am using to test the trimmed text function. This is some filler text that I am using to test the trimmed text function. This is some filler text that I am using to test the trimmed text function.
- This is some filler text that I am using to test the trimmed text function.
- This is some filler text that I am using to test the trimmed text function.
- This is some filler text that I am using to test the trimmed text function.
And continues on with more paragraphs of text here.
Then the trimmed output looks like this:
With the same text as in the first screenshot, this time the trimmed value only has 139 characters.
leeksoup ā created an issue.
@ressa - do you know whether it is a bug or if it is intended to remove videos from the trimmed version?
Other types (documents, images) do appear within the trimmed post, but video content (both local and remote) just gets skipped over, but text from after the video does show up in the trimmed version.
Happy to post an issue but not sure what module it would belong to.
Sorry, no. Still an issue with Groups 2.2.2.
Group Forum module was I think supposed to help with it, but it doesn't have a release compatible with Groups 2.x or 3.x. There is a fork in the issues queue that you can try, that works with Groups 2.x, but with that installed, I am still able to see the forums and topic lists as an anonymous viewer.
For those upgrading from older versions of Drupal, it is also true that it doesn't work for "Filtered HTML" either.
Is this issue still being worked on? The last update re code is from a year ago, and I do not see any issue regarding the CKE5 issue mentioned in #56.
@ressa - Thank you for that info. I did not find that issue when I searched. So, it looks like the delimiter comment string is getting stripped out of the body before it gets to the 'text_summary' function.
Since the summary = the teaser, you can see it a couple different ways. Maybe the easiest is to preview the node Teaser view. Any View that includes the content - Teaser should work also.
You can set your teaser length here: admin/structure/types/manage/content-type-name/display/teaser
This does not address the other issues though.
Thank you, but I was asking with which Drupal version is Flexible Permissions in core. I did see that about variationcache. Sorry for the confusion.
leeksoup ā created an issue.
I solved the problem. Somehow, during the update, the group's permissions at /admin/group/types/manage/my-group/permissions
lost the checkmarks for the group admin to create and edit blog post content. After I restored the permissions, I can now view all the group content and add all the content types I could before.
leeksoup ā created an issue.
After updating to D10.2.x it broke again ... this time due to flexible_permissions and its variationcache dependency. I was able to get it to work again after modifying flexible_permissions to use the new core variation cache. Not certain I got everything, but this is working for me: https://github.com/leeksoup/flexible_permissions on the use-core-variationcache branch
It was still breaking my site when I updated to D10.2 even after updating variationcache to latest (1.5), doing drush updatedb and drush cr. With errors expecting type \Drupal\variationcache\Cache\VariationCacheInterface but getting \Drupal\Core\Cache\VariationCache in flexible_permissions/src/ChainPermissionCalculator.php line 63.
I ended up making some small modifications to a copy of the flexible_permissions module to use the new Core variation cache instead of the variationcache module. I am not 100% certain I got everything right, but my modified code is working for me.
@Ruslan-Piskarov - If you want to try it out, it's at https://github.com/leeksoup/flexible_permissions on the use-core-variationcache branch.
@patricia.gende - You may want to consider changing the affected contrib modules in the other direction, i.e. from \Drupal\variationcache\Cache\VariationCacheInterface to \Drupal\Core\Cache\VariationCacheInterface etc.
@ice70 - I modified a copy of the flexible_permissions module to use the new Core variation cache instead of the variationcache module. I am not 100% certain I got everything right, but my modified code is working for me.
If you want to try it out, it's at https://github.com/leeksoup/flexible_permissions on the use-core-variationcache branch.
leeksoup ā created an issue.
Thanks for all the work on this, @sijumpk! Is this patch only for version 11.x?
leeksoup ā created an issue.
OK, so I was able to put everything back to 10.1.8 and then install the fork by doing the following:
- composer require 'drupal/flexible_permissions'
- cd web; drush pm:enable flexible_permissions
- cd modules/contrib/
- git clone ...
- rm -r group_forum
- mv group_forum-3349564 group_forum
- cd group_forum
- git checkout 3349564-group-2.x-compatible
- cd back to top level directory (above web/)
- hack top-level composer.lock to allow group:^2.0@RC
- composer require 'drupal/group:^2'
- cd web/
- drush updatedb
It seems to be working. Or at least the site isn't broken anymore.
The patch in #24 works for me, after clearing all the caches.