templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
87 stars 15 forks source link

Blog columns #19

Closed darekmer closed 2 years ago

darekmer commented 2 years ago

Howto add support for blog columns (2,3,4) on Joomla 4 - Template One ?

sonvnn commented 2 years ago

Let's go to Menu manager > Blog Menu > Blog Layout > Columns. screenshot-joomla templaza com-2021 11 10-09_46_37

darekmer commented 2 years ago

This option is set, and the column is still one. maybe it has to do with removing scss files from thread # 16?

darekmer commented 2 years ago

and something like this:

Uncaught TypeError: $(...).find(...).astroidMobileMenu is not a function
    initOffcanvasMenu https://localhost/j/media/astroid/assets/vendor/astroid/js/script.js?v=2.5.7:24
    docReady https://localhost/j/media/astroid/assets/vendor/astroid/js/script.js?v=2.5.7:237
    jQuery 2
        e
        t
script.js:24:47
sonvnn commented 2 years ago

I not sure. But it works pretty good on my site without any issue. screenshot-joomla templaza com-2021 11 10-12_30_46

darekmer commented 2 years ago

https://user-images.githubusercontent.com/44267306/141060808-26e3c531-7e0a-47cd-8f86-b218046b7fbe.mp4

sonvnn commented 2 years ago

If you send me your site url. I will help you check it. Anyway, you can check my demo at http://joomla.templaza.com/astroid/joomla/

darekmer commented 2 years ago

I already know... menu setting 'Featured Articles'> no columns, 'Category Blog' are columns. I will try to put the server outside

sonvnn commented 2 years ago

Hello @darekmer, Screen Shot 2021-11-11 at 09 01 54

I found issue at astroid_template_one/html/com_content/featured/default.php line 54. Please replace $columns = ASTROID_JOOMLA_VERSION > 3 ? 1 : $this->columns; by $columns = ASTROID_JOOMLA_VERSION > 3 ? $this->params->get('num_columns', 1) : $this->columns;

It will work. I sure that.

sonvnn commented 2 years ago

I updated Astroid v2.5.8. You can download template package and update to your site https://github.com/templaza/astroid-framework/releases/download/v2.5.8/astroid-package-v2.5.8.Framework-Template.zip

darekmer commented 2 years ago

thanks, it works

darekmer commented 2 years ago

Hello, menu setting 'Featured Articles' article-info not visible. Can you help?