-
AuthorPosts
-
tienhuynh_99 Friend
tienhuynh_99
- Join date:
- September 2011
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
April 2, 2012 at 9:15 pm #175703I installed using jatc_nex_j25 quickstart. I created two categories and two items in K2. Each item belongs to each category. In JA News Featured module, I selected K2 in Content Source. That was all I did, nothing else.
Frontpage shows images below position sl1-1, instead of in sl1-1. This is suppose to be working out of the box, but it’s not!!
Please take a look at http://xoigac.com
Any idea to fix it is appreciated.
Thank you
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 2, 2012 at 9:25 pm #446975Hi
The Ja_Nex template use a page override for the home – the profile is called homepage and has the Hide main content block to YES
check in your template manager — ja_nex-default
Could you please send me an admin account for your back end so i can check better the configuration ?
Thanks
tienhuynh_99 Friendtienhuynh_99
- Join date:
- September 2011
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
April 2, 2012 at 10:54 pm #447008Thank you for quick response. I tried what you’ve suggested but to no avail.
Here’s the address http://xoigac.com
username: admin
password: 1234tienhuynh_99 Friendtienhuynh_99
- Join date:
- September 2011
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
April 3, 2012 at 1:25 am #447019can anyone login and troubleshoot this?
tienhuynh_99 Friendtienhuynh_99
- Join date:
- September 2011
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
April 3, 2012 at 5:25 pm #447174Can anyone help? Especially Joomlart technical staff. What’s so strange is that JA News Feartured works on SUB DOMAIN, not the root domain. Here’s how:
My root domain http://xoigac.com
my sub domain http://xoigac.com/k2database name: tien_database
Both of these sites use the same database: tien_database
JA News Feartured isn’t working on root domain http://xoigac.com, but it’s working on sub domain http://xoigac.com/k2
You can login to both sites to see how this behaves.
username: admin
password: 1234pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 3, 2012 at 5:30 pm #447178Hi
I will open an internal ticket for joomlart developers to let see them into your issue
After i will have a reply from them i will post the solution here
Please be patient
Thanks
1 user says Thank You to pavit for this useful post
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 4, 2012 at 3:32 am #447226Hi tienhuynh_99,
Regarding the problem on your root domain, I think you can try as following
Open the file of modulesmod_janews_featuredhelpersadapterhelper.php at about line number 265 you would see this code
[PHP]
if ($bigmaxchar && strlen($row->introtext) > $bigmaxchar) {
$doc = JDocument::getInstance();
if (function_exists(‘mb_substr’)) {
$row->bigintrotext = SmartTrim::mb_trim($row->introtext, 0, $bigmaxchar, $doc->_charset);
} else {
$row->bigintrotext = SmartTrim::trim($row->introtext, 0, $bigmaxchar);
}
} elseif ($bigmaxchar == 0) {
$row->bigintrotext = ”;
}
[/PHP]change it to this
[PHP]
$regex = “/<img[^>]*>/”;
$row->introtext = preg_replace($regex, ”, $row->introtext);
if ($bigmaxchar && strlen($row->introtext) > $bigmaxchar) {
$doc = JDocument::getInstance();
if (function_exists(‘mb_substr’)) {
$row->bigintrotext = SmartTrim::mb_trim($row->introtext, 0, $bigmaxchar, $doc->_charset);
} else {
$row->bigintrotext = SmartTrim::trim($row->introtext, 0, $bigmaxchar);
}
} elseif ($bigmaxchar == 0) {
$row->bigintrotext = ”;
}[/PHP]Let me know if it still does not work !
1 user says Thank You to Sherlock for this useful post
tienhuynh_99 Friendtienhuynh_99
- Join date:
- September 2011
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
April 4, 2012 at 3:42 pm #447319Thank you for the suggestion Dat, unfortunately it didn’t work.
There is no helper.php under adapter folder but k2, modulesmod_janews_featuredhelpersadapterK2.php
There is a code like that in K2, so I copied and pasted as suggested and all images disappeared. This code removed all images used to be under JA news featured.
I leave it as it so you can see. http://xoigac.com show no images, while http://xoigac.com/k2 shows images. These sites access the same database.
Thanks
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 5, 2012 at 3:52 am #447396Hi tienhuynh,
I am sorry for giving you wrong file name, it’s the k2.php file, have not ideal why this code does not work for you, you can revert the change made and then giving me your admin account, the FTP info into this ticket I will check it further for you.
-
AuthorPosts
This topic contains 9 replies, has 3 voices, and was last updated by Sherlock 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum