-
AuthorPosts
-
ithacaindy Friend
ithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
December 8, 2010 at 4:02 am #157185How do I change the order of the sections listed on the front page? Thanks.
Phan Gam FriendPhan Gam
- Join date:
- June 2008
- Posts:
- 216
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 39 times in 38 posts
December 9, 2010 at 6:41 am #365914Thanks for your report!
This feature is missing released version. We will update for next version.didima Frienddidima
- Join date:
- September 2007
- Posts:
- 394
- Downloads:
- 2
- Uploads:
- 6
- Thanks:
- 12
- Thanked:
- 31 times in 3 posts
December 9, 2010 at 6:06 pm #366021would be nice bec cant change order on the front page ;(
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
December 26, 2010 at 3:33 am #368590<em>@Phan Gam 207480 wrote:</em><blockquote>Thanks for your report!
This feature is missing released version. We will update for next version.</blockquote>Is there any estimate when the next version (I’m assuming you mean the next update of Teline IV and not Teline V) will be released? This is a rather basic feature that is missing.
Phan Gam FriendPhan Gam
- Join date:
- June 2008
- Posts:
- 216
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 39 times in 38 posts
December 27, 2010 at 2:14 am #368690Hi ithacaindy,
If you want to apply section order for frontend, you can do it as follows:
1. Open japaramhelper.php in modulesmod_janewsproelements folder.
2. Find code for categories function arround line 113.
3. Go to query to get categories
$query = '
SELECT
c.section,
s.title AS section_title,
c.id AS cat_id,
c.title AS cat_title
FROM #__sections AS s
INNER JOIN #__categories c ON c.section = s.id
WHERE s.published=1 AND c.published = 1
ORDER BY c.section, c.title ';
to
$query = '
SELECT
c.section,
s.title AS section_title,
c.id AS cat_id,
c.title AS cat_title
FROM #__sections AS s
INNER JOIN #__categories c ON c.section = s.id
WHERE s.published=1 AND c.published = 1
ORDER BY s.ordering, c.section, c.title ';
After finishing, you can apply changing section order for frontend as steps:
#1. Open Content/Sections Manager >> Change sections order >> save.
#2. Go to this module JA News Pro >> Save (Saving params).
#3. Clear all cache data.
Please try and check again,Hope this helps
1 user says Thank You to Phan Gam for this useful post
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
December 30, 2010 at 5:04 pm #369387Thanks. I’ll give this a try the next free moment I have.
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
January 2, 2011 at 3:35 am #369626<em>@Phan Gam 210962 wrote:</em><blockquote>Hi ithacaindy,
If you want to apply section order for frontend, you can do it as follows:
</blockquote>Worked perfectly. Thanks for the help. I hope this fix makes it into the template’s core for the next update.
-
AuthorPosts
This topic contains 8 replies, has 4 voices, and was last updated by pdion 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum