Keyword

Category Listdesign & category item in lightbox

  • Sebastian Brenner
  • Sebastian Brenner's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 weeks ago - 12 years 2 weeks ago #111800 by Sebastian Brenner
Category Listdesign & category item in lightbox was created by Sebastian Brenner
Hey guys,

first of all, sorry for my (maybe) bad english.

I've running Joomla 3 with the newest K2-Plugins.

So i tried to ask the same questions in the german part of the forum.
But until now, no answers.

So i try to ask here again.

Here is a picture which shows my actual category list:


First I want to change the design.
- is it possible to change the list to a table.
- in this table the column names should be the title, "Ort" and "Level" (shown in the picture)
- and in the rows there should show the items (articles)

And my other question:

it would be nice if the links open in a modal-window / lightbox
for this i tried the proposals in this forum, but nothing helped.

Pls help me,

Waysti

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
12 years 2 weeks ago #111801 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Category Listdesign & category item in lightbox
Hello Sebastian,

You need to override the default K2 template for this. Inside category_item.php you have to alter the code of the extrafields and then use the default Joomla! modal box for your links (squeezebox).

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

  • Sebastian Brenner
  • Sebastian Brenner's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 weeks ago - 12 years 2 weeks ago #111802 by Sebastian Brenner
Replied by Sebastian Brenner on topic Re: Category Listdesign & category item in lightbox
Hello Krikor Boghossian,

thanks for your reply.

But i'm new to php and so my question can you say to me, which lines in the category_item.php i have to change or rather how i can change to joomla default??

Maybe i think, this i have to change??
Log in  or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
12 years 2 weeks ago #111803 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Category Listdesign & category item in lightbox
You 're welcome Sebastian,

You have to add a modal class to your <a> element,
for iframe handling and initialisation of the lightbox you must check out the developer's website .

Remember the scripts are possibly already loaded so no need to call the squeezebox lib twice and
use the addScriptDeclaration function for the initialisation of your lightbox.

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