-
AuthorPosts
-
kachete Friend
kachete
- Join date:
- January 2006
- Posts:
- 46
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
May 25, 2007 at 2:47 pm #120452JA-News module: go to BLOG SECTION not to a TABLE SECTION of articles
Hi masters.-
I want this module to do something diferent i think is easy to you explain me how to hack this
When you are in the home page you can see the main page and the JA-NEWS module showing everything we want it to be showing, thats good.
Now when we click in the main name of the categorie they took us to a TABLE SECTION os the categories sowhing us a table with the date, the name, etc.
We want it instead od taking it to a TABLE it could take us to a BLOG SECTION so we can manage to show the news in another way thats not a table of news items.
It would be a lovely hack to the module to do that with options so we can manage the module to do more things for us to take us to what we want to achieve.
We are not masters as you are so please take us a step foward showing us how to hack the module in order that we can be taking to a BLOG SECTION instead of a TABLE SECTION
Please some help here would be nice.
Best regards
Thanks in advance 😀
kachete Friendkachete
- Join date:
- January 2006
- Posts:
- 46
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
May 27, 2007 at 9:35 pm #220953i see others site with this hacks running hope someone here poin us to achive this
Thanks
May 28, 2007 at 1:36 am #220975Open file:
modules/mod_janews.phpFind line (275):
$link = sefRelToAbs( 'index.php?option=com_content&task=category§ionid='.$rows[0]->sectionid.'&id='. $rows[0]->catid . $Itemid );
Replace with
$link = sefRelToAbs( 'index.php?option=com_content&task=blogcategory§ionid='.$rows[0]->sectionid.'&id='. $rows[0]->catid . $Itemid );
May 28, 2007 at 11:51 am #221006<em>@oceandragon 16641 wrote:</em><blockquote>Open file:
modules/mod_janews.phpFind line (275):
$link = sefRelToAbs( 'index.php?option=com_content&task=category§ionid='.$rows[0]->sectionid.'&id='. $rows[0]->catid . $Itemid );
Replace with
$link = sefRelToAbs( 'index.php?option=com_content&task=blogcategory§ionid='.$rows[0]->sectionid.'&id='. $rows[0]->catid . $Itemid );
</blockquote>That does not work. I find this at line 275
. ( $access ? "n AND a.access <= $my->gid AND cc.access <= $my->gid" : '' )
Martin
kachete Friendkachete
- Join date:
- January 2006
- Posts:
- 46
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
May 29, 2007 at 10:04 pm #221124it works great thanks man
but know i have a question
it can be posible ti have q set of modules one to going to sectiona tables and one going to blogsection
or it can be hack the module setting to set it in the backend in order this function to go like any other setting
it will be a great adition to the main core module setting
can it be done
please some help here
thanks in advance
best regards
kachete Friendkachete
- Join date:
- January 2006
- Posts:
- 46
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
June 15, 2007 at 9:51 pm #222239Im seeing some isuues in here
When i push the top name of the categories they took me to the blogcategory but in the main title dont apear the categorie name it shows THE NEWS and my site is in spanish
Also in the navigation show Home > THE NEWS and i dont have any THE NEWS in nowhere inside the site
please how can we manage to show the correct name of the blogsection
Please
Best regards
-
AuthorPosts
This topic contains 7 replies, has 4 voices, and was last updated by bigrk 17 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum