Keyword

Plugin to easily alter K2 category and items layout without template coding

  • Nadal Kumar
  • Nadal Kumar's Avatar Topic Author
  • Offline
  • Junior Member
More
2 months 2 weeks ago #168640 by Nadal Kumar
Nadal Kumar created the topic: Plugin to easily alter K2 category and items layout without template coding
With this plugin and K2 template override, there will be no need to create multiple templates for varying content types eg: real estate listing, business directory, event listing, blog etc.

The method uses shortcode place holders to layout K2 data objects anywhere in any view. Many selectable preset styles are included and each can be rearranged to suit. Also an override method allows a user to create own set of style presets to be included in the select list.


examples
The following shortcodes are set in the category configuration and will produce the format as shown at http://directory.websitedons.net/homes
[div class="clearall b-margin-20 pad-20 bg-gray"]
  [div class="boxsize width_70 padright-20"]
   [cattitle]
   [text]
  [/div]
  [div class="boxsize width_30"][catimage][/div]
[/div]

[div class="clearall"]
  [div class="boxsize width_60 break"]
   [itemslead]
  [/div]
  [div class="boxsize width_40 padleft-10 break"]
   [itemsprimary]
  [/div]
[/div]

[itemssecondary]
[itemslinks]

[pagination]

This next layout will output each item in the category as shown at the page http://directory.websitedons.net/k2-item
[div style="overflow: hidden; margin-bottom: 20px;"]
  [div][date][/div]
  [div class="boxsize width_60 break"]
    [title]
    [download]
    [field="1" video][videoplayer Get The Story Here]
    [text]
    [field="3" poll][poll Answer The Question]
    [tags]
    [socialshare]
    [authordetails]
    [div class="meta"][category][hits][rating][/div]
  [/div]

  [div class="boxsize width_40 padleft-20 break"]
    [image]
    [field="2" audio][audioplayer The Chillout Zone]
    [field="4" paypalcart][paypalcart Buy Some Stuff Today]
    [div class="sect"][field="5,6,7,8" label][/div]
    [related]
  [/div]
[/div]

[k2comment]

Also included are specialized custom fields to make a K2 item very intriguing and retain more viewers.
  • Insert video playlist with video URLS from any video source
  • Insert audio playlist from any internet radio or local .mp3 files. Alternatively insert Soundcloud, MixCloud and other audio sources
  • Add PayPal shopping cart with options, add to cart and checkout
  • Add slide show with just images or items from K2 or Joomla content
  • Add a poll to get user interaction
  • Add a live chat room
  • Insert a Google map with just an address
  • Add custom CSS to do any class override (adds inline css in head tag)

The possibilities are endless!
Attachments:

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

  • Nadal Kumar
  • Nadal Kumar's Avatar Topic Author
  • Offline
  • Junior Member
More
2 months 6 days ago #168710 by Nadal Kumar
Nadal Kumar replied the topic: Plugin to easily alter K2 category and items layout without template coding
New features added to really enhance K2 items


Attachments:

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #168869 by Fotis
Fotis replied the topic: Plugin to easily alter K2 category and items layout without template coding
Nice, you should also post this in the K2 Extensions Directory ;)

And since I assume you like K2, why not take a moment to add your review and rate it at the Joomla Extensions Directory? extensions.joomla.org/extension/k2/ (it means a lot to us)


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #168870 by Fotis
Fotis replied the topic: Plugin to easily alter K2 category and items layout without template coding
Post it on getk2.org and I'll make sure to add it at the featured block as well.

And thanks for helping out with K2 support Nadal :)


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white