Announcement

Collapse
No announcement yet.

Miva link presented when clicking Wordpress gallery images

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Miva link presented when clicking Wordpress gallery images

    I'm probably spitting in the wind here, but don't know unless you try:

    Miva is our host, and we have a Wordpress site located outside of the mm5 folder. Specifically at httpdocs /blog, and of course our mm5 folder is at /httpdocs/mm5. We also have a photo gallery plugin from 10web, and to top it off, we have the plugin Gallery Custom Links, which I thought were the culprits. But, alas, no.

    The problem is that when clicking on an image in the gallery, it takes me to an Under Construction page with a URL of https://DOMAIN-NAME.com/mm5/#bwg3/another-number. The trouble is that the Miva application does not contain the blogs images. Hence, the error.

    I've looked into everything imaginable: htaccess, plugins enabled/disabled, Google searches and more until my head is black and blue from hitting it on the keyboard.

    Help? Advice?

    Jamie

    Jamie Donaldson
    JSDVS Web Design / Development
    Web Design | Web Development | E-commerce Design & Integration

    #2
    I took a look, but based on the actions that are occurring it appears to be a JS or CSS issue, which is why our support needed to get it over to a web developer. In webdev tools I traced it down to the div element that contains the images, but the action clicking causes is being defined elsewhere. I have a feeling there's something amiss with the code the gallery us using where it expects something to be showing in the visible URL of the page other than what's there, it tries to append an image reference on the end with the /#bwg3/88 or similar, but that isn't valid at that point.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment


      #3
      Thanks for the reply David! I'll also look into what you said to see if it is something I can do something about. That gallery app worked until not long ago...I am thinking about the time of the partitions for the images came up. Don't know if that is right.... I may be wrong.

      It may be beyond me, but I have to give it a whirl.

      Jamie
      Jamie Donaldson
      JSDVS Web Design / Development
      Web Design | Web Development | E-commerce Design & Integration

      Comment


        #4
        Originally posted by ILoveHostasaurus View Post
        I have a feeling there's something amiss with the code the gallery us using where it expects something to be showing in the visible URL of the page other than what's there, it tries to append an image reference on the end with the /#bwg3/88 or similar, but that isn't valid at that point.
        Why would the gallery plugin append with /mm5/ when the blog is not even in that location? Just wondering.

        Jamie Donaldson
        JSDVS Web Design / Development
        Web Design | Web Development | E-commerce Design & Integration

        Comment


          #5
          Possibly related to the rewrites for not found and/or URI management
          David Hubbard
          CIO
          Miva
          [email protected]
          http://www.miva.com

          Comment


            #6
            Originally posted by ILoveHostasaurus View Post
            Possibly related to the rewrites for not found and/or URI management
            Wouldn't .htaccess contain that? I checked both Miva and Wordpress htaccess files.
            Jamie Donaldson
            JSDVS Web Design / Development
            Web Design | Web Development | E-commerce Design & Integration

            Comment


              #7
              Since the issue is CSS/JS related, it's something a web developer looking at the actual code would need to determine, not something we'd be able to solve conceptually in the forum as it's a site-specific issue and that code on the site is pushing the browser to make an invalid request.
              David Hubbard
              CIO
              Miva
              [email protected]
              http://www.miva.com

              Comment


                #8
                Well, thought I'd just update this post in case anyone has the same issue (don't know if that is likely, but you never know). Anyhow, this is what the gist of the issue is:

                Support states the issue comes down to the Wordpress gallery plugin's javascript, in which they say the plugin uses a javascript function that is supposed to replace the browser's URL with one that includes a hash as I've shown in my posts above. They state the hash represents the clicked image's ID. However, it does not work with how Miva Design's created header is sent. They state that they can't fix the plugin's js but should be able to modify their created header by modifying all of the images and links sent in the Global Header/Footer templates and have them use absolute URLs and not rely on the base href tag in the head tag.

                Issue solved. Hope it helps someone if they have the issue.

                Thanks to all that replied.

                Jamie Donaldson
                JSDVS Web Design / Development
                Web Design | Web Development | E-commerce Design & Integration

                Comment

                Working...
                X