1.5K | Posts |
64.5K | Downloads |
16 | Plugins |
Download the current master ZIP from GitHub
to test it.
Please report your experiences and any issues or make proposals here or on GitHub.
Thanks for your support!
This is a complete list of what is new.
(See all commits on GitHib)
Fig. 1: Section Visibility
Fig. 2: Copy to Clipboard
298 | Posts |
93 | Posts |
1.5K | Posts |
64.5K | Downloads |
16 | Plugins |
@mahotilo regarding dotdotdot:
Sorry, my mistake - it's not the CSS class 'dotdotdot' but 'dot-ellipsis' and, if you want to make it update when the viewport/window size changes, also add the class 'dot-resize-update'.
Any section using the classes also needs a defined size (e.g. a height:100px; as style attribute)
The component will only be loaded automatically on pages with galleries (and always when you are logged in, just like Colorbox)
To load the component and make it work for all pages you need to insert
\gp\tool::LoadComponents('dotdotdot');
in template.php
Another thing to note: When you are editing such a section, the truncation will not take place but only when you close the editor.
See also -> jQuery dotdotdot on GitHub
93 | Posts |
@juergen
Sorry, my mistake - it's not the CSS class 'dotdotdot' but 'dot-ellipsis' and, if you want to make it update when the viewport/window size changes, also add the class 'dot-resize-update'.
Oh, include\thirdparty\dotdotdot\README.md have solved this typo
The component will only be loaded automatically on pages with galleries (and always when you are logged in, just like Colorbox)
Ah so! Thanks! It works now.
I use
common::LoadComponents('dotdotdot');
Is it also correct?
One more question. Is there a predefined way to work with "read more" or we need to do
$(document).ready(function() { $(".ellipsis").dotdotdot({ after: "a.readmore" }); });
like http://dotdotdot.frebsite.nl/ says to us?
1.5K | Posts |
64.5K | Downloads |
16 | Plugins |
common::LoadComponents('dotdotdot');
Yes, it's the older way to call it - it will be deprecated some time. For now it's O.K.
\gp\[namespace]::FunctionName() is the newer, namespaced call of Typesetter functions and I recommend it for being more future-proof and for anything made public.
Is there a predefined way to work with "read more" or we need to do ...
Not via CSS classes as far as I can see.
93 | Posts |
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More News
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using