Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Alignment on "Articles by our authors" module

  • Felipe
  • Felipe's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 7 months ago #138311 by Felipe
How to fix an alignment problem on the module of kiwi_Right_Lower position?
Regards,
Fz

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #138312 by Krikor Boghossian
Replied by Krikor Boghossian on topic Alignment on "Articles by our authors" module
Please send me a link Felipe.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #138313 by Krikor Boghossian
Replied by Krikor Boghossian on topic Alignment on "Articles by our authors" module
I will need credentials (Super User access) to resolve this.
You can use our contact form to send them to us.
nuevvo.com/contact

PS. Do not post accounts details in the forum

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Felipe
  • Felipe's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 7 months ago #138314 by Felipe
Hi Krikor!
Credentials sent.
Please, related to the same issue with K2 authors module: how to make the super user to not appear in the module?

Regards,
Fz

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #138315 by Krikor Boghossian
Replied by Krikor Boghossian on topic Alignment on "Articles by our authors" module
Sadly you cannot, you 'd have to hack the module but there is a much simpler solution.
You can use the K2 Users module instead.

With that module you can manually select which users to show.
That module is included in the quickstart package as well.

The issue with the alignment is that due to the face that Disquss is loading after the page load and inside an iframe the page's height is not calculated properly.

I will send you a custom js snippet for this.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #138316 by Krikor Boghossian
Replied by Krikor Boghossian on topic Alignment on "Articles by our authors" module
I added a small script in your custom.js file.
It seems to be loading better.

Let me know if the issue persists so we can use a different approach.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Felipe
  • Felipe's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 7 months ago #138317 by Felipe
Hello again Krikor,
You know this module is so important for me. It's perfect. I tried the K2 Users module you recommended but it's not what I need.

My module gets misaligned with Disqus, Facebook or even K2 comments. So, it's not something that Disqus is doing.

Sadly your snippet didn't solve the problem. At least on my screen (wider than others).

Maybe the alignment issue is related to have more than 10 users, as users start to get misaligned after user nº10 on the module.

Please, if you know how to hack the module to not show the super user would be awesome.

Regards,
Felipe Z.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #138318 by Krikor Boghossian
Replied by Krikor Boghossian on topic Alignment on "Articles by our authors" module
Sadly Disqus does not offer a callback function (in its latest version) so the equal-heights scripts can be fired. Since it is also loaded within an iframe so jQuery will not work either.

I changed the layout script a bit but a small gap might appear at the end of the item.
I can try re-firing the script after a second but I do not think is a proper solution.

Now for excluding an author from the K2 Tools module.

Go to templates/kiji/html/mod_k2_tools/authors.php and find line 17.
Add id="author-<?php echo $author->id; ?>" to that <div>

It should look like:
<div class="column small-6 medium-3 large-6 <?php echo ($key%2) ? "odd" : "even"; if(count($items)==$key+1) echo ' lastItem'; ?>" id="author-<?php echo $author->id; ?>">

Now in your custom.css add:
#author-AUTHOR_ID_TO_EXCLUDE { display: none; }

Let me know if you need any further assistance.

PS. backup your behaviour.js and authors.php files before updating.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Felipe
  • Felipe's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 7 months ago #138319 by Felipe
Krikor, the hack to exclude an author from the module works nicely.

What I did was start from a fresh install all over again, using K2 comments instead (at least for now), and the alignment issue is no more (also no more are the misalignment of social buttons on K2 articles, and the problem with the comment icons on teasers).

BTW is there a way to show users randomly instead of ordered by ID?

Regards,
Felipe Z.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #138320 by Krikor Boghossian
Replied by Krikor Boghossian on topic Alignment on "Articles by our authors" module
You won't have an issue with K2 Comments, the issue was with Disqus not offering a callback.

Sadly K2 Tools does not offer ordering for authors.
You will have to hack K2 (can lead to undesired effects and you will lose these changes when you update.)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum