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.

Changing K2 pluging order.

  • BARBARA GERANAKI
  • BARBARA GERANAKI's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 11 months ago #137274 by BARBARA GERANAKI
Changing K2 pluging order. was created by BARBARA GERANAKI
I would like to ask you if it is possible for someone like me (with not much of css knowlegde) to change the order of the K2 features after the articles?
I could really use 3 basic changes.
1) I would like to have my text in the articles wrapping under the extra fields block because now the text length its getting very short.

2) Is it possible to get the video block after the text and before the "author", "latest from" and "related articles"?

3) and the last one...can I move the "social icon" and the "rating" line before the image and text and after the anchor icons?

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

More
10 years 11 months ago #137275 by Yiota
Replied by Yiota on topic Changing K2 pluging order.
You will have to modify item.php file located in templates/numovies/html/com_k2/default/.

In that file you will have to move the appropriate blocks of code depending on the place you need them to appear.
I have made you a file with the modifications you requested above just to take a look on the differences between the two files and see how you can do it in the future.



Now, all you need to do is add this css declaration in the custom.css file located in templates/numovies/css/

.itemBody .itemContentLeft {margin:0 20px 20px 0;}

Let me know if you have any issues.

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

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

  • BARBARA GERANAKI
  • BARBARA GERANAKI's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 11 months ago #137276 by BARBARA GERANAKI
Replied by BARBARA GERANAKI on topic Changing K2 pluging order.
I tried the fisrt part by copying your code to the right file and it's perfect! All the plugins are in the order I wanted them to be.

But I dont understand exactly the second part with the custom.css.
I copied the code in the file. Have a look if I'm doing something wrong.

/**
* @version 1.0.1
* @package nuMovies
* @author Nuevvo - nuevvo.com
* @copyright Copyright (c) 2010 - 2013 Nuevvo Webware Ltd. All rights reserved.
* @license nuevvo.com/license
*/

/* Add custom CSS code here for easier template updates */

.itemBody .itemContentLeft {margin:0 20px 20px 20px;}



What is the purpose of that change? I was expecting to fix the margins around the extra fields block, but the way I did nothing changed.

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

  • BARBARA GERANAKI
  • BARBARA GERANAKI's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 11 months ago #137277 by BARBARA GERANAKI
Replied by BARBARA GERANAKI on topic Changing K2 pluging order.
I refreshed the page anf the borders were fixed!

So everything is perfcet now!

Thank you very much! Your support is really fast and helpfull!!!

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


Powered by Kunena Forum