Tagged: JA News Pro
-
AuthorPosts
-
jujujiju Friend
jujujiju
- Join date:
- March 2016
- Posts:
- 54
- Downloads:
- 34
- Uploads:
- 21
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
April 11, 2016 at 3:06 pm #912415Hello! I upgraded JA News Pro Module, and now I have a problem. Previously the module took the first picture of a note (the principal), and now it does not. If I add more images in the note, this takes the other and not let me choose.
How can I do to take the first image, which is located before the line break?
Thank you very much.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 12, 2016 at 4:51 am #912782Hi,
You can control to load first image from JA News Pro module
Open modules/mod_janewspro/helpers/jaimage.php file
find function parseImage($row) and change$text = ''; $text .= (isset($row->fulltext))?$row->fulltext:''; $text .= (isset($row->introtext))?$row->introtext:''; preg_match($regex, $text, $matches);
to
$text = ''; $text .= (isset($row->introtext))?$row->introtext:''; $text .= (isset($row->fulltext))?$row->fulltext:''; preg_match($regex, $text, $matches);
Regards
jujujiju Friendjujujiju
- Join date:
- March 2016
- Posts:
- 54
- Downloads:
- 34
- Uploads:
- 21
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
April 19, 2016 at 2:22 pm #919937Hello Ninja! I have applied the change but everything remains the same.
Capture and attached a link so you can watch.
Home: http://www.elsubmarinojujuy.com.ar/
Article: http://www.elsubmarinojujuy.com.ar/deportes/17233-el-lobo-cayo-ante-talleres-jugando-mal-y-enfrenta-una-casi-despedidaRegards
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 21, 2016 at 9:32 am #920899That module of you mentioned is JA News Feature module and you can try to change that from modules/mod_janews_featured/helpers/jaimage.php file with the same of my solution
jujujiju Friendjujujiju
- Join date:
- March 2016
- Posts:
- 54
- Downloads:
- 34
- Uploads:
- 21
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
August 25, 2016 at 2:47 am #962871Hello, again! I made changes to both files and still have the same problem. Could you help me? Thank you very much
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 25, 2016 at 7:32 am #962928I checked the URL of your site but I only see the article on your site is showing an image, please let me know the article is showing both images and besides that, you don’t forget to me the admin login backend and FTP account of your hosting via private reply. I will help you check further.
jujujiju Friendjujujiju
- Join date:
- March 2016
- Posts:
- 54
- Downloads:
- 34
- Uploads:
- 21
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
August 25, 2016 at 12:43 pm #962995This reply has been marked as private.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 26, 2016 at 3:29 am #963149This reply has been marked as private.jujujiju Friendjujujiju
- Join date:
- March 2016
- Posts:
- 54
- Downloads:
- 34
- Uploads:
- 21
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
August 29, 2016 at 10:52 pm #964004Hello Ninja Lead ! The backend is working perfectly, what is the downside that you have to access? It might be the server?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 30, 2016 at 4:36 am #964116This reply has been marked as private.jujujiju Friendjujujiju
- Join date:
- March 2016
- Posts:
- 54
- Downloads:
- 34
- Uploads:
- 21
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
September 4, 2016 at 5:00 pm #965492Hello Ninja Lead. The server is restricted to access to the administration panel from countries which are not Spanish-speaking. I need to know from which country you come to allow access.
Sorry for the inconvenience.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 5, 2016 at 3:33 am #965605This reply has been marked as private.jujujiju Friendjujujiju
- Join date:
- March 2016
- Posts:
- 54
- Downloads:
- 34
- Uploads:
- 21
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
September 5, 2016 at 9:13 pm #965843Ready!
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 6, 2016 at 4:05 am #965942This reply has been marked as private.jujujiju Friendjujujiju
- Join date:
- March 2016
- Posts:
- 54
- Downloads:
- 34
- Uploads:
- 21
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
September 6, 2016 at 8:13 pm #966197Thank you very much Ninja Lead! Now, you could do the same with the module "JA News Featured"? I have the same problem, also takes the second picture.
AuthorPostsThis topic contains 15 replies, has 2 voices, and was last updated by Ninja Lead 8 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum