-
AuthorPosts
-
Ing. Ervin Zatko EASY Friend
Ing. Ervin Zatko EASY
- Join date:
- September 2014
- Posts:
- 127
- Downloads:
- 406
- Uploads:
- 16
- Thanks:
- 19
- Thanked:
- 6 times in 1 posts
January 5, 2011 at 1:06 pm #158327Hi
I have now 2 problems in this module.
JAsidenews modul get content from my category where I use Blog style.
In JA sidenews I want use small pictures.Problem 1: In introtext is a text {jathumbnail off}
Problem 2: Pictures don’t have border and marginHow I correct these problems?
EASY
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
January 6, 2011 at 7:16 am #3703931) You can remove the specific text from specific article output in article manager
2) Add this at end of template.css file and adjust properties accordingly
.ja-slidenews-item img{border:1px solid #ccc;margin-right:10px;}
1 user says Thank You to aman204 for this useful post
Ing. Ervin Zatko EASY FriendIng. Ervin Zatko EASY
- Join date:
- September 2014
- Posts:
- 127
- Downloads:
- 406
- Uploads:
- 16
- Thanks:
- 19
- Thanked:
- 6 times in 1 posts
January 6, 2011 at 9:11 am #370425The 2. problem is solved. Thank you 🙂
But in the 1. I can’t remove the specific text, because it I need in blog style. Another solution???
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
January 6, 2011 at 11:14 am #370451<blockquote>But in the 1. I can’t remove the specific text, because it I need in blog style. Another solution??? </blockquote>
Sorry but I am unsure about this. Probably, Someone else could help you with this 🙂
Cheers
Ing. Ervin Zatko EASY FriendIng. Ervin Zatko EASY
- Join date:
- September 2014
- Posts:
- 127
- Downloads:
- 406
- Uploads:
- 16
- Thanks:
- 19
- Thanked:
- 6 times in 1 posts
January 6, 2011 at 6:03 pm #370522Who can help me?
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
January 8, 2011 at 3:58 am #370758HI @easypc,
You can remove “{jathumbnail off}” on introtext of jaslidenews module as following
– Open “helper.php” file on location “modules/jaslidenews/”.
– Edit “getListArticles” function, add new code as following after line “$data = $db->loadObjectlist();”
//Start copy
JPluginHelper::importPlugin ( 'content' );
$dispatcher = & JDispatcher::getInstance ();
$params = & $mainframe->getParams ( 'com_content' );
$limitstart = JRequest::getVar ( 'limitstart', 0, '', 'int' );foreach( $data as $i => $row){
$data [$i]->text = $data [$i]->introtext;
$results = $dispatcher->trigger ( 'onPrepareContent', array ( $data [$i], $params, $limitstart ) );
$data [$i]->introtext = $data [$i]->text;
}
//End here
It call “onPrepareContent” trigger, if jathumbnail was enabled, this plugin would remove custom tag.2 users say Thank You to thuanlq for this useful post
Ing. Ervin Zatko EASY FriendIng. Ervin Zatko EASY
- Join date:
- September 2014
- Posts:
- 127
- Downloads:
- 406
- Uploads:
- 16
- Thanks:
- 19
- Thanked:
- 6 times in 1 posts
January 8, 2011 at 4:50 pm #370851Great solution 🙂
Thank you very much.AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 3 voices, and was last updated by Ing. Ervin Zatko EASY 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Module jasidenews problems
Viewing 7 posts - 1 through 7 (of 7 total)