Keyword

K2 Tools - Tag cloud - Styling

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
11 years 5 months ago #113039 by BBC
K2 Tools - Tag cloud - Styling was created by BBC
Used search, found nothing.


I dont know if im just stupid and dont see something in the front of my eyes, or is it some bug with module, CSS.

- Activated K2 Tools module, used Tag cloud function.
- I see in source code that my template override CSS is called (for test purpose i started with k2.css core code in my override)

- None of "tag" classes in CSS have any impact on Tag cloud, no matter how i change them.
- Firebug doesnt even show these classes in CSS, they are as non existent. (Module/s near Tag cloud use normally CSS code) I mean on the same subpage.

- K2 tools module has not template override, i know that. But all classes for modules are in k2.css (or override css). Everything else works except Tag cloud. No styling at all, nothing in Firebug.


How to style Tag Cloud without touching core tags.php file (made/rename classes) ?
How to style Tag cloud without inventing new classes in k2.css (or override css) ?

K2 = 2.6.6 version
Joomla 3.1.1 version.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #113040 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Tools - Tag cloud - Styling
Hello there,

K2 Tools does have an override. Try looking for the modules/k2_tools/tmpl folder. Each view has it's own .php file you can override.

Furthermore in your k2.css look for div.k2TagCloudBlock it should at line 980 in your default k2.css.

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

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

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
11 years 5 months ago #113041 by BBC
Replied by BBC on topic Re: K2 Tools - Tag cloud - Styling
Thanks for fast answer.

K2 Tool has not option to chose template, so override works only once ? But i dont think it is important here.

I have div.k2TagCloudBlock in my CSS. CSS is called in page. But it is non existent for Tag Cloud.

In whole Tag cloud module (K2 tools) i have only this:

<div id="k2ModuleBox161" class="k2TagCloudBlock">

and inside tags "a title" , nothing more.

When i preview right side in Firebug i dont see any K2 class, despite k2.css is called on page.

Dont have K2 tools override folder, dont want to complicate problem until i solve it.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #113042 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Tools - Tag cloud - Styling
I get what you mean, you can override the module but you can't choose any template.

I 'll need a URL for this one.

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

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

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
11 years 5 months ago #113043 by BBC
Replied by BBC on topic Re: K2 Tools - Tag cloud - Styling
I really dont understand it.

K2 content module use K2 CSS absolutely OK. K2 tools module not, they are on the same page. Only difference is sidebar/column (tags), middle area (K2 content modules).

I tried one of default Joomla templates, same problem.

If i in K2 CSS add:

#k2ModuleBox161 {some style here}

even this is not respected.

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

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
11 years 5 months ago #113044 by BBC
Replied by BBC on topic Re: K2 Tools - Tag cloud - Styling

Krikor Boghossian wrote: I get what you mean, you can override the module but you can't choose any template.

I 'll need a URL for this one.



It is localhost unfortunately.

Override is not important here, problem is of another nature. Even when i make so that page picks default k2.css it is the same.

You maybe miss me, i dont want to override K2 tools (Tag cloud). I want it to start using K2 CSS classes that is called in page. It is called, i see it in source code, i see it in other K2 modules. (have 4 pieces more on the same page).

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #113045 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Tools - Tag cloud - Styling
Are you sure this is not a cache issue?
Plus this has happened to me a lot of times, double check the path of your k2.css file and open it in your browser to see if the changes are actually there.

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

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

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
11 years 5 months ago #113046 by BBC
Replied by BBC on topic Re: K2 Tools - Tag cloud - Styling
Joomla cache is not activated, browser cleared. Paths seem OK.

I open css with Notepad and see that it is not DW that tricks me, all changed are saved. Nothing in Firebug.

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

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
11 years 5 months ago #113047 by BBC
Replied by BBC on topic Re: K2 Tools - Tag cloud - Styling
Seems as bug in K2 - Css4K2 plugin. It is not ready for Joomla 3.

Why is it not in the core ? More than 7 billion people in this world and such important K2 thing depend on only one person.

Next question and search for answer is what K2 - Css4K2 plugin does so that K2 modules in one positiona are styled, modules in another position not, on the same subpage ?

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

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
11 years 5 months ago #113048 by BBC
Replied by BBC on topic Re: K2 Tools - Tag cloud - Styling
Here is answer maybe, article not so old.
But i have no clue where to put this part of code.

y-designs.com/support/tutorials/how-to-inject-css-prior-to-the-css4k2-system.html#.UZDyaT7iNGE

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


Powered by Kunena Forum