-
AuthorPosts
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 30, 2010 at 3:12 am #338365Dear feanorv!
I guess that the html source of articles have not valid. Please give the link to your site, i would like to have a closer look on the issue
Thanks
June 17, 2010 at 11:18 pm #347414<em>@tienhc 163984 wrote:</em><blockquote>Hello guys!
Now, i have a second options to manage the number of categories display on the module:
1) please open the file: modulesmod_janews2mod_janews2.xml and try to add this tag into file:
<param name=”max_categories_display” type=”text” default=”3″ label=”MAX CATEGORIES DISPLAY” description=”MAX CATEGORIES DISPLAY DESC” />
2) please open the file: modulesmod_janews2helper.php
a) try to find the function loadCategories($sid) function at line 404 ( in my file ) and find codes of this function at line 422:
[PHP] $limit = ( int ) $this->get ( ‘cols’, 2 ); [/PHP]
replace:
[PHP] $limit = $this->get( ‘max_categories_display’ , 3 );[/PHP]
b) find the function getCatIDs($secid) { at line 171 and find codes of this function at line 179:
[PHP] $limit = ( int ) $this->get ( ‘cols’, 2 );[/PHP]
Replace:
[PHP] $limit = $this->get( ‘max_categories_display’ , 3 );[/PHP]When you customized your modules with the above way, please access the module’s confiugration and put the number of categories you expected in this “MAX CATEGORIES DISPLAY” paramter. so the module’ll display categories follow rule:
if number of categories is greater the number of columns, then the module auto create a new row to display the remainder of categories.</blockquote>
After making the change in the number of categories. the news to be misaligned. as I can realign. http://www.digaloporaqui.comdonq Frienddonq
- Join date:
- November 2006
- Posts:
- 68
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 4
- Thanked:
- 3 times in 1 posts
June 29, 2010 at 6:14 am #348362<em>@tienhc 163984 wrote:</em><blockquote>Hello guys!
Now, i have a second options to manage the number of categories display on the module:
1) please open the file: modulesmod_janews2mod_janews2.xml and try to add this tag into file:
<param name=”max_categories_display” type=”text” default=”3″ label=”MAX CATEGORIES DISPLAY” description=”MAX CATEGORIES DISPLAY DESC” />
2) please open the file: modulesmod_janews2helper.php
a) try to find the function loadCategories($sid) function at line 404 ( in my file ) and find codes of this function at line 422:
[PHP] $limit = ( int ) $this->get ( ‘cols’, 2 ); [/PHP]
replace:
[PHP] $limit = $this->get( ‘max_categories_display’ , 3 );[/PHP]
b) find the function getCatIDs($secid) { at line 171 and find codes of this function at line 179:
[PHP] $limit = ( int ) $this->get ( ‘cols’, 2 );[/PHP]
Replace:
[PHP] $limit = $this->get( ‘max_categories_display’ , 3 );[/PHP]When you customized your modules with the above way, please access the module’s confiugration and put the number of categories you expected in this “MAX CATEGORIES DISPLAY” paramter. so the module’ll display categories follow rule:
if number of categories is greater the number of columns, then the module auto create a new row to display the remainder of categories.</blockquote>Hi Tienhc
I have tried this but it doesn’t look right in IE.
I have send a PM with the url.
Best regards
Brianmarinaw Friendmarinaw
- Join date:
- April 2007
- Posts:
- 20
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
July 5, 2010 at 3:04 am #348921this is a great solution. unfortunately it doesn´t work on ie7. do you have anything new on this?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 6, 2010 at 7:14 am #349082hmm
can you pls give me the link to your site
Thanks
July 6, 2010 at 3:24 pm #349147September 15, 2010 at 3:49 am #355551Was the solution offered ever adjusted to be IE7 compatible??
November 23, 2010 at 12:29 pm #363896Hi
I have a problem with my columns on janews2, see http://thebuyingagents.com/index.php?option=com_content&view=article&id=449&Itemid=567the text fields are too wide and they overlap. Is there a way to prevent this?
thanks
Timgianfranco Friendgianfranco
- Join date:
- September 2010
- Posts:
- 73
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 1 times in 1 posts
December 22, 2010 at 11:38 am #368116Hi all, what I need is to show the 3 categories in janews2 but in this order, the last 3 categories in which I put the last article.
I mean if I have always the same 3 categories showed is not ok, I want that the 3 categories showed must be the 3 where I have insert a new articles.
It is clear?Thanks a lot
G. -
AuthorPosts
This topic contains 24 replies, has 15 voices, and was last updated by gianfranco 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum