Tagged: blog
-
AuthorPosts
-
bvk1987 Friend
bvk1987
- Join date:
- October 2012
- Posts:
- 187
- Downloads:
- 10
- Uploads:
- 31
- Thanks:
- 66
- Thanked:
- 6 times in 1 posts
September 23, 2016 at 10:06 am #970512Hey everyone!
Quick question, in the "Latest Blog – Custom HTML Module" which is shown on the homepage (see attachment), how can I remove the Author (being Super User at the moment) and how can I choose to display the start of the text (first 20 words or 200 characters for example)?
Thanks in advance for any help 🙂
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 26, 2016 at 8:48 am #970944Hi
Can u check it again the screenshot is showing the module Articles – Latest that is default Joomla module .
And your question seems different for a custom html . Can u check it again and provide more details what you want to achieve here .bvk1987 Friendbvk1987
- Join date:
- October 2012
- Posts:
- 187
- Downloads:
- 10
- Uploads:
- 31
- Thanks:
- 66
- Thanked:
- 6 times in 1 posts
September 26, 2016 at 5:55 pm #971145I mean the module as shown in the screenshot, which is located on the homepage (below right). How can I remove the author from being shown and how can I choose to already show the first words of the article below the title?
Thank you in advance!
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 27, 2016 at 2:17 am #971235Hi
This is default Joomla module and does not have option to set the intro text and hide authors . But you can customise the module using override in /templates/ja_healthcare/html/mod_articles_latest/default.php
this code is used to show the author<span class="author"> <i class="fa fa-user"></i><?php echo ($item->modified_by_name) ;?> </span> </li>
bvk1987 Friendbvk1987
- Join date:
- October 2012
- Posts:
- 187
- Downloads:
- 10
- Uploads:
- 31
- Thanks:
- 66
- Thanked:
- 6 times in 1 posts
October 9, 2016 at 10:46 am #974694Thank you for the reply. I have given the module a bit more space so that there would be room to display the intro text. You cannot help me with this? There is no standard code that I could add to the default.php file to display intro text?
Regarding the author, can I remove this line of text that you mention? Or should I change something else? Unfortunately I do not know enough about programming to make adjustments.. 🙁
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 10, 2016 at 1:17 am #974829Hi
If you would like to remove the author , you can remove the author code from the PHP file .
Regarding add intro text in the article latest module , its default Joomla module does not offer the intro text option , you can raise your thread on Joomla forum for this customisation in default Joomla module .AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 5 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum