-
AuthorPosts
-
David Porré Friend
David Porré
- Join date:
- September 2014
- Posts:
- 194
- Downloads:
- 44
- Uploads:
- 5
- Thanks:
- 23
- Thanked:
- 9 times in 1 posts
August 20, 2009 at 3:17 pm #143593Hello 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 ShapesDavid Porré FriendDavid Porré
- Join date:
- September 2014
- Posts:
- 194
- Downloads:
- 44
- Uploads:
- 5
- Thanks:
- 23
- Thanked:
- 9 times in 1 posts
August 20, 2009 at 3:56 pm #314913Hello,
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 ShapesDavid Porré FriendDavid Porré
- Join date:
- September 2014
- Posts:
- 194
- Downloads:
- 44
- Uploads:
- 5
- Thanks:
- 23
- Thanked:
- 9 times in 1 posts
August 29, 2009 at 10:45 am #315650Tryin’ to update this thread…
No one any idea ? I really need this done…Hoping for answers,
Best regards,
David aka ShapesDavid Porré FriendDavid Porré
- Join date:
- September 2014
- Posts:
- 194
- Downloads:
- 44
- Uploads:
- 5
- Thanks:
- 23
- Thanked:
- 9 times in 1 posts
August 31, 2009 at 9:17 am #315809The 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 allnow, 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>
-
AuthorPosts
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