htb
Forum Replies Created
-
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??going even further
public function get_slugs( $item ) in xhhtp
does not list subalbums either
is your recursion right?Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??print_r($this->wpg3_options[‘g3RewriteArray’]);
going further the subalbums are not listed in this array
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??foreach ($rewrites as $the_rewrite_obj){
print_r($slug);
if ($slug == $the_rewrite_obj[‘slug’]){
$itemId = $the_rewrite_obj[‘id’];
$rewrites = $the_rewrite_obj[‘members’];
array_push ( $parent_urls , array(‘/’.$the_rewrite_obj[‘slug’] , $the_rewrite_obj[‘slug’] ));
print_r($itemId);
}
}
if ( $rewrites[0][‘slug’] == $slug ){$itemId = $rewrites[0][‘id’];
$rewrites = $rewrites[0][‘members’];
print_r($itemId);
}neither of the above if stmts are being met and the id is not being incremented
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??oops i mean the wrong item id
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??the wrong parent is being passed to the album template:)
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??your slugs don’t seem to be the issue as it is picking up the write url and rewriting it but the album content is wrong – I’ve put print_r in various places and it shows up ok – any requests on where to put the print_r in the code?
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??so the first album always works properly and subsequent albums do not.
also nested albums don’t work either ….hope this helps a little further!Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??I’ve removed that code (jQuery(document).ready(function(){ $(“a[rel=’zoom’]”).colorbox({slid etc)
it was causing errors
but when I clear the firefox cache it works for a little while on the first album….ps you mean I have to go through all the javascripts and all the code and replace it – thats a lot of work
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??Well I’ve cleared all the errors and I’m still getting the same problem with your jscript not being called unless I do a refresh – I’ll keep looking – any hints?
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??never mind – I’m solving the errors – but when it does work I notice if I have albums nested within each other then it doesn’t go down another level
eg if you try out and go to postcards there is another subalbum – clarendon st – if you click this – it doesn’t go to the sub albumForum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??Error: $(document).ready is not a function
Source File: https://blog.halinasplace.net.au/blog/test-3/Postcards/
Line: 227when running your script – so how do I solve this again running jquery instead of $(…) – how do I go about doing that ? sorry I haven’t come across this issue before….
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??I have plenty of warnings in my error console it would be hard to say where the conflict is…. I do however have this statement in my themes default css
#content .post .gallery {
overflow:hidden;}
I’m playing around with it at the momentForum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??weird behaviour with default template – the styling seems to change on a refresh of the page – can’t seem to find the problem
https://blog.halinasplace.net.au/blog/test-3/
before I use this as a default and copy t to make another one would like to get the default working properly
Forum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??got it working not in a post but a page
https://blog.halinasplace.net.au/blog/test-3/
now I’ll do some formatting of the cssForum: Plugins
In reply to: [WPG2] [Plugin: WPG2] WPG3 ??please explain where I get a rest API key to put into the configuration …
and please explain the G3page optionsthanks