Keyword

Using JW Tabs and Slides to conceal k2 divs

More
14 years 1 month ago #82232 by Mark Banks
Replied by Mark Banks on topic Using JW Tabs and Slides to conceal k2 divs
Marty, I've tried following your links in the last post to view the adaptations using tabs - but get permission denied everytime.

Any chance of checking/reposting.
Cheers, Mark

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

  • Marty Peet
  • Marty Peet's Avatar Topic Author
  • Offline
  • Premium Member
More
14 years 1 month ago #82233 by Marty Peet
Replied by Marty Peet on topic Using JW Tabs and Slides to conceal k2 divs
Hey Mark, apols about the link. The site is still a work in progress and the links have changed. I have also changed the methodology for implementing this layout, however you can see what you get here:

new.template.s50284.gridserver.com/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=5&Itemid=4

View the tab named Browse Experts. Because of the number of sub-categories in my Experts category I changed from tab display to slide display

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

More
14 years 1 month ago #82234 by william white
Replied by william white on topic Using JW Tabs and Slides to conceal k2 divs
Nice!

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

  • Marty Peet
  • Marty Peet's Avatar Topic Author
  • Offline
  • Premium Member
More
14 years 1 month ago #82235 by Marty Peet
Replied by Marty Peet on topic Using JW Tabs and Slides to conceal k2 divs
Thanks William, it relies on a helper.php file and customised k2 template/category.php to render the sub-categories within the slides

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

More
14 years 1 month ago #82236 by Mark Banks
Replied by Mark Banks on topic Using JW Tabs and Slides to conceal k2 divs
A good implementation Marty. Thanks for posting the new link.
Mark

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

  • Marty Peet
  • Marty Peet's Avatar Topic Author
  • Offline
  • Premium Member
More
14 years 1 month ago #82237 by Marty Peet
Replied by Marty Peet on topic Using JW Tabs and Slides to conceal k2 divs
Thank Mark, whenever I have a site that has around 4 or 5 sub-categories I use the tab layout, more than that I go to slides.

Mark Banks said:A good implementation Marty. Thanks for posting the new link. Mark

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

More
14 years 1 month ago #82238 by Ahmad Arshad
Replied by Ahmad Arshad on topic Using JW Tabs and Slides to conceal k2 divs
so this might be a stupid question... when u say k2 -> item.php ... which item.php are u referring to... the component or the module... could u give the full path to the file...

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

  • Marty Peet
  • Marty Peet's Avatar Topic Author
  • Offline
  • Premium Member
More
14 years 1 month ago #82239 by Marty Peet
Replied by Marty Peet on topic Using JW Tabs and Slides to conceal k2 divs
Hey Ahmad, the item.php is dependant on whether or not you've created template overrides. If you have created template overrides, then your item.php is in your \templates\\html\com_k2\templates\default folder. If you aren't using overrides than it is in the following folder \components\com_k2\templates\default\

Hope this helps



Ahmad Arshad said:so this might be a stupid question... when u say k2 -> item.php ... which item.php are u referring to... the component or the module... could u give the full path to the file...

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

More
13 years 2 months ago #82240 by Odin Mayland
Replied by Odin Mayland on topic Using JW Tabs and Slides to conceal k2 divs
Marty, 

 

can you fix the "Slide comments" link?

 

I also want to have the comments be hidden by default in certain categories like this one: 

www.primocraft.com/The-Man-Cave-Gallery/Big-Tiki-Island-Style.html

 

I would like a button that the user could click to open up the comments.

 

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

  • Marty Peet
  • Marty Peet's Avatar Topic Author
  • Offline
  • Premium Member
More
13 years 2 months ago #82241 by Marty Peet
Replied by Marty Peet on topic Using JW Tabs and Slides to conceal k2 divs
Here are a couple of links demonstrating wrapping k2 content in slides, as explained in the earlier posts:

 

omanugolf.co.nz/index.php?option=com_k2&view=item&id=109:40th-anniversary-celebration&Itemid=117#omanu_golf

Scroll to the very bottom of the page, click on View/Add Comments


langritangpa.org.au/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=1&Itemid=43

ALL articles are seperated into slides from individual k2 categories

 

langritangpa.org.au/index.php?option=com_k2&view=item&id=34:happiness-101&Itemid=197

Click on the Click for details link, k2 extra details hidden in a slide. Do the same to hide Comments

 

Hope this helps...

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


Powered by Kunena Forum