test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • kachete Friend
    #120452

    JA-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 Friend
    #220953

    i see others site with this hacks running hope someone here poin us to achive this

    Thanks

    brandon12 Friend
    #220975

    Open file:
    modules/mod_janews.php

    Find line (275):

    $link = sefRelToAbs( 'index.php?option=com_content&task=category&sectionid='.$rows[0]->sectionid.'&id='. $rows[0]->catid . $Itemid );

    Replace with

    $link = sefRelToAbs( 'index.php?option=com_content&task=blogcategory&sectionid='.$rows[0]->sectionid.'&id='. $rows[0]->catid . $Itemid );

    heike1 Friend
    #221006

    <em>@oceandragon 16641 wrote:</em><blockquote>Open file:
    modules/mod_janews.php

    Find line (275):

    $link = sefRelToAbs( 'index.php?option=com_content&task=category&sectionid='.$rows[0]->sectionid.'&id='. $rows[0]->catid . $Itemid );

    Replace with

    $link = sefRelToAbs( 'index.php?option=com_content&task=blogcategory&sectionid='.$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 Friend
    #221124

    it 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 Friend
    #222239

    Im 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

    bigrk Friend
    #222245

    What’s your url so we can see what you are talking about?

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

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