Currently this is only for K2 Category Item view.
1. Download Attachment and extract the folder.
2. Copy "Portfolio" folder into templates/gk_creativity/html/com_k2/templates/
3. So you have "default" template and "portfolio" template.
4. Joomla admin > Extensions Manager > K2 > Create new Category "Portfolio" in K2 Categories.
5. While in Portfolio Categories Set following settings.
- Code: Select all
Category Item Layout -> Select a template :Portfolio
Layout grid -> Primary Count: Enter a number here depending on how many item you want to display.
Layout grid - > Columns for primaryColumns for primary: Enter column number here.
Layout grid - > Image size for primary items: XLarge
Layout grid - > All other items set to 0 please.
Item view options in category listings:
Title: Show
Link on Title: Show
Category: Show
Pagination: Your Choice ( See end notes )
Rest of the items disable or no Show.
6. Create new K2 Sub Categories under "Portfolio".
Settings:
- Code: Select all
Parent Category : Choose Portfolio or category you created in step 4.
Inherit parameter options from category : Choose Portfolio or category you created in step 4.
7. Create your items in these sub categories.
8. Try to use same image size in your items so everything looks even.
9. Create new menu item type K2 Categories and choose Portfolio Category created in step 4.
10. If you need to translate title hover information then please edit below file directly and change text in title atributes.
- Code: Select all
/templates/gk_creativity/html/com_k2/templates/portfolio/category.php
11. All done, you should have a portfolio page same as screenshot I have posted.
End Notes:
To change style colors or other css changes use override.css or edit
- Code: Select all
templates/gk_creativity/html/com_k2/templates/portfolio/style.css
Filter Tags are limited to items you are seeing in your page. If you have pagination enabled filter tags will show only for items in current view.
If you have missing icons in sorting section then you don't have font-awesome feature in your template, please update to latest version of your template.
I will be updating this style with other item views when time permits.
Any problems post in here.
See you around...