test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • David Porré Friend
    #143593

    Hello everybody,

    I was wondering if it could be possible to show section articles instead of category articles in ja contentslide ?

    Would anybody have a hack or some tips for me ?

    Best regards,
    David aka Shapes

    David Porré Friend
    #314913

    Hello,

    I managed to be able to choose sections instead of categories in the backend configuration of the module by replacing “catid” with “secid” on files “mod_ja_contentslide.php”, “mod_ja_contentslide.xml” & “application.php”…

    Thought it would work, but I got “JA Content Slide Error: There is not any content in this category” error when trying to view it on the website… 🙁

    Someone any ideas ?

    Best regards,
    David aka Shapes

    David Porré Friend
    #315650

    Tryin’ to update this thread…
    No one any idea ? I really need this done…

    Hoping for answers,
    Best regards,
    David aka Shapes

    David Porré Friend
    #315809

    The solutions has just been posted in another thread,
    Thanks to tienhc !!!

    <em>@tienhc 142625 wrote:</em><blockquote>
    I have the solution for you. you must to done some works as following:

    1) you must to download the lastest version, you will upgrade for your module, you can get this from the JA Mona Template.
    2) i have two options for you choose:
    a) we will make a litte change with config and code, it ‘s very simple to display artilces from multiple categories ( not use for sections )
    b)to doing something as you expected, we will make heavy task , it ‘s complex work, I can done all

    now, i will post solution for option a:
    you open file modules/mod_ja_contentslide/mod_ja_contentslide.xml, you find code at line 71:

    [PHP]
    <param name=”catid” type=”mos_category” default=”0″ label=”Category” description=”A content cateogry” />
    [/PHP]
    You replace it by :

    <[PHP]
    param name=”catid” type=”text” default=”0″ label=”Category” description=”A content cateogry” />
    [/PHP]

    Finally, you put ids of category in option “Category” (@example: 1,2,4), update and testing, I make sure that it work done :)</blockquote>

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

This topic contains 4 replies, has 1 voice, and was last updated by  David Porré 15 years, 3 months ago.

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