Skip to Content Skip to Menu

CB Package Builder - Including package search on packages display page

1 month 10 hours ago #341983 by jamesmoeller
I'm using CB Package Builder in a very similar display fashion as the "Downloads" link on the Joomlapolis site.

On this page...
www.joomlapolis.com/downloads
How is the search included at the top of the page?

I'd like to do the same thing on my downloads page. www.alphadataiq.com/index.php/adiq-downloads

Thanks,
Jim 
 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49645
  • Thanks: 8493
  • Karma: 1465
4 weeks 13 hours ago #341988 by krileon
Search should be default enabled. If not navigate to CB Package Builder > Parameters > Packages and you can toggle on Search and CMS filtering there. It also depends on what template you're rendering as some are meant mostly for module usage (e.g. showcase or spotlight) and if you selected it for your template search won't be visible.


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.

3 weeks 5 days ago - 3 weeks 5 days ago #342025 by jamesmoeller
I now have the search displaying at the top of my downloads list.
www.alphadataiq.com/index.php/adiq-downloads

I'd like to make a few modifications.
First, I'd like to change the page title from "Packages" to "Downloads".
I was able to change the browser page title within the "Page Display" tab of the menu item.
But I can't find where the "Packages" page title is set. How do I modify that?

Second, I'd like to change the text inside the search box to "Search Downloads".
Similarly, how can I edit that text.

Finally, while this is not search related, I'd like to change or delete the small puzzle piece icon that's next to each category heading.
In my downloads display I've selected certain custom categories within the module settings.
But I can't find where to change or delete the small icon.
It looks like you've modified that on Joomlapolis Downlaods link and on the demo link below. demo.cbdemosites.com/demos/cb-package-builder/packages

Also a couple questions pertaining to possible further customizations.
Is there a way to include the search at the top of a page where the CB Package Builder module is include via the {loadposition <customposition>} technique?

Also, say I make a copy of the CB Package Builder module.
Then set the custom categories different in each module.
Would I be able to display those modules separately on the same page (i.e. inside the same article) with different {loadposition} specifications?

Thanks
 
Last edit: 3 weeks 5 days ago by jamesmoeller.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49645
  • Thanks: 8493
  • Karma: 1465
3 weeks 4 days ago #342030 by krileon

First, I'd like to change the page title from "Packages" to "Downloads".
I was able to change the browser page title within the "Page Display" tab of the menu item.
But I can't find where the "Packages" page title is set. How do I modify that?

It's a language string so you can use language overrides shown below to change it to whatever you like.

www.joomlapolis.com/blog/kyle/18701-language-overrides-have-arrived

Second, I'd like to change the text inside the search box to "Search Downloads".
Similarly, how can I edit that text.

Same as above just override its language string. The language overrides in CB has a finder tool for finding strings to override.

Finally, while this is not search related, I'd like to change or delete the small puzzle piece icon that's next to each category heading.
In my downloads display I've selected certain custom categories within the module settings.

The icons are a part of the template files. You'll either need to make your own template for CB Package Builder or use CSS to hide them. To make your own template navigate to the below folder.

/components/com_comprofiler/plugin/user/plug_cbpackagebuilder/templates

Now add a new folder there. For our example lets call this "custom". Next copy from the "default" folder any files you want to change to your "custom" folder. Now within CB Package Builder > Parameters > General set "Template" to "custom". Finally you can start editing your files and you'll see the changes.

Alternatively the below CSS will hide the Type icons.
Code:
.pkbPackagesTypeHeader .fa { display: none; }

This can be applied using CSS overrides built into CB shown below.

www.joomlapolis.com/blog/kyle/18711-template-css-overrides-made-easy

Also a couple questions pertaining to possible further customizations.
Is there a way to include the search at the top of a page where the CB Package Builder module is include via the {loadposition <customposition>} technique?

No, but CB Package Builder comes with a Joomla smart search finder plugin so technically you don't have to use the package builder search and could use Joomla's smart search.

Also, say I make a copy of the CB Package Builder module.
Then set the custom categories different in each module.
Would I be able to display those modules separately on the same page (i.e. inside the same article) with different {loadposition} specifications?

Yes, you can display as many CB Package Builder modules as you like on the same 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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum