bellechan
Forum Replies Created
-
Forum: Plugins
In reply to: [CataBlog] Navigating between secondary images in the lightboxSorry, I forgot! Now it is marked as resolved ??
Feel free to use any of this information to create your tutorial!
Forum: Plugins
In reply to: [CataBlog] Navigating between secondary images in the lightboxHello,
Sorry for the late reply, but I wanted to wait until it was all done before answering so I could report what I did, just in case someone wants to do the same. Maybe there is a better way of doing it… but this worked for me :
1. Used the single-catablog-items.php option and used this in the single template :
<div id="catablog-photo-viewer"> </div> <div id="catablog-thumb-list"> %MAIN-IMAGE% %SUB-IMAGES% </div>
2. Did not activate the plugin’s lightbox, but used the one from my theme (PrettyPhoto) by adding the necessary code (class=”prettyphoto” and ?iframe-true so the lightbox can open the single item page) in the default template:
<div class='catablog-row %CATEGORY-SLUGS%'> <div class="catablog-images-column"> <a href="%PERMALINK%?iframe=true&width=100%&height=600" class="prettyPhoto catablog-image" title="%TITLE%"> <img src="%IMAGE-THUMBNAIL%" alt="%TITLE%" /> </a> </div> <h3 class='catablog-title'>%TITLE-LINK%</h3> </div>
3. Used the CSS to position the thumbnails and used a bit of javascript to be able to switch from one picture to another in the larger area (photo viewer) :
<script> jQuery(document).ready(function() { jQuery('#catablog-thumb-list a').click(function(evt) { evt.preventDefault(); var imgPath = jQuery(this).attr('href'); var oldImage = jQuery('#catablog-photo-viewer img'); var newImage = jQuery('<img src="' + imgPath +'">'); newImage.hide(); jQuery('#catablog-photo-viewer').prepend(newImage); newImage.fadeIn(1000); oldImage.fadeOut(1000,function(){ jQuery(this).remove(); }); // end fadeout }); // end click jQuery('#catablog-thumb-list a:first').click(); }); </script>
I think that’s it… Seems to work pretty well. ??
Forum: Plugins
In reply to: [CataBlog] Navigating between secondary images in the lightboxHello mbrsolution,
I was using the unmodified gallery template to make my tests…
The point 5A in your post made me realize it was just a question of using %PERMALINK% instead of %LINK%. Thank you for that hint.And I have managed to make the permalink open in my theme’s lightbox so all is good. All I have to do now is figure out how to make the single-catablog-items.php template to show what I want ??
Thank you for pointing me in the right direction!
Forum: Plugins
In reply to: [CataBlog] Navigating between secondary images in the lightboxSo I’m testing different things to see how I could use the single template, but I can’t seem to be able to make the link of the thumbnail to go to the single page. Instead it links directly to the original image. If the lightbox is activated, it opens the lightbox with the same template, if not, it bring to the original media file.
It is currently set as the gallery template, so I have the code ‘‘ in the template. If I turn off the lightbox, shouldn’t the %LINK% token bring me to the single page instead of the media file?
This is what I had understood from this comment on the catablog site: https://catablog.illproductions.com/2010/11/help-lightbox-is-not-working/#comment-794
Thank you!
Forum: Plugins
In reply to: [CataBlog] Navigating between secondary images in the lightboxHere are two JPEG of mock-ups I had made to show the client how it could look like :
Catalog: https://db.tt/SWa9s5FE
Lightbox: https://db.tt/Zp64tvARForum: Plugins
In reply to: [CataBlog] Navigating between secondary images in the lightboxHello mbrsolution, thank you for your quick reply. Here is the link of my test page : https://www.tapisandreviau.com/fr/salle-exposition-virtuelle/
I have already copied my single.php and archive.php and renamed them accordingly as a test : https://www.tapisandreviau.com/fr/echantillon/5488/
But I wasn’t sure where to go from there or if it even was the right option to pursue.
Thank you for your time and pointing me in the right direction ^_^
Forum: Plugins
In reply to: [Restrict Widgets] Warning messages in sidebarThank you for your quick reply!
Haa! thank you so much ?? Turns out the only call to wp_nav_menu was in the header.php. I was able to see there that the menu id was really top_menu, but it’s “theme location” was top-menu… Thank you again!!
Yes, it seems like it… I have tried “top” and “top_menu” instead of “primary” in the code, but it doesn’t make it work. It is currently set as “top_menu”.
Thank you for your quick reply.
This is the site I am trying to put the language switcher on : https://www.prestigeexperts.com/fr/ . I have searched in the source code to see if anything was there but was not showing in the page, but there is nothing. I am using a bought theme, maybe there is something conflicting?
I have activated the widget feature in the footer so you can see that this part is working properly.
Ideally I would like to have the description link (no flag) in the secondary menu on the left (beside “Accueil | Contact”).
Hi, I am also trying to put the switcher in the menu. I copied the code “as is” (except that I changed the menu name) in the functions.php file of my theme but absolutely nothing happens. Did I need to change, add, remove anything from the code? (I don’t know PHP so can hardly figure it out just with the instructions given). Is there something I can do to check why it’s not “acting on” the function?
I am pretty sure that the plugins’s settings are all ok since the widget works if I activate it. Thank you!
Forum: Plugins
In reply to: AZ Index and WordPress 2.8Im using WP 2.8.4 and the AZindex is not working for me :/ It seems to be very random to me if I compare what people are saying in this thread
Since it seems to be different for everyone, I was thinking… maybe it has to do with another plugin that is either installed or absent…What do you think? I have barely any plugin installed yet, so Im thinking maybe I have something missing.
Forum: Fixing WordPress
In reply to: Categories with same nameI like the solution of putting Categories in the top level of the menu and use tags for the sub levels, but how do you do this?
I have search on google and haven’t found a how to for this solution :/
Thank you