-
AuthorPosts
-
toddman Friend
toddman
- Join date:
- October 2006
- Posts:
- 118
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
June 3, 2009 at 8:13 pm #141673How 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.orgAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 4, 2009 at 10:23 am #306876Hi 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 Friendtoddman
- Join date:
- October 2006
- Posts:
- 118
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
June 5, 2009 at 4:11 pm #307064JA 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 Friendgnubler
- Join date:
- March 2009
- Posts:
- 25
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
June 9, 2009 at 5:40 pm #307396I’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 0No 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 Friendtoddman
- Join date:
- October 2006
- Posts:
- 118
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
June 9, 2009 at 7:07 pm #307415gnubler;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 ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 9, 2009 at 7:17 pm #307419Edit 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 Friendtoddman
- Join date:
- October 2006
- Posts:
- 118
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
June 9, 2009 at 8:14 pm #307428phill 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 Friendgnubler
- Join date:
- March 2009
- Posts:
- 25
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
June 9, 2009 at 8:24 pm #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 ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 9, 2009 at 8:44 pm #307441Two 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.
1 user says Thank You to Phill for this useful post
gnubler Friendgnubler
- Join date:
- March 2009
- Posts:
- 25
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
June 9, 2009 at 8:49 pm #307443I 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 Friendgnubler
- Join date:
- March 2009
- Posts:
- 25
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
June 9, 2009 at 8:52 pm #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 Friendtoddman
- Join date:
- October 2006
- Posts:
- 118
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
June 10, 2009 at 9:02 pm #307582phill 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 layoutSecond, 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 ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 11, 2009 at 7:42 am #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 0No 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%;
} -
AuthorPosts
This topic contains 13 replies, has 4 voices, and was last updated by Anonymous 15 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum