sappel
Members-
Posts
72 -
Joined
-
Last visited
Everything posted by sappel
-
Beginners Question: How to get owl carousel (or similar) working?
sappel replied to sappel's topic in General Support
<?php include('./_head.php'); // include header markup ?> <!-- Basic stylesheet --> <link rel="stylesheet" href="/site/owlcarousel/assets/owl.carousel.css"> <!-- Default Theme --> <link rel="stylesheet" href="/site/owlcarousel/owl.theme.default.min.css"> <!-- Include js plugin --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="/site/owlcarousel/owl.carousel.js"></script> <div id='content'><?php // output 'headline' if available, otherwise 'title' echo "<h1>" . $page->get('headline|title') . "</h1>"; // output bodycopy echo $page->body; ?><div class='owl-carousel'><?php foreach($page->images as $image) echo "<img src='$image->url' alt='$image->description' />\n"; ?> </div> <script> var owl = $('.owl-carousel'); owl.owlCarousel({ items:4, loop:true, margin:10, autoplay:true, autoplayTimeout:3000, autoplayHoverPause:true }); $('.play').on('click',function(){ owl.trigger('autoplay.play.owl',[1000]) }) $('.stop').on('click',function(){ owl.trigger('autoplay.stop.owl') }) </script> </div> <!-- end content --> hm k. I got it more or less running! Looks good so far, the only thing I'm thinking about is the dots below won't show up (haven't looked into that yet) and the transition speed might be a little fast... But thanks for now! -
Beginners Question: How to get owl carousel (or similar) working?
sappel replied to sappel's topic in General Support
oh, and before I forget: How can I call all the images from the site with PW methods for the different items of owlcarousel? -
<?php include('./_head.php'); // include header markup ?> <!-- Basic stylesheet --> <link rel="stylesheet" href="site/owlcarousel/owl.carousel.min.css"> <!-- Default Theme --> <link rel="stylesheet" href="site/owlcarousel/owl.theme.default.min.css"> <!-- Include js plugin --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="site/owlcarousel/owl.carousel.js"></script> <div id='content'><?php // output 'headline' if available, otherwise 'title' echo "<h1>" . $page->get('headline|title') . "</h1>"; // output bodycopy echo $page->body; ?> </div> <div class="owl-carousel"> <div class="item"> <h2>Swipe</h2> </div> <div class="item"> <h2>Drag</h2> </div> <div class="item"> <h2>Responsive</h2> </div> <div class="item"> <h2>CSS3</h2> </div> <div class="item"> <h2>Fast</h2> </div> <div class="item"> <h2>Easy</h2> </div> <div class="item"> <h2>Free</h2> </div> <div class="item"> <h2>Upgradable</h2> </div> <div class="item"> <h2>Tons of options</h2> </div> <div class="item"> <h2>Infinity</h2> </div> <div class="item"> <h2>Auto Width</h2> </div> </div> </div> </div> </div> <script> var owl = $('.owl-carousel'); owl.owlCarousel({ margin: 10, loop: true, responsive: { 0: { items: 1 }, 600: { items: 2 }, 1000: { items: 3 } } }) </script> <!-- end content --> Hello everyone, I'm currenty trying to add a nice shiny image slider working on my vineyard site. I have an overview site with all offered/available vines and I have a bunch of images in that site. Now I want to view those images on the frontend in a nice little slider. I found owl-carousel here on the forums to look pretty good and I'm trying to follow this how to: http://www.owlcarousel.owlgraphic.com/docs/started-installation.html It's the new 2.0.0 beta and I like the demo slider with 3 images at a time, and the dots... So what I tried so far, I see the divs/items, but nothing close to a slider appears...so I guess I do something wrong in the beginning and/or I'm way to stupid... Can anyone point me in the right direction?
-
aahh, TextColor and BGColor, thanks alot!
-
Hello everybody, I guess an easy question for you gusys: How can I configure ckeditor to look like here in the Forums? Actually I only need Text Color right now, but I don't know what kind of values I can add to the body input field. ckeditor toolbar settings look like the right place, I just don't know the options...
-
ProcessSlider - Image sliders for ProcessWire
sappel replied to mauricius's topic in Modules/Plugins
EDIT - It works now. Somehow. Really weird, I'll tell you what I did: I was wondering, if there was something wrong with my template.php. So I added a new textfield to my template, inserted some random test text editing the site, then I echoed the following in my template.php: echo $page->get('slider|mytextfield'); And guess what? My slider ID showed up... I removed the changes , and the slider ID kept loading. So I loaded the slider like described in the readme and removed the echoing of the slider ID and the slider actually loads. But it doesn't behave like I want it to, but I problably didn't set up the slider corretly. I'll look into that again. It just shows me a combination off all the slides, no effects, nothing.. -
ProcessSlider - Image sliders for ProcessWire
sappel replied to mauricius's topic in Modules/Plugins
Hi, this looks really great, however I have the same problem like hamzaalibhatti... I installed all the modules, uploaded the jssor libs and when the first try didn't work, I did the following: Add a new field called "slider" type "Slider" (uppercase...don't know, if that's an issue here?) Add the field "slider" to my template "wines" Select the slider I created for the first test in the site using the template "wines" add "echo $page->get('slider'); to my template file wines.php Loading the site doesn't show any slider id. What am I doing wrong? The whole code of my template wines is pretty basic... <?php include('./_head.php'); // include header markup ?> <div id='content'><?php // output 'headline' if available, otherwise 'title' echo "<h1>" . $page->get('headline|title') . "</h1>"; // output bodycopy echo $page->body; // $slider = $modules->get('MarkupSlider'); echo $page->get('slider'); // echo $slider->getStyles($arrows = false, $bullets = false); // echo $slider->render($page->get('weinbilder'), $includeScript = true, $options = array()); ?></div> <!-- end content --> <div id='sidebar'><?php // rootParent is the parent page closest to the homepage // you can think of this as the "section" that the user is in // so we'll assign it to a $section variable for clarity $section = $page->rootParent; // if there's more than 1 page in this section... if($section->hasChildren > 1) { // output sidebar navigation // see _init.php for the renderNavTree function renderNavTree($section); } // output sidebar text if the page has it echo $page->sidebar; ?></div><!-- end sidebar --> <?php include('./_foot.php'); // include footer markup ?> -
Good Morning everyone, I'm trying to understand PW a little more for some new projects I'm currently planing. One projects is an order form I'm trying to develop with Padloper. Now I have a separate product page template for 8 different products/sites. The main content window always includes a description of the product, the price information + add to cart button are placed in the sidebar. Now I want an overview page with all sidebars of all product pages included. In doing so I have two ways to add products to the order list: from the detailed product page and from the overview page. But how can I include the sidebar content of a page (or in this case serveral sidebar contents) into another? Any help is appreciated, regards sappel
-
Order Form / Inquiry Form within a site; no real shop
sappel replied to sappel's topic in General Support
I'll give padloper a try... -
Good Morning all together, I've been using processwire a few years ago for one or two sites, but haven't looked into it for quite some time. Now I'm planing two new sites and I'm not comfortable with Wordpress, which I used in between.. Also for the current projects I didn't find any good solution yet. I need to set up two sites with something like a product catalog and an order / inquiry form. I don't want any shop functionality , because that would involve other legal aspects and we don't want customer data or payment options/data within the sites. The general idea is: Show a catalog with a bunch of products. Visitors can browse the catalog, select several products (if possible with options for some products), add them to some kind of basket, but at the end they don't have a shopping basked to checkout, pay etc, but only a shopping basket to set an inquiry to us. Should the form builder do the trick here and/or how could I set up the catalog? I'll set up my test environment today and start testing, any feedback is appreciated. Thanks in advance
-
Reservations for hotel rooms and restaurant
sappel replied to Marco Angeli's topic in General Support
sounds good, I'll be patient- 19 replies
-
- restaurant site
- online booking
-
(and 1 more)
Tagged with:
-
Reservations for hotel rooms and restaurant
sappel replied to Marco Angeli's topic in General Support
another *push* Anything new around here?- 19 replies
-
- restaurant site
- online booking
-
(and 1 more)
Tagged with:
-
Reservations for hotel rooms and restaurant
sappel replied to Marco Angeli's topic in General Support
hello, any news on the project? I'm curious about a booking system as well. It's for medical appointments...- 19 replies
-
- restaurant site
- online booking
-
(and 1 more)
Tagged with:
-
@ryan: "required if" + "view if" seem to be partly fixed. I just updated to latest dev and have the following behaviour: My current version of the form has a fieldset, which is only visible if a certain box is checked. Within this fieldset, all required fields are shown properly in the editor, but the data in the DB is "null". I have 3 required fields within the fieldset which act like this and I have 3 other fields in subfieldsets, which are only required if another field within the same subfieldset has a value>0. Same behaviour here...
-
I'm not 100% sure wether it is a bug in the field dependies or an issue with form builder: On my PW dev install with form builder plugin installed, I can not set "field only visible if" + "required only if" at the same time. Example: I have field5, which should only be visible if option3 is selected in field4. But if option3 is selected, a value in field5 is required. The combination of both doesn't seem to work. I can select "only visible if", which works fine. But if I put the same condition in the "only required if" option, it doesn't work (field5 won't show up). If I select "only required if", it works fine to, but field5 is not hidden if option!=3 is selected. I hope I made myself clear, having a hard time trying to describe my problems in english properly (although it might also be a bit complex to describe it in german.. )
-
thanks for the link, found it
-
Hello everybody, I bought the form builder module a while ago and currently I'm testing it for a special / internal order form. I've looked around but I guess I'm to blind to see: Where can I find some kind of documentation for the form builder? Most things are self explanatory, but I'm looking for a way to export the entries for further external processing the order, probably libre office base.
-
uh...I've tried the Multi Page Name Core plugin again and this time I think understood it right...so no need for trees anymore, I guess. I'm still figuring out how to do the menu thing etc, but I'll report back asap *Update* Alright. I filled in all the fields, not too much since I only need title + body. Now I read up here: http://processwire.com/api/multi-language-support/multi-language-fields/ and I'm trying to follow Front End Example 2. But I get a error when trying to enter the site: "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Error has been logged." Any ideas whats wrong? Perhabs I should mention, that I'm using double subnamespaces for testing. PW site is subns.domain.com and I followd the example 2 by adding en.subns.domain.com for english and same way for spanish.. Sorry, I'm a bit in a hurry and obviously I'm trying to solve it too fast. Found the problem, I used the wrong URL in head.inc (I linked to language title instead of name; "$languages->get("spanish");" didn't work, "$languages->get("es");" works now!
-
Hello everyone, first of all, I'm not a professional developer or anything, just trying to help some friends out I'm working on a site with only two pages (home + about), like a simple portfolio. But those pages should be available in 3 languages. I've read about the same approach here: http://processwire.com/talk/topic/3074-simple-multi-language-site-best-approach/?hl=%2Bmulti+%2Blanguage But since LLU seems not to be the choice anymore, I'm wondering what's the best solution for the 2 menu items I got (home + about) to pick the equivalent pages of their language, not the default. (see post #6 above) Btw: I didn't create 3 different trees, but I used the root tree as default (german language) and added 2 more trees (spanish + english) with a spanish home + about site and a english home + about site... Is that correct or do I have to add another german subtree? thanks in advance..
-
hm, alright. just some brainstorming: For any kind of taxes another field next to the price with n% of the price should do - or am I mistaken here? The necessary things would be: tax identifier (e.g. VAT) tax rate (e.g. 19%, current VAT rate in germany) One should be able to enable or disable the "tax field" within the product-page-template. When enabled, you need to be able to select the tax you want to show on the product. ...but: I need to set up the product + categories first, right now the general layout is fine, but productcategories + products don't really look like they are supposed to.
-
Hey guys, I'm currently running my first tests with PW...and I just might jump on the PW train, it feels a lot more flexible and clean than other CMS. I'm not a coder or webdesigner, all I do is helping friends and family with their needs But I do have one question regarding the shopping-module: is there any way to show taxes on the cart or even the product page? If I'm using it for my current project, I'll need that...