Posts by chopperoon

    Hi,


    Just to add a little more info to this. I can loop over an array of language options to build a sitemap for multiple blogs using the following:



    And I'm using a similar foreach loop with perch_collection which is returning exactly what I'm looking for.


    But using a foreach loop with perch_pages_navigation and navgroup isn't getting the expected output.


    Any help would be much appreciated!

    Hi,


    I'm building a sitemap for a multilingual site that contains a set of navgroups with slugs en-discover-nav, es-discover-nav and fr-discover-nav. I can get the output I need by calling each navgroup individually e.g.


    Code
    1. perch_pages_navigation(array(
    2. 'template' => 'sitemap.html',
    3. 'navgroup' => 'en-discover-nav',
    4. ));

    But I'd like to loop over the language options instead to do this more programmatically. I've tried the following, but I don't get the expected / hoped for output. Instead I get just the very top level of the site navigation, and nothing from the navgroups.

    Code
    1. $langs = array('en', 'es', 'fr');
    2. foreach ($langs as $lang) {
    3. perch_pages_navigation(array(
    4. 'template' => 'sitemap.html',
    5. 'nav-group' => $lang . '-discover-nav',
    6. ));}


    I'm using a similar loop with perch_blog_custom and perch_collection and I'm getting the results that I'm looking for.


    Is there a reason why this won't work with perch_pages_navigation? Is there something wrong with my approach?


    Many thanks in advance for any feedback or help.

    Hi there,


    I have a project coming up with a members / login area and I'd like to check if the Members App can provide the functionality that is required.


    Users should be able to sign up and add additional profile information (interests, affiliations etc), and when signed in they should be able to view and search or filter a list of all other members.


    Is it possible to output listings of all members? And possibly search or filter on them?


    I know I'd have no problem displaying and filtering the data from a Collection, so if this isn't possible from within the Members App, would it be possible to push data from Members into a Collection? Would that be a reasonable approach to investigate?


    Many thanks in advance for any advice.

    Hi,


    I have a project for bike rentals and I'd like to use Perch Shop for this.


    A user would typically wish to rent one or more bikes for a number of days, along with a number of possible accessories for the same period.


    In an ideal world I'd like to manage availability of the products within Shop using a calendar of some sort, but as I understand it Shop has no native mechanism to handle availability (e.g. via an availability calendar). Is this correct?


    Leaving aside the question of availability, is there a mechanism within Shop to handle the purchase (rental) of a product for a specific number of days? So could I assign a multiplier (number of days) that is subsequently applied to the cost of every item in the cart (i.e. bikes and accessories)?


    And a further question... is it possible to use Shop with deferred payment? So essentially using Shop to store the user's order request but not process any transaction, with a later possibility of requesting payment from the user later?


    Many thanks in advance for any feedback or suggestions!