Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Vincent Mimoun-Prat

    (@vprat)

    Hi,

    You’d have to customize the templates. Please refer to the documentation to know more about that topic: https://customer-area.marvinlabs.com/documentation

    Thread Starter eavinu

    (@eavinu)

    Hi Vincent,
    Thank you for your reply.

    I did create “customer-area/templates” folder in my child-theme.
    Found that the main page shown to the customer after the login page is managed by the file customer-page.template.php.

    Now in this page it has this line:
    $this->print_page_content( $args, $shortcode_content );

    I assume that this is the line that creates the content of the page.
    I have a private page made for example and also a private file, for some reason at the moment I can only see the link to the page and not to the file for some reason.

    I have debug mode on, and found that the file customer-private-pages-content.template.php has the following:

    while ( $content_query->have_posts() ) {
    				$content_query->the_post();
    				global $post;
    
    				include( $item_template );
    			}

    How should I update it or actually modify the $content_query or $item_template to include the files, and also to show the categories instead of the pages?
    Am I in the right direction?

    Plugin Contributor Vincent Mimoun-Prat

    (@vprat)

    Hi,

    customer-page.template.php is a template used by all pages in Customer Area. There are templates more specific to the Dashboard (did you enable debugging information for templates?)

    You may want to have a look at customer-private-files-content-item-dashboard.template.php instead ??

    Thread Starter eavinu

    (@eavinu)

    I only now noticed the widgets of CUAR, maybe you should write about it in the documentation or highlight it better, when I read the documentation I didn’t see anything about it…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘private category pages’ is closed to new replies.