Forum Replies Created

Viewing 15 replies - 16 through 30 (of 58 total)
  • htb

    (@halinasplace)

    I’ve created a new template love to share it but
    1. it needs the basket module for gallery3 with rest api (which I’ve written)
    2. it needs updates to your plugin to make the data available to the template
    3. it needs WP paypal shopping cart
    but I’ve integrated into wordpress the basket module for gallery which allows payment through paypal for any item in the gallery
    happy to share the code and have it integrated with your module

    htb

    (@halinasplace)

    I’m trying to add a new page but I’ve looked through your code and can’t understand how you switch from album template to page template – could you explain?

    htb

    (@halinasplace)

    your code works differently –
    when i use the wpg3 options page and create a page automatically there
    eg https://blog.halinasplace.net.au/blog/test-3 sub albums do not work and it goes back to the parent….

    When i use the tag <WPG3>1|size|TemplateID</WPG3> in the page the urls are different and it works

    https://blog.halinasplace.net.au/blog/cart

    as aside its still using the default template and the new cloned template
    – try both my pages and see the difference

    htb

    (@halinasplace)

    <WPG3>1|size|TemplateID</WPG3> WORKS! and so does the recursion to the subalbums! Yay!

    Future Requests – I’d like to see the basket module integrated into this plugin (I know it is sometime down the track) but I’ve put in a request on the gallery3 forum pages to have rest included in this module – I’m not strong on php but do have programming experience and will help where I can

    htb

    (@halinasplace)

    debug requests….
    1. sub albums are not being picked up – I’ve left a print_r() on the page – I believe the recursion isn’t right and the data isn’t being populated from the xml data properly
    2. When I change the js
    blocks.height(310);
    blocks.width(250);
    to a fixed value the funny problem of formatting goes away
    3. the template has been renamed as per your instructions – it is being picked up but the default template is still being used
    $myTemplateId = ‘defaultTemplate_default_’.$data->entity->type;
    maybe i’ve missed something

    Thank you

    htb

    (@halinasplace)

    I cloned a copy of your templates and put them in a directory
    /home/bonneyp1/public_html/blog/blog/wp-content/wpg3-templates/
    as required by the wpg3 options page but it is not being picked up

    htb

    (@halinasplace)

    nothing wrong with the above code – new template is not being picked up

    htb

    (@halinasplace)

    what’s wrong with this code and why isn’t it formatting the date properly

    $format = “d F Y H:i:s”;
    $updated = date($format,$item->entity->updated+25200);
    $created = date($format,$item->entity->created-25200);
    $html .= ‘<table class=”datatable”>
    <tr><th colspan=2>Photo Information</th></tr>
    <tr><td>Description</td><td>’.$desc.'</td></tr>
    <tr><td>Date Photographed</td><td>’.created.'</td></tr>
    <tr><td>Date Updated</td><td>’.updated.'</td></tr>
    <tr><td>Dimensions</td><td>’.$item->entity->height.’x’.$item->entity->width.'</td></tr>
    <tr><td>Link to full photo</td><td>entity->file_url_public.'”>Here</td></tr>
    </table>’;

    htb

    (@halinasplace)

    chgd to wp-jquery-lightbox plugin and all works well for linking to images when they are albums

    htb

    (@halinasplace)

    added css for the datatable to center it

    htb

    (@halinasplace)

    date photgraphed and date created on image page needs to be formatted – tried to format it with the date function but its not working

    htb

    (@halinasplace)

    if I have jquery lightbox plugin installed then it things the albumm thumbnails are images and tries to open it without success

    htb

    (@halinasplace)

    sorry for all the posts… testing….

    problem with the formattiing of album pages – if I set a constant value in your js then it formats nicely from page to page in firefox at least (haven’t looked in other browsers yet)

    htb

    (@halinasplace)

    is this right?????????
    if (!empty( $child->members ) ){
    $child_array[“members”] = $child->members;

    $child_array[“members”] = $this->get_slugs( $child_array );

    }else{
    $child_array[“members”] = false;

    htb

    (@halinasplace)

    going even further
    public function get_slugs( $item ) in xhhtp
    does not list subalbums either
    is your recursion right?

Viewing 15 replies - 16 through 30 (of 58 total)