Jump to content

Basil

Members
  • Posts

    49
  • Joined

  • Last visited

Everything posted by Basil

  1. Basil

    Web Design Agency

    pitbull thank you!! Manfred62 thank you so much for your effort show me this!
  2. Hallo i just want to show my first website in processwire.. Tell me what you think? under contruction i have some issues but i am working on.. thank you!
  3. just want to say thanks guys great tutorial!!
  4. Thank you Ryan! i will look for the error you mention.
  5. when i change the menu links to target='_self' its working, is there any way to load without target='_self'.
  6. Hi forum! i have this problem, my first site on proccess wire uses ajax and it works fine in localhost wamp, but when i move it online i have issues with the urls not working, after read this topic and research on internet i try all the solutions i find but no luck, i use the help from topic here, but nothing, the problem with links i think the problem come from the # symbol in urls any idea how to make it work?
  7. hi chris very nice website. i am new to pw and to php, can you tell me how you work with ajax pages? i have under contraction html site and i want to make it work with processwire. very nice think that you by procache and formbuilder, for suport Ryan i allso will buy when i start undarstant pw thank you for the help!!
  8. thank you Joss very very useful!!
  9. thank you all for you help and efort!! i will keep reading this cms is a dream when i learn it!! thank you again i will post the sites i made in future..
  10. Thak you all for your help!! Joss thank you a lot i start reading you great tutorials... http://wiki.processw..._Gallery_System Basic Website Tutorial Simple News Tutorial.
  11. Hi Luis very nice tutorial!!! can you help me with this? http://processwire.com/talk/topic/3032-photo-gallery-site/ thank you!
  12. thank you Macrura73 for your help, but i am so rookie to make it work. i wiss that you have time to give me some example with the code i post before dont forget the good we do - or give - come back
  13. thank you diogo for your help! i have look at the most tutorials and posts but not find something very similar to what i look for, if i see it in action this will help me a lot.. thank you wishbone and i agree with you. processwire cms is the best i ever try, it works like all designer dreaming, i wiss i have time for this website i want to make to stay with processwire and try to learn it. but sure for next project!!! thank you!!
  14. Thank you Matthew you are very kind.. i try http://processwire.c...ite/#entry29886 and it works fine!! but when i try with this gallery i get lost of how to.. i need to make this to work with processwire here is the code of the slider page: <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Galleriffic | Insert an image into the gallery after initialization</title> <link rel="stylesheet" href="css/basic.css" type="text/css" /> <link rel="stylesheet" href="css/galleriffic-4.css" type="text/css" /> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jquery.history.js"></script> <script type="text/javascript" src="js/jquery.galleriffic.js"></script> <script type="text/javascript" src="js/jquery.opacityrollover.js"></script> <!-- We only want the thunbnails to display when javascript is disabled --> <script type="text/javascript"> document.write('<style>.noscript { display: none; }</style>'); </script> </head> <body> <div id="page"> <div id="container"> <h1><a href="index.html">Galleriffic</a></h1> <h2>Insert and remove images after initialization</h2> <!-- Start Advanced Gallery Html Containers --> <div id="gallery" class="content"> <div id="controls" class="controls"></div> <div class="slideshow-container"> <div id="loading" class="loader"></div> <div id="slideshow" class="slideshow"></div> <div id="caption" class="caption-container"></div> </div> <div id="captionToggle"> <a href="#toggleCaption" class="off" title="Show Caption">Show Caption</a> </div> </div> <div id="thumbs" class="navigation"> <ul class="thumbs noscript"> <li> <a class="thumb" name="leaf" href="http://farm4.static.flickr.com/3261/2538183196_8baf9a8015.jpg" title="Title #0"> <img src="http://farm4.static.flickr.com/3261/2538183196_8baf9a8015_s.jpg" alt="Title #0" /> </a> <div class="caption"> <div class="download"> <a href="http://farm4.static.flickr.com/3261/2538183196_8baf9a8015_b.jpg">Download Original</a> </div> <div class="image-title">Title #0</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" name="drop" href="http://farm3.static.flickr.com/2404/2538171134_2f77bc00d9.jpg" title="Title #1"> <img src="http://farm3.static.flickr.com/2404/2538171134_2f77bc00d9_s.jpg" alt="Title #1" /> </a> <div class="caption"> Any html can be placed here ... </div> </li> <li> <a class="thumb" name="bigleaf" href="http://farm3.static.flickr.com/2093/2538168854_f75e408156.jpg" title="Title #2"> <img src="http://farm3.static.flickr.com/2093/2538168854_f75e408156_s.jpg" alt="Title #2" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2093/2538168854_f75e408156_b.jpg">Download Original</a> </div> <div class="image-title">Title #2</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" name="lizard" href="http://farm4.static.flickr.com/3153/2538167690_c812461b7b.jpg" title="Title #3"> <img src="http://farm4.static.flickr.com/3153/2538167690_c812461b7b_s.jpg" alt="Title #3" /> </a> <div class="caption"> <div class="download"> <a href="http://farm4.static.flickr.com/3153/2538167690_c812461b7b_b.jpg">Download Original</a> </div> <div class="image-title">Title #3</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm4.static.flickr.com/3150/2538167224_0a6075dd18.jpg" title="Title #4"> <img src="http://farm4.static.flickr.com/3150/2538167224_0a6075dd18_s.jpg" alt="Title #4" /> </a> <div class="caption"> <div class="download"> <a href="http://farm4.static.flickr.com/3150/2538167224_0a6075dd18_b.jpg">Download Original</a> </div> <div class="image-title">Title #4</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm4.static.flickr.com/3204/2537348699_bfd38bd9fd.jpg" title="Title #5"> <img src="http://farm4.static.flickr.com/3204/2537348699_bfd38bd9fd_s.jpg" alt="Title #5" /> </a> <div class="caption"> <div class="download"> <a href="http://farm4.static.flickr.com/3204/2537348699_bfd38bd9fd_b.jpg">Download Original</a> </div> <div class="image-title">Title #5</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm4.static.flickr.com/3124/2538164582_b9d18f9d1b.jpg" title="Title #6"> <img src="http://farm4.static.flickr.com/3124/2538164582_b9d18f9d1b_s.jpg" alt="Title #6" /> </a> <div class="caption"> <div class="download"> <a href="http://farm4.static.flickr.com/3124/2538164582_b9d18f9d1b_b.jpg">Download Original</a> </div> <div class="image-title">Title #6</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm4.static.flickr.com/3205/2538164270_4369bbdd23.jpg" title="Title #7"> <img src="http://farm4.static.flickr.com/3205/2538164270_4369bbdd23_s.jpg" alt="Title #7" /> </a> <div class="caption"> <div class="download"> <a href="http://farm4.static.flickr.com/3205/2538164270_c7d1646ecf_o.jpg">Download Original</a> </div> <div class="image-title">Title #7</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm4.static.flickr.com/3211/2538163540_c2026243d2.jpg" title="Title #8"> <img src="http://farm4.static.flickr.com/3211/2538163540_c2026243d2_s.jpg" alt="Title #8" /> </a> <div class="caption"> <div class="download"> <a href="http://farm4.static.flickr.com/3211/2538163540_c2026243d2_b.jpg">Download Original</a> </div> <div class="image-title">Title #8</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2315/2537343449_f933be8036.jpg" title="Title #9"> <img src="http://farm3.static.flickr.com/2315/2537343449_f933be8036_s.jpg" alt="Title #9" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2315/2537343449_f933be8036_b.jpg">Download Original</a> </div> <div class="image-title">Title #9</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2167/2082738157_436d1eb280.jpg" title="Title #10"> <img src="http://farm3.static.flickr.com/2167/2082738157_436d1eb280_s.jpg" alt="Title #10" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2167/2082738157_436d1eb280_b.jpg">Download Original</a> </div> <div class="image-title">Title #10</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2342/2083508720_fa906f685e.jpg" title="Title #11"> <img src="http://farm3.static.flickr.com/2342/2083508720_fa906f685e_s.jpg" alt="Title #11" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2342/2083508720_fa906f685e_b.jpg">Download Original</a> </div> <div class="image-title">Title #11</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2132/2082721339_4b06f6abba.jpg" title="Title #12"> <img src="http://farm3.static.flickr.com/2132/2082721339_4b06f6abba_s.jpg" alt="Title #12" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2132/2082721339_4b06f6abba_b.jpg">Download Original</a> </div> <div class="image-title">Title #12</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2139/2083503622_5b17f16a60.jpg" title="Title #13"> <img src="http://farm3.static.flickr.com/2139/2083503622_5b17f16a60_s.jpg" alt="Title #13" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2139/2083503622_5b17f16a60_b.jpg">Download Original</a> </div> <div class="image-title">Title #13</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2041/2083498578_114e117aab.jpg" title="Title #14"> <img src="http://farm3.static.flickr.com/2041/2083498578_114e117aab_s.jpg" alt="Title #14" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2041/2083498578_114e117aab_b.jpg">Download Original</a> </div> <div class="image-title">Title #14</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2149/2082705341_afcdda0663.jpg" title="Title #15"> <img src="http://farm3.static.flickr.com/2149/2082705341_afcdda0663_s.jpg" alt="Title #15" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2149/2082705341_afcdda0663_b.jpg">Download Original</a> </div> <div class="image-title">Title #15</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2014/2083478274_26775114dc.jpg" title="Title #16"> <img src="http://farm3.static.flickr.com/2014/2083478274_26775114dc_s.jpg" alt="Title #16" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2014/2083478274_26775114dc_b.jpg">Download Original</a> </div> <div class="image-title">Title #16</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2194/2083464534_122e849241.jpg" title="Title #17"> <img src="http://farm3.static.flickr.com/2194/2083464534_122e849241_s.jpg" alt="Title #17" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2194/2083464534_122e849241_b.jpg">Download Original</a> </div> <div class="image-title">Title #17</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm4.static.flickr.com/3127/2538173236_b704e7622e.jpg" title="Title #18"> <img src="http://farm4.static.flickr.com/3127/2538173236_b704e7622e_s.jpg" alt="Title #18" /> </a> <div class="caption"> <div class="download"> <a href="http://farm4.static.flickr.com/3127/2538173236_b704e7622e_b.jpg">Download Original</a> </div> <div class="image-title">Title #18</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2375/2538172432_3343a47341.jpg" title="Title #19"> <img src="http://farm3.static.flickr.com/2375/2538172432_3343a47341_s.jpg" alt="Title #19" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2375/2538172432_3343a47341_b.jpg">Download Original</a> </div> <div class="image-title">Title #19</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2353/2083476642_d00372b96f.jpg" title="Title #20"> <img src="http://farm3.static.flickr.com/2353/2083476642_d00372b96f_s.jpg" alt="Title #20" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2353/2083476642_d00372b96f_b.jpg">Download Original</a> </div> <div class="image-title">Title #20</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm3.static.flickr.com/2201/1502907190_7b4a2a0e34.jpg" title="Title #21"> <img src="http://farm3.static.flickr.com/2201/1502907190_7b4a2a0e34_s.jpg" alt="Title #21" /> </a> <div class="caption"> <div class="download"> <a href="http://farm3.static.flickr.com/2201/1502907190_7b4a2a0e34_b.jpg">Download Original</a> </div> <div class="image-title">Title #21</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm2.static.flickr.com/1116/1380178473_fc640e097a.jpg" title="Title #22"> <img src="http://farm2.static.flickr.com/1116/1380178473_fc640e097a_s.jpg" alt="Title #22" /> </a> <div class="caption"> <div class="download"> <a href="http://farm2.static.flickr.com/1116/1380178473_fc640e097a_b.jpg">Download Original</a> </div> <div class="image-title">Title #22</div> <div class="image-desc">Description</div> </div> </li> <li> <a class="thumb" href="http://farm2.static.flickr.com/1260/930424599_e75865c0d6.jpg" title="Title #23"> <img src="http://farm2.static.flickr.com/1260/930424599_e75865c0d6_s.jpg" alt="Title #23" /> </a> <div class="caption"> <div class="download"> <a href="http://farm2.static.flickr.com/1260/930424599_e75865c0d6_b.jpg">Download Original</a> </div> <div class="image-title">Title #23</div> <div class="image-desc">Description</div> </div> </li> </ul> </div> <!-- End Advanced Gallery Html Containers --> <!-- Add image link --> <div style="clear: left; float: left; padding-top: 10px;"> <a href="#addImage" id="addImageLink">Insert Image into Position 5</a> <br /> <a href="#removeImageByIndex" id="removeImageByIndexLink">Remove Image at Position 5</a> <br /> <a href="#removeImageByHash" id="removeImageByHashLink">Remove the Lizard Image (by its hash value 'lizard')</a> </div> <div style="clear: both;"></div> </div> </div> <div id="footer">© 2009 Trent Foley</div> <script type="text/javascript"> jQuery(document).ready(function($) { // We only want these styles applied when javascript is enabled $('div.navigation').css({'width' : '300px', 'float' : 'left'}); $('div.content').css('display', 'block'); // Initially set opacity on thumbs and add // additional styling for hover effect on thumbs var onMouseOutOpacity = 0.67; $('#thumbs ul.thumbs li').opacityrollover({ mouseOutOpacity: onMouseOutOpacity, mouseOverOpacity: 1.0, fadeSpeed: 'fast', exemptionSelector: '.selected' }); // Enable toggling of the caption var captionOpacity = 0.0; $('#captionToggle a').click(function(e) { var link = $(this); var isOff = link.hasClass('off'); var removeClass = isOff ? 'off' : 'on'; var addClass = isOff ? 'on' : 'off'; var linkText = isOff ? 'Hide Caption' : 'Show Caption'; captionOpacity = isOff ? 0.7 : 0.0; link.removeClass(removeClass).addClass(addClass).text(linkText).attr('title', linkText); $('#caption span.image-caption').fadeTo(1000, captionOpacity); e.preventDefault(); }); // Initialize Advanced Galleriffic Gallery var gallery = $('#thumbs').galleriffic({ delay: 2500, numThumbs: 15, preloadAhead: 10, enableTopPager: true, enableBottomPager: true, maxPagesToShow: 7, imageContainerSel: '#slideshow', controlsContainerSel: '#controls', captionContainerSel: '#caption', loadingContainerSel: '#loading', renderSSControls: true, renderNavControls: true, playLinkText: 'Play Slideshow', pauseLinkText: 'Pause Slideshow', prevLinkText: '‹ Previous Photo', nextLinkText: 'Next Photo ›', nextPageLinkText: 'Next ›', prevPageLinkText: '‹ Prev', enableHistory: true, autoStart: false, syncTransitions: true, defaultTransitionDuration: 900, onSlideChange: function(prevIndex, nextIndex) { // 'this' refers to the gallery, which is an extension of $('#thumbs') this.find('ul.thumbs').children() .eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end() .eq(nextIndex).fadeTo('fast', 1.0); }, onTransitionOut: function(slide, caption, isSync, callback) { slide.fadeTo(this.getDefaultTransitionDuration(isSync), 0.0, callback); caption.fadeTo(this.getDefaultTransitionDuration(isSync), 0.0); }, onTransitionIn: function(slide, caption, isSync) { var duration = this.getDefaultTransitionDuration(isSync); slide.fadeTo(duration, 1.0); // Position the caption at the bottom of the image and set its opacity var slideImage = slide.find('img'); caption.width(slideImage.width()) .css({ 'bottom' : Math.floor((slide.height() - slideImage.outerHeight()) / 2), 'left' : Math.floor((slide.width() - slideImage.width()) / 2) + slideImage.outerWidth() - slideImage.width() }) .fadeTo(duration, captionOpacity); }, onPageTransitionOut: function(callback) { this.fadeTo('fast', 0.0, callback); }, onPageTransitionIn: function() { this.fadeTo('fast', 1.0); }, onImageAdded: function(imageData, $li) { $li.opacityrollover({ mouseOutOpacity: onMouseOutOpacity, mouseOverOpacity: 1.0, fadeSpeed: 'fast', exemptionSelector: '.selected' }); } }); /**** Functions to support integration of galleriffic with the jquery.history plugin ****/ // PageLoad function // This function is called when: // 1. after calling $.historyInit(); // 2. after calling $.historyLoad(); // 3. after pushing "Go Back" button of a browser function pageload(hash) { // alert("pageload: " + hash); // hash doesn't contain the first # character. if(hash) { $.galleriffic.gotoImage(hash); } else { gallery.gotoIndex(0); } } // Initialize history plugin. // The callback is called at once by present location.hash. $.historyInit(pageload, "advanced.html"); // set onlick event for buttons using the jQuery 1.3 live method $("a[rel='history']").live('click', function() { if (e.button != 0) return true; var hash = this.href; hash = hash.replace(/^.*#/, ''); // moves to a new page. // pageload is called at once. // hash don't contain "#", "?" $.historyLoad(hash); return false; }); /****************************************************************************************/ /********************** Attach click event to the Add Image Link ************************/ $('#addImageLink').click(function(e) { gallery.insertImage('<li> \ <a class="thumb" href="http://farm1.static.flickr.com/79/263120676_2518b40e5b.jpg" title="Dynamically Added Image">\ <img src="http://farm1.static.flickr.com/79/263120676_2518b40e5b_s.jpg" alt="Dynamically Added Image" />\ </a> \ <div class="caption"> \ <div class="download"> \ <a href="http://farm1.static.flickr.com/79/263120676_2518b40e5b_o_d.jpg">Download Original</a> \ </div> \ <div class="image-title">Dynamically Added Image</div> \ <div class="image-desc"> \ <img src="http://farm1.static.flickr.com/38/buddyicons/77261001@N00.jpg" alt="ringydingydo" /> \ Photo taken by <a href="http://www.flickr.com/photos/ringydingydo/">ringydingydo</a> \ </div> \ </div> \ </li>', 5); e.preventDefault(); }); /****************************************************************************************/ /***************** Attach click event to the Remove Image By Index Link *****************/ $('#removeImageByIndexLink').click(function(e) { if (!gallery.removeImageByIndex(5)) alert('There is no longer an image at position 5 to remove!'); e.preventDefault(); }); /****************************************************************************************/ /***************** Attach click event to the Remove Image By Hash Link ******************/ $('#removeImageByHashLink').click(function(e) { if (!gallery.removeImageByHash('lizard')) alert('The lizard image has already been removed!'); e.preventDefault(); }); /****************************************************************************************/ }); </script> </body> </html> thank you nery much!!
  15. Hi to all!! i nedd to interact Galleriffic Gallery to processwire please if somebody can guide me... thank you!!
  16. Can somebody help me i fell so lost with this: The layout i need is SECTIONS eg: main menu- Categories sub menu- -Hotels Photofraphy // when clicked show-> -Hotel 1 // show link & image -Hotel 2 // show link & image -Hotel 3 // show link & image sub menu- -Villas Photofraphy // when clicked show-> -Villa 1 // show link & image -Villa 2 // show link & image -Villa 3 // show link & image sub menu- -Commercial Photofraphy // when clicked show-> -Commercial 1 // show link & image -Commercial 2 // show link & image -Commercial 3 // show link & image when visitor click Categories link go to page that shows thumbnails of the subcategories (Hotels Photofraphy - VillasPhotofraphy - Commercial Photofraphy) and when click Hotels Photofraphy thumb or link from menu goes to Hotels page that shows thumbnails of the subcategories (Hotel 1 - Hotel 2 - Hotel 3) and then when click the Hotel1 thumb or link from menu goes to hotel1 page to view the photos and description of the hotel.. i read a lot of the very explained posts from members in the forum, but i have no experience with programming, so it's very difficult to work with processwire.. i need example of what fields to make and what code to use to outpout this to my template The best help i can have will be a process example (how you will do it) and code to achieve this. Thank you very very much!!
  17. thank you MatthewSchenker for your help. very useful i will try it when i finish with the issue i have above and let you know how i did it.. thank you again!!
  18. Radek i am sory to bother you i have a small issue when i go to categories -> hotels -> hotel1... it prints out the photos of hotel1 like i want but allso output the hotels photo from the parent category:: categories -> hotels -> hotel1... you have any idea how to fix this thank you you make my processwire entrance a lot easier!!
  19. Radek thank you very much!! it work i am so happy!! thank you Radek Your help is very important..
  20. Thank you a lot Joss, i have read this great tutorials, but with not clear idea yet about how to build the project above... i will wait for your tutorial about Flexslider.. it will hepl a lot!! Radek hi and thank you for the help.. i make a new template and i paste your code but nothing output here is the code: <?php /** * Home2 template * */ include("./head.inc"); echo $page->body; /** * Gallery template * * Need image field named 'images' * */ // thumbnails width/height $twidth = 140; $theight = 140; /* Breadcrumbs */ $outBreadcrumbs = '<ul class="breadcrumbs">'; $root = $pages->get('/'); foreach($page->parents->remove($root) as $parent) { $outBreadcrumbs .= "<a href='{$parent->url}'>{$parent->title}</a> » "; } $outBreadcrumbs .= "{$page->title}"; $outBreadcrumbs .= "</ul>"; /* Child album list */ $outList = ""; if($page->numChildren > 0) { //goes thrue child pages $outList .= '<ul class="block-grid six-up mobile-three-up">'; foreach($page->children() as $album) { //show only child pages with gallery template if (count($album->images) > 0 && $album->template == "gallery") { // get the first image $fimage = $album->images->first(); // make a thumbnail $thumb = $fimage->size($twidth, $theight); $outList .= "<li>"; //child album thumb link $outList .= "<a href='{$album->url}'><img class='album_thumb'src='{$thumb->url}' alt='{$album->title}' /></a>"; //child album link $outList .= "<div class='panel gallery_dir_panel'><a href='{$album->url}'>{$album->title}</a></div>"; $outList .= "</li>"; } } $outList .= '</ul>'; } /* Gallery images */ $outGal = ""; $outGal .= '<ul class="block-grid six-up mobile-three-up">'; foreach($page->images as $image) { $outGal .= "<li>"; $thumb = $image->size($twidth, $theight); $outGal .= "<a href='{$image->url}' class='colorbox' title='{$image->description}'>"; $outGal .= "<img class='gallery_thumb' src='{$thumb->url}' alt='{$thumb->description}' width='$twidth' height='$theight' /></a>"; $outGal .= "<div class='panel gallery_panel'>{$image->description}</div>"; $outGal .= "</li>"; } $outGal .= "</ul>"; //$outGal .= "</div>"; /* Fill content area of main template */ $block1 = $page->block1 . $outBreadcrumbs . $outList . $outGal; include("./inc/main.inc"); include("./foot.inc"); i am rookie to code and to processwire, i only web design if somebody can help me from how to begin, what kind of fields i need, and how to output them in template. the target i have is this: when visitor click Categories link go to page that shows thumbnails links of the subcategories (Hotels Photofraphy - VillasPhotofraphy - Commercial Photofraphy) and when click Hotels Photofraphy thumb or link from the menu goes to Hotels page that shows thumbnails of the subcategories (Hotel 1 - Hotel 2 - Hotel 3) and then when click the Hotel1 thumb or link from menu goes to hotel1 page to view the photos and description of the hotel.. is posible for beginer to do this? with your help.. i like this cms a lot and i wiss i can use it. i dont want to go back to joomla thank you all dont forget the good we do - or give - come back
  21. Hi to all Processwire experts! i recently found Processwire this very promising cms, and i am very happy! i was making sites until know in joomla, and now i want to move to Processwire.. until know the posts help me to start a basic site like planets example but i want to make a photography site with functionality similar to the video section: http://processwire.com/videos/using-the-image-thumbnail-plugin/ The layout i need is SECTIONS eg: main menu- Categories sub menu- -Hotels Photofraphy -Hotel 1 -Hotel 2 -Hotel 3 sub menu- -Villas Photofraphy -Villa 1 -Villa 2 -Villa 3 sub menu- -Commercial Photofraphy -Commercial 1 -Commercial 2 -Commercial 3 when visitor click Categories link go to page that shows thumbnails of the subcategories (Hotels Photofraphy - VillasPhotofraphy - Commercial Photofraphy) and when click Hotels Photofraphy thumb or link from menu goes to Hotels page that shows thumbnails of the subcategories (Hotel 1 - Hotel 2 - Hotel 3) and then when click the Hotel1 thumb or link from menu goes to hotel1 page to view the photos and description of the hotel.. i read a lot of the very explained posts from members in the forum, but i have no experience with programming, so it's a little difficult to make it.. How to outpout this to my template The best help i can have will be a process example (how you will do it) and code to achieve this. i believe that this help for me, will help a lot of other designers also I wish that someone make a book for Processwire with a lot of diferent website cases - examples... i will buy Thank you all... and i am very sory for my bad english..
×
×
  • Create New...