Adrian
Forum Replies Created
-
the caption template is that legacy ones. So you are tell me that at the moment you have no native support in new design unless you pay for it.
I was trying to not to touch the old legacy parts if at all possible, or modify the code. If this is my only route then I will have to use it and since I now the old templates do not support posting wordpress shortcuts in the title description i will need to change to something similar to following i tried in imagebrowser layout on the told version
<div class=”ngg-imagebrowser-desc”><p><?php echo $image->description ?></p></div>
the code too
<div class=”ngg-imagebrowser-Product-Item”><?php echo $image->ngg_custom_fields[“Product-Item”]; ?>
I have another question I would like to be able to add following below which is part of a plugin called “WP Ultra simple Paypal Cart”
[wp_cart:Loan Tree:price:[SIZE|6×4 – £10,10|7×5 – £20,20|8×6 – £30,30|9×5 – £40,40|12×8 – £50,50]:end]
This will allow me to create a drop down box with different sizes and prices + a button to select. Now if I added this to description field it will display when you click on the photo but as text only in lightbox as that’s how it interprets it not as wordpress shortcut and the same happens in image browser.
When I started working on this on the old nextgen plugin I only managed to get it work via using this customer code in the php for image browser
<div class=”ngg-imagebrowser-Product-Item”><?php echo $image->ngg_custom_fields[“Product-Item”]; ?>
which displayed the contents of a custom field added using “custom field plugin” Problem is that image browser is not a very pretty way to display things since it constantly reloads the page with each photo and moves from buttons at the bottom back to the top of page every time you click forward or back not really using ajax at all from what i can see despite turning it on.
Would there be anyway to get this plugin to show properly in lightbox effect
Right to make sure i had not made a mistake I removed all galleries and images and recreated just one gallery with some images all landscape shape . This has now fixed the overlap issue
Thanks for the advise
Currently its on a local drive only Il post a link to an inage uf that’s any help when I get in
Bump please can anyone tell me how I can ajax to update page without reloading image browser while at the same time allowing my short codes to work.
Forum: Plugins
In reply to: [Cyclone Slider] Feature Suggestionstrange worked for me in conjunction with default template I’ve been doing a lot of work to my site off-line so maybe something else I change as well
Forum: Plugins
In reply to: [Cyclone Slider] Feature SuggestionYes this can be done and will work properly in firefox, chrome, safari , and IE 9+. Note < IE 8 does not support this is a workaround but although this does work here you can’t have transparent images which you will have for forward and back buttons.
You will need to edit the following CSS file
wp-content\plugins\cyclone-slider-2\css\common.cssfirst heading should be .cycloneslider{ at the bottom add the following to the file and adjust accordingly.
background-color:#E9E9E9; box-shadow: 0px 0px 20px #000; -moz-box-shadow: 0px 0px 20px #000; -webkit-box-shadow: 0px 0px 20px #000;
I would have thought you should do this in the template file but could only get it to work here.
As for the random transitions I don’t know since I happy with just a normal fade
For anyone else wishing to fix this issue came up with this solution workaround
if(strcmp('page-fullwidth-no-title.php', substr(strrchr(get_page_template(), '/'),1))): if ( ! get_post_meta( $post->ID, 'hide_title', true ) ) { the_title( '<h2>', '</h2>', true ); } endif;?>
This code needs to go php which creates the pages In my case this goes into loop-page.php. Basically it tells wordpress to not display page title if it matches a certain page template. I take no credit for this part of the code strcmp(‘page-fullwidth-no-title.php’, substr(strrchr(get_page_template(), ‘/’),1)) since I found it on another post
I then need to configure gallery.php to display the page title instead. Just before the foreach loop.
<H2> <?php echo get_the_title(); ?> </H2>
Now when wordpress imagebrowser overlays it’s self on the gallery page there is no title for gallery to be displayed as this is only being done via gallery.php
On further instigation it may not be obvious to anyone looking at this post how the imagebrowser part of nextgen is working for me.
I under stand that you can use imagebrowser via shortcode on a page. However mine activates when you click on an image from the gallery at this point it post the image into the page just used for the gallery with title of the gallery rest of the gallery remove. I wish to either remove the title of page when using imagebrowser or redirect it to another page with a blank header.
Neither of which I can figure out how to do.
Still not sure how to get rid of this. I’m wondering if I need to point the code that generates the imagebrowser view to a page with out a title. AS I know removing the title from the page works however I need that title as it’s the name of the gallery which does need to be shown when you are looking through that gallery but not once you have selected an image.
The current process use the previous page E.g the on you have just come from.
ANY HELP PLEASE!
Forum: Plugins
In reply to: [DukaPress] [Plugin: DukaPress] dding add to cart button in a nextgen galleryNow using the ultra simple paypal shopping cart. Able to add this to a custom field in nextgen create using the custom field plugin. Modified the php code for nextgen to display the new field.
Then just added the code for the paypal plugin to field in the gallery section. This now allows me to vary the price of photo based on the size customer selects
Managed to do this using CSS hover function works fine in all but < IE 8 lower just popup little more crudely.
Forum: Plugins
In reply to: How to get jquery script to run in php codeissue fixed in other ways
Fixed my self by modifying css script and an issue that was being caused by Nextgen PHP code
Thanks for the reply I had Wp-photo installed and this caused the issue. Having played with the settings more I’ve been able to make it look much better. Though I’m right in thinking that this plug-in in opens any photo and does not allow to choose which ones.
I’ve also notice that on the default theme it popup behind the image in header bar not sure if this will happen on the theme I going to be using.
I really want to find the best way to add a shopping cart to the gallery of photos I was thinking it would be nice if I could add a button on each picture or at least a way to select that item. in thumbnails behind I’m going to put shopping cart set-up on the right so some way of link this in would be great but I’ve yet to look at which works best