Jump to content

Search the Community

Showing results for tags 'single page'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 6 results

  1. Hi everyone, I am new to processwire, but really appreciate the way its works. Thank you Ryan. I need your help guys, any help would be appreciated, as i am searching the forum since last 1 month. but couldn't found out how to achieve. My issue is as my user registers on my website, it will be assigned a role. eg Register but what i want to achieve is that after login i want user to have edit profile , logout and Add Page. But i want user to add only one time, only single page can be post by him. if user adds the page, and login into account it must show edit page. Please help me guys.
  2. Hi, Just started using PW and really love it. I've started to create my own template and was hoping I could get some advice on how best to go about my project. I've created a one page website which uses HTML, CSS and Javascript and want to convert this over for use with PW. The concept is fairly straightforward, it's a series of module blocks of HTML which I can move to alter my layout. Here's an example of the structure: Header Page1 Module1 Module2 Module3 Page2 Module1 Module2 Module3 Footer Page 1 and 2 are essentially <div> containers and each module is also contained in it's own <div>. My understanding of PW is the code for each module I've created would get wrapped into various custom Template Files which could then be positioned as required within the page Template. Is this correct? I plan to use this layout for multiple sites so I also wanted to know if it was possible to create the module blocks in such a way that they could easily be installed/ported across to another site? Any advice or links to creating this setup would be greatly appreciated.
  3. AndZyk

    NexWafe

    This is a image and animation heavy single page for NexWafe, a spinoff of the Fraunhofer Institute for Solar Energy Systems (ISE) based in Freiburg, Germany. The sections were realized with Flickity carousels to separate the content into slides. The site features various animations, like parallax separators, fixed lines and two large animations to illustrate the process and production. The animations were realized using ScrollMagic in combination with GSAP. Challenging was to keep the site performant by lazy loading almost every image and disable animations for mobile devices. www.nexwafe.com Modules used: ProCache Markup Sitemap XML Email Obfuscation (EMO) Tracy Debugger Regards, Andreas
  4. AndZyk

    Langenbachhof

    This is a single page for an old farmhouse deep in the Black Forest, which you can rent for seminars or as a weekend getaway. When visiting the site first you can slide through three full sized background images. To access the main content you can either click the logo, the toggle icon or the container. The content mostly consists of accordion elements, but in the section nächtigen there is also an calendar (using the new Google Calendar Markup module) and an reservation form included. www.langenbachhof.de Modules used: ProCache PageTable Extended Google Client API Google Calendar Markup Markup Sitemap XML Tracy Debugger Email Obfuscation Regards, Andreas
  5. Hey guys, I struggled about half a week, okay wasn´t the only thing I´m on..but I´m not getting it. I´m working on a little page with a little shop, just a few books. Of course I know Apeisas shop, but it doesn´t support tax out of the box right now and I want to have the whole shop with cart and checkout on a single page and I had half of it already working with jquery but wanted to have something more scalable. While trying to get it on my own I´m digging more into php and PW Blabla I have a template called order. My plan is to store the cart in order page like "Cart 12.5.2014" and name it to "Order 12.5.2014" when checkout is completed. The choosen cart items are stored in a repeater "order_items" with fields "order_qty" and "order_product" (page fieldtype) Everything works fine. First time the customer is adding an item to the cart the system will create the page and add the product to the repeater. I´m storing an individual id in the session which will be the name (path) of the page so I can check if one is already existing and just add more items to it. Once the customer is ready and fills out the order form, the page gets updated his name and stores the address information and the id in the session gets deleted so the order is kind of locked. The only problem is, I´m not able to update the item list properly. Either each time the customer adds item 1 to the cart it creates a new repeater or it changes only the qty of the first and only repeater even when he adds another item to the cart Because I´m not a 100% sure what I´m doing it´s more like trial and error. This is my last working code where it´s updating the same repeater item every time if($input->post->addtocart) { $sid = $session->sid; $order = $pages->get("name=$sid"); $order_items = $pages->get("name=$sid")->order_items; if(!$sid) { $order = new Page(); $order->parent = $pages->get("/bestellung/"); $order->template = 'order'; $order->title = 'Warenkorb '.date("d.m.Y - G:i:s"); $session->set('sid', str_shuffle(session_id())); //str_shuffle to prevent problems when customer finishes an order and want to make another order $order->name = $session->sid; $order->save; } if(count($order_items)) { foreach($order_items as $items) { if($items->order_product = $form_addtocart[item]) { $items->of(false); $items->order_qty += $form_addtocart[qty]; $items->save(); break; } } } else { $order->of(false); $order_items = $order->order_items->getNew(); $order_items->order_qty = $form_addtocart[qty]; $order_items->order_product = $form_addtocart[item]; $order_items->save(); $order->save(); } } // end addtocart On the one hand, I´m understanding what happens. On the other I have no idea what´s going on. Maybe there are a lot of improvement possibilities on my code haha. Uh, I thought about customizing the events fieldtype to store the items, but I thought repeaters are easier for the beginning. Maybe tailored events field will be the next version of the shop. I really hope there is an easy solution for this "little" thing. Maybe I missed the right search terms. Cheers and a nice evening to all EDIT: Forgot to mention, that I know, that the "if(count($order_items))" is not a good way, because once there is an item in the cart it´s true And I already tried in_array() and array_search() but couldn´t get it working :-/
  6. Hi, I am a newbie to programming and I am developing this site for a client of mine(WIP) : http://greenpantry.in/test820fcec/ It is a single page site, where the content is divided into sections. I want to know if it would be feasible to use Processwire to manage the content of the site. From what I have read, processwire's templating system is based on pages. I want to know if the client will be able to edit each section individually from the admin panel, as I feel creating a single long template for the page will be kind of messy. 'our platters' and 'gallery' are the two sections they want to be able to update. Btw PW looks so fresh and this is probably a trivial thing to execute. I just wanted to be sure it was possible before i dive in. If this is possible, any pointers as to where I can start will also be very helpful as I am just now beginning to go through the docs/videos. Thank you!
×
×
  • Create New...