Jump to content

kuba2

Members
  • Posts

    103
  • Joined

  • Last visited

Everything posted by kuba2

  1. Hello there I made a Website for a musician. Now I need to make a login website, where people from the press can listen to songs, without beeing able to download them. Questions: 1 Does anybody know a tutorial for the login/PHP requirements ( I am new to this...) 2. What kind of Musicplayer do I use? Is Soundcloud a option? Thanks a lot All the best Jakob
  2. I would like to include my thanks too, LostKobraKai, Kongondo, Adrian, Ryan and all the others i can't name now. This forum's great for newbies like me. It can be really overwhelming and irritating to code sometime, but in the end you always get there with the help of the generous staff-members. Thanks again! All the best Jakob
  3. LostKobrakai, Du bist der Beste! It works! I'm going to learn jquery properly now! It's not good to look , but not see. Thanks a lot!
  4. I tried without the second jquery...didn't work Put all the scripts in the bottom.....still doesn't work Can there be a conflict with Foundation? <!-- __________________Foundation Scripts___________ --> <script src="<?php echo $config->urls->templates?>bower_components/jquery/dist/jquery.js"></script> <script src="<?php echo $config->urls->templates?>bower_components/what-input/what-input.js"></script> <script src="<?php echo $config->urls->templates?>bower_components/foundation-sites/dist/foundation.js"></script> <script src="<?php echo $config->urls->templates?>js/min/app-min.js"></script> <!-- fancybox --> <script type="text/javascript" src="<?php echo $config->urls->templates?>source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script> <script type="text/javascript" src="<?php echo $config->urls->templates?>source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script> <script type="text/javascript" src="<?php echo $config->urls->templates?>source/helpers/jquery.fancybox-media.js?v=1.0.6"></script> <script type="text/javascript" src="<?php echo $config->urls->templates?>source/jquery.fancybox.pack.js?v=2.1.5"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $(".fancybox").fancybox(); }); </script> </body> </html>
  5. What would You suggest? I tried moving it around, but it doesn't do anything. It works with the old template, and thats the same code.....What is going on? Why does it work there and not with Foundation?
  6. Sorry for my ignorance, but I am still at the point, where I don't understand why it worked before and why it doesn't now. Even if I repeat a jquery, why is it a problem now. Thanks for Your effort, but I have still no clue. My brain hurts.
  7. Hello I have also seen that, but don't know what to do with it... I am confused, because this code worked without Foundation 6... Thanks
  8. Hi there I know this is not the topic for this forum, but I need help and somehow can't post in the foundation forum. I am registered, but since yesterday I can't publish any posts. Maybe someone here can give me a hint.. I am a Foundation 6 beginner. I made a website responsive with Foundation 6. Fancybox via Processwire was working smoothly. Now I have implemented Foundation 6, and theres no more fancybox.... Example: http://olikehrli.ch/galerie/ Does anybody have a suggestion what the cause could be? It is exactly the same as it was before, but now with the framework nothing goes....it has to be something with F6. Thanks for any help Jakob My code: <!DOCTYPE html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Oli Kehrli</title> <link rel="stylesheet" href="<?php echo $config->urls->templates?>styles/app.css"> <link rel="stylesheet" href="<?php echo $config->urls->templates?>styles/style.css"> <!-- Add jQuery library --> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> <!-- Add mousewheel plugin (this is optional) --> <script type="text/javascript" src="lib/jquery.mousewheel-3.0.6.pack.js"></script> <!-- Add fancyBox --> <link rel="stylesheet" href="<?php echo $config->urls->templates?>source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" /> <script type="text/javascript" src="<?php echo $config->urls->templates?>source/jquery.fancybox.pack.js?v=2.1.5"></script> <!-- Optionally add helpers - button, thumbnail and/or media --> <link rel="stylesheet" href="<?php echo $config->urls->templates?>source/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" media="screen" /> <script type="text/javascript" src="<?php echo $config->urls->templates?>source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script> <script type="text/javascript" src="<?php echo $config->urls->templates?>source/helpers/jquery.fancybox-media.js?v=1.0.6"></script> <link rel="stylesheet" href="<?php echo $config->urls->templates?>source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" type="text/css" media="screen" /> <script type="text/javascript" src="<?php echo $config->urls->templates?>source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script> </head> <!-- _____________BACKGROUND IMAGE im BODY_______________ --> <body> <div class="background_wrap"></div> <div class="top-bar" > <div class="row"> <div class="large-12 columns"> <!-- ______________LOGOS RECHTS__________________ --> <ul class="menu align-right" class="logos"> <li><a href="http://www.facebook.com/pages/Oli-Kehrli/111633355624653"><img class="logos" src="<?php echo $config->urls->templates?>images/logo/facebook.gif" ></a></li> <li><a href="https://www.youtube.com/channel/UCLPySXRIt9zfzGnj1fQ8Mvw"><img class="logos" src="<?php echo $config->urls->templates?>images/logo/youtube.gif" ></a></li> </ul> <!-- _________________LOGO__________________ --> <!-- <h1>Oli Kehrli</h1>--> <a href="<?php echo $pages->get('/nojs')->url; ?>"> <img class="logo-name" src="<?php echo $config->urls->templates?>images/logo/re_logo_schwarz.gif" > </a> </div> </div> </div> <!-- _____________NAVGATION_______________ --> <div class="row" > <div class="large-12 medium-12 columns"> <!-- ____________TOGGLE MENU_____________ --> <div class="title-bar" data-responsive-toggle="resp-menu" data-hide-for="medium" > <button class="menu-icon" type="button" data-toggle></button> <div class="title-bar-title" >Menu</div> </div> <div class="top-bar-left" id="resp-menu" > <div class="top-bar-left" > <ul class="dropdown vertical medium-horizontal menu" data-dropdown-menu > <li ><a href="<?php echo $pages->get('/nojs')->url; ?>" >nöis</a></li> <li ><a href="<?php echo $pages->get('/uftritte')->url; ?>" >uftritte</a></li> <li ><a href="<?php echo $pages->get('/bio')->url; ?>" >bio</a></li> <li ><a href="<?php echo $pages->get('/medie')->url; ?>" >medie</a></li> <li ><a href="<?php echo $pages->get('/albe')->url; ?>" >albe</a></li> <li ><a class="current" href="<?php echo $pages->get('/galerie')->url; ?>" >galerie</a></li> <li ><a href="<?php echo $pages->get('/videos')->url; ?>" >videos</a></li> <li ><a href="<?php echo $pages->get('/links')->url; ?>" >links</a></li> <li class="last"><a href="<?php echo $pages->get('/kontakt')->url; ?>" >kontakt</a></li> </ul> </div> </div> </div> </div> <!-- ____________LINIE_____________ --> <div class="line"><hr class="style-two"></div> <!-- _______________MAIN CONTENT______________ medium-8 centred row innerhalb einer large-12 row --> <!-- <div class="row"> <div class="large-12 columns"> --> <div class="row"> <div class="small-12 large-7 medium-8 medium-push-1 columns" id="bg" > <!-- BILDERGALLERIE MIT PHP --> <? echo $page->seitenname; ?> </br> </br> </br> <?php foreach($page->bildergalerie as $image) { $thumbnail = $image->size(180,180); echo "<a href='{$image->url}' class='fancybox' rel='group' title='{$thumbnail->description}'><img src='{$thumbnail->url}' alt='{$thumbnail->description}' ></a>"; } ?> </div> <!-- <div class="sidebar"> --> <div class="small-12 large-5 medium-4 columns" id="bg" > <? echo $page->sidebar; ?> </div> </div> <!-- </div> </div> --> <!-- __________________Foundation Scripts___________ --> <script src="<?php echo $config->urls->templates?>bower_components/jquery/dist/jquery.js"></script> <script src="<?php echo $config->urls->templates?>bower_components/what-input/what-input.js"></script> <script src="<?php echo $config->urls->templates?>bower_components/foundation-sites/dist/foundation.js"></script> <script src="<?php echo $config->urls->templates?>js/min/app-min.js"></script> <script type="text/javascript"> $(document).ready(function() { $(".fancybox").fancybox(); }); </script> </body> </html>
  9. Hi there I'm struggling with my embedded youtube videos. They're too big on mobile. I am using the VideoEmbed module from processwire. I tried this method: http://avexdesigns.com/responsive-youtube-embed/ It works, but for one single video. I have a Textarea with text and multiple embedded youtube-links, and it goes crazy, when I use the above method. Website: http://olikehrli.ch/videos/ My code: <div class="row"> <div class="small-12 large-8 medium-8 medium-push-2 columns" id="bgvideo" > <? echo $page->Videos; ?> </div> </div> Do I have to put these videos in seperate textareas? Thanks for any suggestions Jakob
  10. Thanks a lot! background-color: transparent; did the trick!
  11. Hello I am using the table option from the ckeditor on two sites of my new website project, as framework I am using Foundation 6. I have to present a list of songs, so the table is very practical. Unfortunately the rows of the table aren't transparent , as they were before ( without framework ), and the table doesn't scale down in iphone screen. Any suggestions how to handle this problem? The two examples: http://olikehrli.ch/kontakt/ http://olikehrli.ch/albe/ Thanks Jakob
  12. Thank you for the response I got it working! Put this in the <a> tag title='{$thumbnail->description}' <?php foreach($page->bildergalerie as $image) { $thumbnail = $image->size(180,180); echo "<a href='{$image->url}' class='fancybox' rel='group' title='{$thumbnail->description}'><img src='{$thumbnail->url}' alt='{$thumbnail->description}' ></a>"; } ?>
  13. Hello there Can anybody tell me how I can add captions to the images in my photo gallery using fancybox? I thought I could use the description field, but can't figure that one out. Like this: title='{$thumbnail->description}' My code for the image gallery: <?php foreach($page->bildergalerie as $image) { $thumbnail = $image->size(180,180); echo "<a href='{$image->url}' class='fancybox' rel='group'><img src='{$thumbnail->url}' alt='{$thumbnail->description}' ></a>"; } ?> Thanks a lot Kuba
  14. I had to move the CSS folder into the template folder. It's in the Markupblog folder in the Modules folder.
  15. Hi Kongondo I solved it - render posts works. I had the blog.php code pasted in my own template, and everything from the blog worked except renderposts ( it didn't show the prev posts ). Now I have pasted my html into blog.php and taken blog.php as the template for this specific site. Now it works. Could You tell me what exactly i managed to do wrong in the beginning? I don't quite understand why it works this way round and not the other. Probably something very basic, but I am an almost total php novice. Thanks again Kuba
  16. Great thanks... Now I know where to look. Thank You again for this module! Can't imagine how much time You put into this.
  17. Hi Kongondo I mean the thing in the image ( pagination, right? ) Thanks again
  18. Hi I deleted the Navigation and the sidebars, beacause I don't need them. Example: http://jakubdegler.ch/user3/nojs/ BUT! The paginantion on the bottom does not work, and it also didn't before I deleted the other objects. Is the pagination-code in blog-main.inc? Thanks a lot kuba FOUND SOMETHING: The Pagination doesn't work anymore, when I integrate the code below in my template.... In the Blog Demo it works fine. What am I missing? Thanks I included this Blog-Markup on my ownTemplate: <?php /** * Blog Home template * Demo template file populated with MarkupBlog output and additional custom code for the Blog Home Page * */ //CALL THE MODULE - MarkupBlog $blog = $modules->get("MarkupBlog"); //subnav //we expect only one such page. we do it this way in this demo to accomodate different blog styles $categories = $pages->get('template=blog-categories'); $subNav = $blog->renderNav($categories->title, $categories->children); //main content //number of posts to show on Blog Home Page (pagination kicks in if more posts than limit) $settings = $pages->get('template=blog-settings');//we get this from the settings page. In your own install you can use a more specific selector $limit = $settings->blog_quantity; $content = ''; //Render limited number of posts on Blog Home Page $content .= $blog->renderPosts("limit=$limit"); //include the main/common markup require_once("blog-main.inc"); ?>
  19. Hi I tried, but can't completely delete it. I figured out the problem I had, so there is no need anymore for it. All it takes is a lot of concentration and staring at the the screen until a solution pops up. Thanks for the blog module Kongondo!
  20. I can I try there, thanks. https://processwire.com/talk/topic/7403-module-blog/page-27#entry106717 Great! Thanks for the link! This forum is super!
  21. Hi there My question is a very basic one. I am new to processwire and PHP, so there are big gaps in my understanding of the bigger picture, therefore my question is very elementery. I thougt I knew how to implement this, but I got confused and now I could use some guidance. I managed to create my first website using processwire. It is a website for a musician and he had his previous one on wordpress, which included a blog. Now I want to install processblog and integrate it into my website. MAIN QUESTION: How do I integrate the blog into an existing template file of this website? The blog has to be here: http://olikehrli.ch/nojs/ (the posts are made manually in a textarea field for the moment) Do I use the default style of the blog and then change the CSS according to my design? Does anybody know a tutorial about the required PHP? I am not yet skilled enough to be sure. I can't wrap my head around the problem, don't even know which the right questions are. I would be glad for any suggestions Thanks a lot Jakob
×
×
  • Create New...