Where is this option? I can't find it in the settings.
Thanks and best regards
Thanks. I was used to Colorbox and I still have to get familiar with this module.
Kind regards
Sorry to reopen the post, but I noticed that if I click on the image, all the others are also visible, but no gallery is set.
How can I solve it?
Thanks and kind regards
Thank you so much, I hope to use it soon on the new site.
I noticed that Advanced Insert View BUEditor Integration is not enabled, but I don't think I need it.
Thanks again and best regards
Thanks for the quick response and the good news.
Best regards
I'm sorry to bring the post back up, but I wanted to know if there are any news on how to insert classes to images with Drupal 11, or if there are alternative solutions.
For sites with a lot of text and many images it is very complicated to go and look for the correct line in the source code to add the class.
Thanks and best regards
Perfect, thank you. Now it works as I wanted.
Thanks again and best regards
The problem is that I want the thumbnail because the original image is too big.
That's what I can't do.
Thanks and best regards
Thank you for your patience.
Attached when requested.
Best regards
Thanks for the reply.
I can't use composer because my hosting plan doesn't support it. My association doesn't want to upgrade because our site is small.
I'll wait for the next version of drupal.
Thanks and best regards
Thanks for the quick reply.
I must be doing something wrong because the view doesn't work.
- I created the new style: original size, no effects.
- In the content type I put: Image + original size.
- In the view I put: GLightbox + thumbnail
The preview is correct, but the view is not: https://www.gmpe.it/attivita.
Thanks and best regards
I opened an issue on the CKeditor site, but I haven't had an answer yet: https://github.com/ckeditor/ckeditor5/issues/17295
The problem is really annoying, because I can't apply somes css (line height, for example).
I understand that something is needed to load the library, but this does not solve my problem.
- I have an image in a node
- I modified the gmpe.info.yml file as indicated in point #2
What is still missing for it to work?
Maybe the Colorbox Inline module is needed, which does not exist for drupal 11?
Thanks
1. I have been using this module since version 6 and I have never had any problems, nor have I ever inserted anything into the theme to make it work.
2. Even on the site https://www.gmpe.it/, with 10.3.6 I have not inserted anything into the theme (fig. A).
3. On the site https://nuovo.gmpe.it/ with 11.0.5 I cannot insert anything because the theme is in the core.
4. On the site https://prova.gmpe.it/ with 11.0.5 I inserted as in comment #2, but it does not work (fig. B). See https://prova.gmpe.it/prove
5. If I also had to modify the gmpe.info.yml file to make the GLightbox module work, it means that there is a real problem with Drupal 11.0.5
- I created the new site https://nuovo.gmpe.it/ (Drupal 11.0.5) with cpanel. I can't use composer because it's not included in my hosting plan. For dependencies I use the Ludwig module.
- I installed three modules: Admin Toolbar, Ludwig, Colorbox.
- I installed the libraries: colorbox, dompurify.
- I created the page https://nuovo.gmpe.it/node/2
Colorbox doesn't work.
The site https://www.gmpe.it/ with drupal 10.3.6 was created in the same way and has the same configuration. Colorbox works perfectly. See, for example: https://www.gmpe.it/micrometeoriti
I tried to put
libraries:
- colorbox/colorbox
- colorbox/dompurify
but it doesn't work.
Thanks for the reply.
1. I have:
libraries:
- colorbox
- dompurify
and not:
libraries:
- colorbox/colorbox
- colorbox/dompurify
as in the site with drupal 10.
2. I put in the subtheme file gmpe.info.yml:
libraries:
- colorbox
- dompurify
but it doesn't work.
3. I tried the GLightbox module, but it doesn't work either.
I can't understand and I don't know what else to do.
Thanks and regards
No, I use ckeditor 5. There is no ckeditor 4 on drupal 11.
This is a fresh install.
I tried removing the js file and the site works the same.
I still need to put Expand all menu links.
Best regards
In the menu block I selected: Expand all menu links and now it works.
Strange, I had never selected this option.
Thanks and kind regards
- Drupal 10.3.6
- Linkit 7.0.0-alpha2
- CKEditor Anchor Link 3.0.0-beta1
I have the same problem as #52: when I insert the anchor it is deleted.
Thanks. It was the Menu Block module that was causing the problem. I uninstalled it and it deleted all menus. I had to re-insert them all.
There is still one thing that doesn't work: the submenu arrow appears only when you click on the menu.
See for example: https://www.gmpe.it/rocce/rocce
Thanks and best regards
#6 works perfectly with drupal 10, but not with drupal 11.
Are there any alternatives?
thanks
I did a fresh install with Drupal 11 and the problem is still there.
I'm sorry to reopen the post for the umpteenth time, but I'm recreating the site with Drupal 11 (https://prova.gmpe.it/) and the problem occurs again: the menu in the sidebar is horizontal.
I would like it to be exactly like on this site: https://cat-tobi.upf.edu/labelling_system/tonal_representation/pitch_acc...
- Drupal 11.0.5
- Solo 1.0.11
- CSS
#page-wrapper .navigation-sidebar-template ul li.is-active > ul {
display: block;
}
#page-wrapper .navigation__primary li {
--r-br: #B1B894; /* New border color */
}
#page-wrapper .navigation-sidebar-template li a,
#page-wrapper .navigation-sidebar-template li button {
padding-top: 4px!important;
padding-bottom: 4px!important;
}
- js
/**
* @file
* This file is to add any custom js for the Solo Sub-theme.
*/
((Drupal, drupalSettings, once) => {
'use strict';
Drupal.behaviors.addClassToParentUl = {
attach: function (context, settings) {
// Find all active list items within the context.
const activeItems = context.querySelectorAll('.navigation-sidebar-template ul li.is-active');
activeItems.forEach((item) => {
// Find the closest UL ancestor of the current item.
let closestUl = item.closest('ul');
// Add 'toggled' classes if not present.
if (!closestUl.classList.contains('toggled')) {
closestUl.classList.add('toggled');
}
});
}
};
})(Drupal, drupalSettings, once);
Where am I going wrong?
Thanks and best regards
I created a new site with drupal 11 and the same problem occurred: the anchor is deleted.
I uninstalled and reinstalled in a different order the CodeMirror, Editor Advanced Link, Linkit modules and the problem was solved. The same on a site with Drupal 10.
In a third site with d10, I tried everything but when I install Linkit the anchor is deleted.
I also tried to install CKEditor Codemirror but the report says that the libraries are not installed.
Thanks and regards
Thanks for the reply.
I have enabled the colorbox module and the report says that the colorbox library is not installed. I installed it manually.
There are no other files in the Libraries folder.
Thanks, I didn't notice the space. It works now.
Thanks, it works but I had to add !important.
Unfortunately, it doesn't work in images:
. middle {
vertical-align: middle;
}
but it's not important.
Thanks and best regards
Sorry for the very late reply, but I hadn't seen the posts.
1. Full html
2. Plugin settings:
- 17 styles configured
- Source editing:
3. Active filters
- Convert URL to Link
- Insert View
- Linkit URL converter
- img data-align
It works perfectly.
Thanks and best regards
I uninstalled the module. Attached is the result.
Thanks and best regards
I followed the instructions and the menu still doesn't work properly.
I restore the previous situation and keep it like that.
Thanks and kind regards
I activated Twig development mode.
Thank you
I tried deleting the gmpe-script.js file, but nothing changed.
Thanks and best regards
Thanks, it's perfect now.
Thank you for the beautiful theme, thank you for your patience and for having responded to my requests with speed and precision.
Thanks and best regards
It's the other way around: I have all the twig templates, except biologia. If I remove the templates, the menus become horizontal. And that's the problem.
When I upgrade, I always delete the old folders and clear the cache.
Thanks and best regards
I also have this problem, but only in one of my two sites, with the Linkit and Editor Advanced Link modules.
On Linkit (which doesn't work properly), if I select Linkit URL converter and save, the site tells me:
The website encountered an unexpected error. Try again later. and I have the error in question.
Even on Editor Advanced Link, if I change the settings I get the same error.
If I deactivate codemirror the problem is solved (but Linkit still doesn't work).
When I try to reinstall codemirror, the site crashes again, but still manages to save itself.
Unfortunately I confirm the problems.
- All caches have been cleared many times.
- If I delete the twig files, the menus return horizontal, even if in the css there is:
#page-wrapper .navigation-sidebar-template ul li.is-active > ul {
display: block;}
If the cause of the problem cannot be found, the menu can stay that way for now, since it works as I wanted.
Thanks and best regards
Thanks, it could be a solution if I didn't have at least fifty pages with different characteristics.
The real solution should come from ckeditor 5. I tried to write, but I didn't get any response:
https://www.drupal.org/project/drupal/issues/3458454
🐛
Problem with the q tag
Active
At this point I'd better leave it like this.
Thank you so much and best regards
I saw the demo site: wonderful!
It's just what I need: understandable and navigable.
I tried to install it, but I encounter the following problems:
1. if I delete from the custom theme: templates/navigation/menu--biologia.html.twig, the menu returns horizontal:
https://prova.gmpe.it/biologia/biologia
2. the arrow indicating the presence of the submenu does not appear:
https://prova.gmpe.it/fisica/fisica
3. should I delete the gmpe-script.js file?
Thanks for the great work
Thanks, I'll see the post for the fourth level menu.
Menu closing, however, is a serious problem.
It was my first request, because I consider the menu a fundamental part of my site.
I had tested the code on the test site, where the pages are short and I didn't notice that it closed.
Now that the new site is almost ready and the pages are all very long, the problem is evident. As it is, it is not accessible for navigation between pages. I have to find an alternative solution.
Accordion menu modules exist, but they are not compatible with Drupal 10.
Thanks and best regards
giordy → created an issue.
Thank you. It works for this page, but I can't use display:block
because it's not good for all other pages.
Ckeditor 5 introduces q
whenever it encounters any other tag and not just br
.
If I have this with cke4:
<p>
<q>Lorem ipsum dolor sit amet consectetuer id velit dui <strong>Quisque </strong>at.<br />
Phasellus <strong>fames </strong>massa Duis urna gravida Nam elit pellentesque tempor <em>pretium</em>.<br />
Consequat id <u>Curabitur </u>sem sem Phasellus et Nulla.</q>
</p>
With cke5 it becomes:
<p>
<q>Lorem ipsum dolor sit amet consectetuer id velit dui <strong>Quisque </strong>at.</q><br>
<q>Phasellus <strong>fames </strong>massa Duis urna gravida Nam elit pellentesque tempor </q><em><q>pretium</q></em><q>.</q><br>
<q>Consequat id <u>Curabitur </u>sem sem Phasellus et Nulla.</q>
</p>
The result is in fig. 3
Thanks and best regards
1
I see as in fig. 1
2
The q tag is not deleted and display block wraps the text (fig. 2).
https://prova.gmpe.it/fisica/statica
at the bottom of the page.
Thanks for the quick reply. If I delete br
, the text doesn't wrap.
https://prova.gmpe.it/astronomia/nebulose
Thanks and best regards
Alaa you're great!!
It's much easier that way.
Thank you so much and best regards
Thanks but I don't have the technical skills to create the CSS.
If there is an easier solution or a model to copy, otherwise I leave it alone.
thanks and best regards
I solved the border issue in the calendar by applying css for each view.
Best regards
1
The icons are beautiful! Thank you!
2
I didn't create the calendar view but it is part of the Calendar module.
#page-wrapper .view table tbody tr:not(.view-calendar-view) {
border-bottom: 1px solid #BCC8AD !important;
}
it doesn't work and the border is still there.
3
The vertical date depends on the padding present in the module's css. The problem is solved with:
#page-wrapper .calendar-calendar div.day {padding: 0 !important;}
Thanks and best regards
Thanks, it works, but it's not the appropriate solution.
1
I found that the color and size of the table border depends on the browser (table1)
2
This CSS applies to all views but some views do not need to have a border or centered text, for example the calendar.
3
The calendar, in addition to the border, has vertical dates. Depends on what?
Compare:
https://www.gmpe.it/eventi
https://prova.gmpe.it/eventi-0
4
I also have to insert other classes directly into the views but none of them work. I don't know if it depends on drupal 10 or the theme.
Thanks and best regards
Thanks, now borders and padding are correct, even if the internal borders are black and not the theme color.
However, there is a problem: all tables in the views are borderless.
In the old site I solved it by adding a class:
.border-bottom: 1px solid #BCC8AD;
and centered the text with:
text-align-center
In the new site these classes do not work in views.
Compare:
https://www.gmpe.it/notiziario
https://prova.gmpe.it/notiziario
Thanks and best regards
P.S.
Why are there no icons in views and files?
border-bottom must not be present.
borde-bottom is located on solo.table.css
.page-wrapper tr {
border-bottom: 1px solid var(--r-br, var(--r-br-b));
}
I'm migrating the site from d9 to d10, so I copied the nodes from the old site to the new one.
The source code of the two sites is identical, but the theme has changed.
I forgot the images.
It's just what I needed.
Thank you so much and best regards
I'm having problems with the form too.
As per the image, I can insert various things but not the anchor and it does not accept #anchor.
I don't know how to do it because I have many dozens of links to insert.
Thank you. I tried, but maybe I had written something wrong.
Thanks again and best regards
giordy → created an issue.
Thank you. I installed the dev version and now I see the pencil.
Too bad quick edit doesn't work, but that's another problem.
Thanks again and regards
I add another image so the problem is more evident: the Edit button is missing in the Content region.
The module is correctly installed, works perfectly and is not deprecated in the report.
The problem, as shown in the image, is the lack of the button: quick edit, configure block, remove block, edit, which is present in all regions but not in Content.
The problem is in the theme, not in the module.
Thank you and greetings
I completely uninstalled the site and reinstalled. Now the menus work correctly, but I have to add the menu--xxxxx.html.twig file for each menu (21 files). That's fine.
Who knows why on the test site the menus work even without those files.
Now I have a new problem: the image in Top First Container has a strange border. I don't understand what it depends on. This problem had never arisen in previous installations.
Thanks and best regards
#page-wrapper .navigation-sidebar-template ul li.is-active > ul {display: block;} In http://testns.gmpe.it/cms/ it works and the menus are vertical. It is targeting the verticals only, you can include the horizontal or any other.
Of course it works in http://testns.gmpe.it/cms/, but it's in the new site https://prova.gmpe.it that it doesn't work. That's why I reopened the post.
I think the only thing to do is to uninstall everything and start over.
Thanks and best regards
1. I have loaded all the CSS into gmpe-style.css
They all work except:
#page-wrapper .navigation-sidebar-template ul li.is-active > ul {display: block;}
In http://testns.gmpe.it/cms/ it works and the menus are vertical.
2. I have disabled CSS and js aggregation.
I see them both.
3. Except Biologia, I have menu Approfondimenti/Minerali, Rocce, Fossili, etc
On the test site there are suggestions, on the new site there are none. They are completely different.
4. gmpe_preprocess_block is not there. You can check the zip in this post.
If I can't get the menu to work exactly like the one on the test site, which is perfect, I completely uninstall the site and recreate it from scratch.
Thanks and best regards
Thank you for everything you are doing for me.
Unfortunately it doesn't work.
0. In CSS Injector I have:
#page-wrapper .navigation-sidebar-template ul li.is-active > ul {
display: block;}
00. In gmpe-script.js I have:
((Drupal, drupalSettings, once) => {
'use strict';
……………………
1. ok
2. I don't have the Biologia menu because I haven't created it yet, but I have other menus.
3. I can't find it: where should I look?
4. ok
5. ok
6. ok
7. I'm not an expert: how do I know if they work correctly?
Thanks and best regards
I'm sorry to have to reopen the post, but on the test site: http://testns.gmpe.it/cms/ everything works perfectly, while on the new site I'm preparing: https://prova.gmpe.it/ the menus don't work correctly.
1. In the test site, all the menus are vertical without inserting the menu--xxxx.html.twig file into the template, using only the css. In the new site, the menus become vertical only by inserting the file for each menu.
2. On the test site, the submenus remain open, while on the new site they do not.
Compare the Biologia menu: http://testns.gmpe.it/cms/biologia/biologia and the Meteorologia menu: https://prova.gmpe.it/meteorologia/latmosfera
What could it depend on?
Thank you and greetings
It's beautiful! Thank you so much.
I don't use Composer because it's not included in the hosting plan. The site owner does not intend to upgrade to a higher hosting plan. I'm happy with the Ludwig module.
Thank you and greetings
Thank you for your attention and patience.
I didn't think a simple tag could create these problems.
I point out that I don't use Composer and I do everything manually.
A question.
Why don't the View, edit... tabs of the sub-theme have the animation, which was so beautiful?
Thank you and greetings
I checked, and the problem is in the sub-theme. If I uninstall it, Codemirror works fine.
We should figure out what affects the code, but I don't know where to look.
I could give up the sub-theme, but there are essential instructions in info.yml and libraries.yml and I wouldn't know where to put them without the sub-theme.
Unfortunately in the new site the theme does not work correctly: main menu, sidebar menu, animations, rounded edges etc...
Compare the test site: http://testns.gmpe.it/cms/ with the new site https://prova.gmpe.it/
I am going crazy!
Thank you and greetings
Thanks for the quick response.
I use the sub-theme you prepared:
https://www.drupal.org/project/solo/issues/3437337
💬
How to create custom menu template in sidebar first/second.
Fixed
Thank you and greetings
Thank you so much. I thought --r-h1 only referred to h1 and not also to h2 and h3.
Greetings