-
AuthorPosts
-
jurgeng Friend
jurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
October 20, 2017 at 9:01 pm #1069210Hi,
in Joomla 3.8.1 it’s possible to assign ‘no author’ to a text. When choosing "no author" but entering an alias, the alias will not appear in the masshead.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 23, 2017 at 4:49 am #1069464Hi,
By default, JA Masthead module has no field called ‘no author’, you can share the credentials of your site and screenshot of how you want it should be, I will check for you.
jurgeng Friendjurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
October 23, 2017 at 9:27 pm #1069646This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 24, 2017 at 2:07 am #1069680Hi,
The login info doesn’t work, kindly check again.
jurgeng Friendjurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
October 24, 2017 at 2:41 pm #1069809Hi,
are you certain you copied the whole password (including exclamation mark)? I can log in with the credentials.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 26, 2017 at 3:49 am #1070158Did you try to log into this page https://ws.gaeremyn.be/2016/cheap-and-accurate-reactive-molecular-dynamics-a-guided-demonstration with provided account?
jurgeng Friendjurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
October 26, 2017 at 7:59 am #1070206Hi,
you’re right. I didn’t consider the frontend was Community Builder. The login worked fine for the backend, and now also works for the frontend.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 27, 2017 at 2:27 am #1070394Hi,
I’m still not entirely of how you want to achieve here as I can see the author is showing now on this page: https://ws.gaeremyn.be/2016/cheap-and-accurate-reactive-molecular-dynamics-a-guided-demonstration
jurgeng Friendjurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
October 27, 2017 at 5:38 am #1070425Hi,
currently I have set myself as the "dummy author" behind this text. The consequence is that you see this article under my name on my Community Builder profile. The moment I put the author to "no author", the module will not display the alias field either. So my point is: in the module source code:
Check if there is an alias. If there is an alias, show the alias (don’t check if there is a user first)
So I hacked my way around the problem, but I’m looking for a long-term solution.
I’ll see if I can find time to dive into the code. I was hoping to find someone familiar with the code who would instantly understand my issue, and the say: "oooooh, it’s in line XXX of file YYY.php!" 🙂 Maybe this could be my first patch proposal 😉Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 27, 2017 at 6:48 am #1070437But I’m still not entirely of how you want to achieve here, check the profile page: https://ws.gaeremyn.be/home/personal-profile but not sure where you want to show author and where you set the alias?
jurgeng Friendjurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
October 28, 2017 at 9:18 pm #1070667Okay, so I made a video to show what I mean. Here you can see it:
https://youtu.be/NExNlgaJRD0The essence is that I’m the website maintainer, not somebody delivering content. In theory, my profile should contain no articles. Currently I’m addressing all public service messages to my account. This is clearly polluting the profile pages.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 30, 2017 at 8:50 am #1070900Yes, it’s better with a video.
You can try with this tweak:
- Go to file: root/templates/ja_oslo/html/layouts/joomla/content/info_block/block.php
- Replace this:
<?php if ($displayData['params']->get('show_author') && !empty($displayData['item']->author )) : ?> <?php echo JLayoutHelper::render('joomla.content.info_block.author', $displayData); ?> <?php endif; ?>
By:
<?php if ($displayData['params']->get('show_author') && ( $displayData['item']->author || $displayData['item']->created_by_alias) ) : ?> <?php echo JLayoutHelper::render('joomla.content.info_block.author', $displayData); ?> <?php endif; ?>
-
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by Saguaros 7 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum