shondalai / cjblog Goto Github PK
View Code? Open in Web Editor NEWCjBlog is a free Joomla! component for creating awesome community blogs
Home Page: https://shondalai.com
License: GNU General Public License v3.0
CjBlog is a free Joomla! component for creating awesome community blogs
Home Page: https://shondalai.com
License: GNU General Public License v3.0
Hi,
one of the features of template (eg Gavick) is the special position etc. they have in the template for fulltext images
when enabling cjblog the displayed article is 'corrupted' when it comes to the placement of the fulltext image
Fulltext image should be handled by the template OR by cjblog
Create a configuration option with which you can disable handling the full text image by cjblog in the plg_content_cjblog
Discuss if this is an option, if so I can do a PR for that.
Screenshot with cjblog (fulltext image handled by plg_content_cjblog)
Screenshot without cjblog (fulltext image handled by template)
When clicking on a user in the "User Manager" page of the CJBlog component , the error (An error has occurred. 0 Call to undefined method Joomla\CMS\Form\Field\EditorField::save()) appears.
My Joomla version is 4.2.8. and I have installed cjlib_v3.3.2.zip and cjblog_v3.0.3.zip.
In version 1.4.2 we added the pro-capabilities functionality. That functionality was to configure via ACL a Joomla group that would have additional functionalities:
When a user was NOT member of the configured Joomla Group the above three rules would not apply (no about text, no links to user profile)
Version 2.0 only handles the about text via the pro-capability and not the avatar and profile link.
When an author is NOT member of the pro-capability ACL his avatar and name will still link to his profile.
When an author is NOT member of the pro-capability ACL his avatar and name should NOT link to his profile.
There are two possible solutions for this:
I think this change should be part of cjlib/api/getUserProfileUrl because then you do one change and change it for all current and future functionality.
Not sure if this is intended or not :)
the Article view is 'missing' the article / author / social Media sharing info on the top of the article
There should be a info box (configurable to show / hide) on top of the article showing:
author avatar, author name (both linked to profile if pro-capabilities)
hits, hot or not, category, etc.
Social Media sharing buttons.
add a additional layout that will be added via the cjblog content plugin to the article text vai this line of code:
$article->text = '<div id="cj-wrapper">' . $toolbarHtml . $titleHtml . $tagsHtml . $imagesHtml . $article->text . $socialSharingHtml . $authorInfoHtml . '</div>';
Discuss if this is left out intentionally, if not and it needs to be readded a layout (design / functionality) should be discussed.
In version 1.4.2 we added a custom tag (e.g. {jssocials}) as Social Media buttons provider.
Version 2.0 handles the placement of Social Media buttons via corejoomla plugins that are triggered on onSocialsDisplay. One plugin is provided as part of the cjlib package.
It should be possible to configure a custom tag (text field) that will be displayed and rendered as part of the content plugins to add the possibility of adding other (existing / non corejoomla plugins) to add Social Media buttons.
There are two solutions:
Preferred (for me :) > add in the plg_corejoomla_socials.zip an extra text field 'custom tags'
return the contents of that text field if not empty. Tested this and it works)
Create a new plugin that triggers on onSocialsDisplay and that returns the configured text field.
I can do both preferred changes for you (not via PR as these plugins are part of cjlib which is not on github).
Easiest would be to make the change for the plg_corejoomla_socials plugin as this will then be automatically be part of the cjlib package.
Not all avatar providers have the functionality to create multiple thumbnailsizes like cjbog does.
Easy Profile has two avatars: the original (in my case configured to 200x200) and a thumbnail (50x50)
When displaying the avatar in the author_info (layout) the image is retreived via the cjlib api. The api function getUserAvatarImage returns the original Easy Profile avatar (size 200x200). the layout author_info will display the avatar with the 200x200 size NOT respecting configured size $params->get('article_avatar_size', 96);
All avatars (from all avatar providers) should be able to display the avatar in the configured size
Change
....style="min-width: <?php echo $avatarSize;?>px;">
to
style="max-width: <?php echo $avatarSize;?>px;">
in layout/author_info.php
If we can agree on this change I can create a PR for that.
In version 1.4.2 we worked on adding Easy Profile as avatar and profile (and profile text) provider.
Easy Profile is not is the dropdown list as provider for the avatar and for the profile page
Easy Profile should be selectable as provider in both the Avatar and profile page
Add Easy Profile as option in administrator/components/com_cjblog/config.xml
for fields:
profile_component and avatar_component
This will work as the actual logic for Easy Profile's avatar and profile page URL is still in cjlib/api
If we can agree on this change I can create a PR for that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.