Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

Blog page

7 years 11 months ago #291038 by wdburgdorf
Blog page was created by wdburgdorf
Hello,

I'd like to show all CB Blog items on one page. There is a component (menu plugin) CB Blogs, but I don't get it to do anything useful. It just shows whatever articles ID I enter into the ID field. I could not find any documentation on it.
Can you please point me at some info, of explain here how to do this?

Thank you!

Please Log in or Create an account to join the conversation.

7 years 11 months ago - 7 years 11 months ago #291040 by wdburgdorf
Replied by wdburgdorf on topic Blog page
Meanwhile I solved it with Joomla articles. But while I'm here: How do I get images into blog posts? I mean, not inside the text, but standard article intro/fulltext images.

EDIT:
I believe, the code should go in here: .\components\com_comprofiler\plugin\user\plug_cbblogs\templates\default\blog_edit.php
... but I wouldn't know how to do that correctly.
Last edit: 7 years 11 months ago by wdburgdorf.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48710
  • Thanks: 8319
  • Karma: 1447
7 years 11 months ago - 7 years 11 months ago #291073 by krileon
Replied by krileon on topic Blog page
There's no page to display all CB Blog entries when using Internal modal. You have to use K2 or Joomla usages for that as they've views for those.

Meanwhile I solved it with Joomla articles. But while I'm here: How do I get images into blog posts? I mean, not inside the text, but standard article intro/fulltext images.

Just add an image directly to the blog. Your WYSIWYG editor should have a button for that. If you mean the image field that Joomla provides it doesn't have one. Adding the input to the edit HTML won't store it as you'd need to add code to handle its storage as well. CB Blogs is a simplified blog usage of title, category, and blog entry; if you need all of Joomlas article features just use Joomla article submit page.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 7 years 11 months ago by krileon.
The following user(s) said Thank You: wdburgdorf

Please Log in or Create an account to join the conversation.

7 years 11 months ago #291118 by wdburgdorf
Replied by wdburgdorf on topic Blog page
Thanks. Yes, I need the image fields. Otherwise I have little control of how the images are displayed.

> you'd need to add code to handle its storage
I've seen the code in your template file for the other fields and hoped there could be something simple as that for images, too.

I do use a simplified Joomla article submit page for other articles and could adjust that for the CB Blog. I just don't know yet how to integrate it into a tab on the profile pages. Maybe you could point me at documentation for that, if it exists, or give me a hint of how to approach it?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48710
  • Thanks: 8319
  • Karma: 1447
7 years 11 months ago #291139 by krileon
Replied by krileon on topic Blog page

I do use a simplified Joomla article submit page for other articles and could adjust that for the CB Blog. I just don't know yet how to integrate it into a tab on the profile pages. Maybe you could point me at documentation for that, if it exists, or give me a hint of how to approach it?

You'd only need to replace where the create button sends users. That can be done in the below template file.

components/com_comprofiler/plugin/user/plug_cbblogs/templates/default/tab.php

Lines 67 - 71 output the create button. You'd just need to change the URL to point to your create article page. I recommend making a copy of the default template then deleting everything in the copy except tab.php and index.html. Next in CB Blogs parameters select your folder as the template. This will prevent your changes from being lost on every CB update.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum