Hi Couch Team,
Please help me as i need gallery.html which contains main categories like spanners when i click one of this i go to sub category like types of spanner i.e Combination Spanners, DOe Spanners, Ring Spanners ....... when i click agin on one of this then
i open to Combination spanners like Combination Spanners Carbn Steel, Combination Spanner CRV Steel etc etc along with side menu with current menu or category.
Please note that i am totally not good in php. this is my first try which i am trying for 5 days. i am static website designer. this is y first project in trying with admin panel. Hope you all understand.
Please help me in this coding or send me code you prefer:
Please help me as i need gallery.html which contains main categories like spanners when i click one of this i go to sub category like types of spanner i.e Combination Spanners, DOe Spanners, Ring Spanners ....... when i click agin on one of this then
i open to Combination spanners like Combination Spanners Carbn Steel, Combination Spanner CRV Steel etc etc along with side menu with current menu or category.
Please note that i am totally not good in php. this is my first try which i am trying for 5 days. i am static website designer. this is y first project in trying with admin panel. Hope you all understand.
Please help me in this coding or send me code you prefer:
- Code: Select all
<cms:if k_is_list >
<!-- gallery folders -->
<cms:set my_page="<cms:gpc 'pg' method='get' />" />
<cms:if my_page lt '2' >
<ul id="portfolioitems" class="grid_12 isotope masonry gallery">
<cms:folders childof=k_folder_name hierarchical='1' depth='1' orderby='weight'>
<cms:set my_folder_image="" />
<cms:if k_folder_image>
<cms:set my_folder_image=k_folder_image />
<cms:else />
<cms:pages folder=k_folder_name include_subfolders='0' limit='1'>
<cms:set my_folder_image=my_thumb_2 scope='parent' />
</cms:pages>
</cms:if>
<cms:if my_folder_image=''><cms:set my_folder_image="<cms:show k_admin_link />theme/images/empty-folder.gif" /></cms:if>
<li class="isotope-item design">
<figure class="portfolio-style-2">
<div class="portfolio-img">
<a href="<cms:show k_folder_link />">
<img alt="<cms:show k_folder_title />" src="<cms:show my_folder_image />"/>
</div>
<figcaption style="background-color:#333;">
<a class="title"><cms:show k_folder_title /></a></a>
</figcaption>
</figure>
</li>
</cms:folders>
</ul>
</div>
</cms:if>
</section>
</section>
<cms:pages folder=k_folder_name include_subfolders='0' limit='18' paginate='1'>
<section class="page-content">
<section class="container">
<div class="row">
<aside class="grid_4 aside-left">
<ul class="aside_widgets">
<cms:embed 'gallery_sidebar.html' />
</ul>
</aside>
<!-- Column 1 /Content -->
<div class="grid_8">
<ul >
<li>
<div class="grid_2 alpha prodcatgry-item">
<a href="<cms:show k_page_link />" >
<img src="<cms:show gg_thumb />" alt="<cms:show k_page_title />" title="<cms:show k_page_title />"/>
<figcaption>
<span class="subtitle"><cms:show k_page_title /></span></a>
</figcaption>
</div>
</li>
<cms:if k_paginated_bottom ><!-- pagination -->
<div style="clear:both"><cms:paginator /></div>
</cms:if>
</cms:pages>
</ul>
</div>
</section>
</section>
<cms:else /><!-- k_is_page -->
<section class="page-content">
<section class="container">
<div class="row">
<aside class="grid_4 aside-left">
<ul class="aside_widgets">
<cms:if k_is_folder>
<cms:set current_folder = k_folder_name />
<cms:else_if k_is_page />
<cms:set current_folder = k_page_foldername />
<div class="section-header">
<h3 class="mt-6"><cms:show k_page_foldertitle /></h3></div>
<div class="u-cubeportfolio">
<div class="cbp" data-layout="grid" gridAdjustment="responsive" data-animation="quicksand" data-x-gap="20" data-y-gap="20" data-media-queries='[
{"width": 1900, "cols": 4},
{"width": 1100, "cols": 4},
{"width": 800, "cols": 3},
{"width": 480, "cols": 2},
{"width": 300, "cols": 1}
]'>
<cms:pages folder = current_folder order="asc">
<div class="cbp-item">
<a href="<cms:show k_page_link />"></a>
<h6 class="prod-detail-text"><a href="<cms:show k_page_link />"><cms:show k_page_title /></a></h6>
</div>
</cms:pages>
</div>
</div>
</cms:if>
<li><cms:embed 'gallery_sidebar.html' /></li>
</ul>
</aside>
<!-- Column 1 /Content -->
<div class="grid_8">
<div id="image_container">
<h3 class="cata"><cms:if k_is_page><cms:show k_page_title /></cms:if></h3>
<div class="prodimg"><img src="<cms:show prod_image />" alt="<cms:show k_page_title />"/></div>
</div>
<cms:show my_desc />
</cms:if>