Nice! Thanks for posting those two JavaScript (JS) and Cascading Style Sheet (CSS) snippets. Very helpful!
For newbies or visitors from the future: While the above JS and CSS snippets can be directly embedded in an HTML file (the old way), the new way of doing things is to just reference them in an HTML file, but have their code reside in physically separate files (.js, .css) in specially designated places in the file system (/js, /css). For additional background, please see:
I believe those hook suggestions that were removed were all used for theming individual fields. I think this could work to bring them back:
function MYMODULE_preprocess_views_view_field...
Posted3 hours 33 min ago by Alejandro Cremaschi (argiepiano) on:
Thanks for the input: I'd like to just re-add all the ones that were removed because this isn't to fix one particular view, but to ensure all the templates I was using in D7 work in Backdrop.
This really depends on which type of view display you want to add this template suggestion to. Can you post a photo of the D7 views configuration > Theme: Information screen and circle the...
Posted11 hours 59 min ago by Alejandro Cremaschi (argiepiano) on:
I had similar issue when creating or updating a custom blocks not being saved.
Problem stopped when I turned off 'Cache pages for anonymous users' and 'Aggregate JavaScript files' at Admin...
Hi Colbycat.
There are a lot of unclear, potentially problematic, aspects in your function. To start with, the first parameter received by the hook implementation you pasted (...
Posted2 days 3 hours ago by Alejandro Cremaschi (argiepiano) on:
Comments
This problem has been around quite a while. I'm not sure if anyone has opened an issue for it yet in the forum.backdropcms.org issue queue:
https://github.com/backdrop-ops/forum.backdropcms.org/issues
If someone opens an issue, I'll try to bring this up at one of our upcoming dev meetings.
Hello @stpaultim,
Have opened issue as you suggest:
https://github.com/backdrop-ops/forum.backdropcms.org/issues/153
Have opened ckeditor 5 issue
https://github.com/ckeditor/ckeditor5/issues/17310
Have posted issue screenshot:
https://ibb.co/wLkWkyH
I suggest we use a url shortener (for long urls) until this situation is resolved:
https://www.shorturl.at/
g.
----
$('.field-name-comment-body a').each(function() {
if ($(this).text().search('http') == 0) {
$(this).attr('title', $(this).attr('href')).addClass('compressed-link');
}
});
.compressed-link {
display: inline-block;
max-width: 30%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
Heya @Enthusiast,
Nice! Thanks for posting those two JavaScript (JS) and Cascading Style Sheet (CSS) snippets. Very helpful!
For newbies or visitors from the future: While the above JS and CSS snippets can be directly embedded in an HTML file (the old way), the new way of doing things is to just reference them in an HTML file, but have their code reside in physically separate files (.js, .css) in specially designated places in the file system (/js, /css). For additional background, please see:
Reddit: How do HTML, CSS and JavaScript Co-Exist?
g.
----
Hello Everyone,
I got an answer from the people at CKEDITOR5: