- Posts: 28
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Plugin to easily alter K2 category and items layout without template coding
Plugin to easily alter K2 category and items layout without template coding
- Nadal Kumar
- Topic Author
- Offline
- Junior Member
Less
More
6 years 3 months ago #168640
by Nadal Kumar
Plugin to easily alter K2 category and items layout without template coding was created by Nadal Kumar
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 directory.websitedons.net/homes
This next layout will output each item in the category as shown at the page directory.websitedons.net/k2-item
Also included are specialized custom fields to make a K2 item very intriguing and retain more viewers.
The possibilities are endless!
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 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 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!
Please Log in or Create an account to join the conversation.
- Nadal Kumar
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
6 years 3 months ago #168710
by Nadal Kumar
Replied by Nadal Kumar on topic Plugin to easily alter K2 category and items layout without template coding
New features added to really enhance K2 items
- Added function to insert parallax background effect in K2 items. See the demo page directory.websitedons.net/new-category-test/watch-how-he-driveshttp://directory.websitedons.net/new-category-test/watch-how-he-drives
- Added function to insert vertical content sections which can be dragged to change positions
- Added method to create custom contact form with multiple fields within a post
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #168869
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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)
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)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #168870
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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 :)
And thanks for helping out with K2 support Nadal :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Plugin to easily alter K2 category and items layout without template coding