Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • toddman Friend
    #141673

    How do you change the default category blog layout for all blogs from the current leading = 1, into = 4, columns = 3, links =4 to leading = 5, intro = 0? I found this link http://forum.joomla.org/viewtopic.php?f=428&t=372756&hilit=front+page+blog+default but it doesn’t effect this template.
    Thanks,
    http://www.wsi.wcsports.org

    Anonymous Moderator
    #306876

    Hi toddman

    In administrator, go to Menus -> Main menu -> edit the item which you want to change. In the edit page, you can see it in the first tab

    toddman Friend
    #307064

    JA Developer;131433Hi toddman

    In administrator, go to Menus -> Main menu -> edit the item which you want to change. In the edit page, you can see it in the first tab

    To many items to change. Where is the default.php page so I can make the change there?

    gnubler Friend
    #307396

    I’m having the same problem. I’m going to search the forum now for solutions – has this been resolved?

    I’m running Joomla 1.5.11 and have the parameters for my frontpage as so:

    # Leading 1
    # Intro 2
    Columns 2
    # Links 0

    No matter what values I plug in here my frontpage stays the same – just one column. When I try it with rhuk_milkyway template the frontpage params are working – so this is a problem with ja_opal?

    toddman Friend
    #307415

    gnubler;132073I’m having the same problem. I’m going to search the forum now for solutions – has this been resolved?[/quote]
    Nope, not yet!

    so this is a problem with ja_opal?

    It must be, I havn’t found which template.php file in ja opal that has the default values to change yet.

    Phill Moderator
    #307419

    Edit templates>ja_opal>html>com_content>category>blog.php

    The entries are quite self explanatory.

    If you are not used to editing php, make sure you backup the file first.

    toddman Friend
    #307428

    phill luckhurst;132098Edit templates>ja_opal>html>com_content>category>blog.php

    The entries are quite self explanatory.

    If you are not used to editing php, make sure you backup the file first.

    No joy, I edit the blog.php & it still defaults to 1, 4, 2, 4 weather its a new category blog or existing one. Must be another file to mod also.

    gnubler Friend
    #307433

    <em>@phill luckhurst 132098 wrote:</em><blockquote>Edit templates>ja_opal>html>com_content>category>blog.php

    The entries are quite self explanatory.
    </blockquote>

    I’m looking at blog.php and see that it contains the values I’ve plugged in for frontpage parameters, but it’s not reflecting that on the frontend.

    Here’s part of the code in blog.php:

    <?php $introcount = $this->params->def('num_intro_articles', 4);
    if ($introcount) :
    $colcount = $this->params->def('num_columns', 2);

    Still just showing one column on my frontpage.

    Phill Moderator
    #307441

    Two things. Are we talking about the frontpage blog layout or tha cat blog layout? The code we are editing is for the cat blog layout. For the frontpage you only have the one so is there any point in modding the code for that? If so, just edit the same file in com_content>frontpage

    Second, where you see a word like ‘num_columns’ that is pulling a variable. Simply replace it with a number and remove the ‘ marks if you want a fixed set value but be aware that after this, whatever you set in the admin panel will have no effect.

    gnubler Friend
    #307443

    I may have a possible solution to this. In my template.css file I added this:

    .article_column {
    width:300px;
    float:left;
    }

    And there are now 2 columns showing on my frontpage. I’m still playing with the CSS and the width value may be different for you depending on your template, but this is working for me in ja_opal. I didn’t see “article_column” class listed in any of the template’s CSS files.

    gnubler Friend
    #307444

    <em>@phill luckhurst 132124 wrote:</em><blockquote>Two things. Are we talking about the frontpage blog layout or tha cat blog layout? The code we are editing is for the cat blog layout. For the frontpage you only have the one so is there any point in modding the code for that? If so, just edit the same file in com_content>frontpage

    Second, where you see a word like ‘num_columns’ that is pulling a variable. Simply replace it with a number and remove the ‘ marks if you want a fixed set value but be aware that after this, whatever you set in the admin panel will have no effect.</blockquote>

    Phill, I have tried both frontpage blog layout and category blog layout for frontpage and neither one is displaying the columns accurately. The variables are correct in the PHP file so something is still wrong somewhere else.

    See my potential CSS fix above.

    toddman Friend
    #307582

    phill luckhurst;132124Two things. Are we talking about the frontpage blog layout or tha cat blog layout? The code we are editing is for the cat blog layout. For the frontpage you only have the one so is there any point in modding the code for that? If so, just edit the same file in com_content>frontpage[/quote]
    Cat blog layout

    Second, where you see a word like ‘num_columns’ that is pulling a variable. Simply replace it with a number and remove the ‘ marks if you want a fixed set value but be aware that after this, whatever you set in the admin panel will have no effect.

    That’s a bummer, I was hoping for a base line standard & change as needed.
    Thanks for your help.

    Anonymous Moderator
    #307610

    <em>@gnubler 132073 wrote:</em><blockquote>I’m having the same problem. I’m going to search the forum now for solutions – has this been resolved?

    I’m running Joomla 1.5.11 and have the parameters for my frontpage as so:

    # Leading 1
    # Intro 2
    Columns 2
    # Links 0

    No matter what values I plug in here my frontpage stays the same – just one column. When I try it with rhuk_milkyway template the frontpage params are working – so this is a problem with ja_opal?</blockquote>

    You can try with my code:

    Open template.css file, add following code to the end of file:

    + For 2 columns:
    .cols2 {
    float:left;
    width:49%;
    }

    + For 3 columns:
    .cols3 {
    float:left;
    width:33.3%;
    }

    + For 4 columns:
    .cols3 {
    float:left;
    width:24.2%;
    }

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 13 replies, has 4 voices, and was last updated by Anonymous 15 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum