We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20644
    • 37 Posts
    >Newton

    Sorry,I don’t explain detail how to use scpecific item on ImageBlock...

    For example...

    You want to call ItemID=17 on ImageBlock
    [!ImageBlock? &itemId=`17`&blocks=`specificItem`&show=`title|date|views`!]
    This image link to g2 directly.
    If Full Embeded page(Gallery Snipet page) is id=2 on modx,
    [!ImageBlock? &pageid=`2` &itemId=`17`&blocks=`specificItem`&show=`title|date|views`!]
    It link to the page embeded [!Gallery!].

    The Gallery Snipet and ImageBlcok is based on GalleryEmbed.class of G2.

      • 20644
      • 37 Posts
      >kumazatheef
      Thank you for your develope.
      I tested your code on G2 2.2.1,but I got strange layout..
        • 10534
        • 40 Posts
        Is there still any life left in the development of the module? (seeying that the last post dates back some while ago....)
          • 25483
          • 741 Posts
          Does someone have problems with the upload manager for windows xp?

          It does not work here if I use it with the embedded site, if I use it from the unembedded version it works perfect (same installation)

          Does someone know how to fix this?
            with regards,

            Ronald Lokers
            'Front-end developer' @ h2o Media

            • 7523
            • 2 Posts
            I’m sorry for my stupid question but i can’t resolve that error:

            PHP error debug
              Error: 	require_once() [function.require-once]: open_basedir restriction in effect. File(/embed.php) is not within the allowed path(s): (/home/koguy/:/usr/lib/php:/usr/local/lib/php:/tmp)	 
              Error type/ Nr.: 	Warning - 2	 
              File: 	/home/koguy/public_html/manager/includes/document.parser.class.inc.php(766) : eval()'d code	 
              Line: 	22
              • 25483
              • 741 Posts
              Quote from: dISmAG at Oct 29, 2007, 12:21 AM

              I’m sorry for my stupid question but i can’t resolve that error:

              PHP error debug
                Error: 	require_once() [function.require-once]: open_basedir restriction in effect. File(/embed.php) is not within the allowed path(s): (/home/koguy/:/usr/lib/php:/usr/local/lib/php:/tmp)	 
                Error type/ Nr.: 	Warning - 2	 
                File: 	/home/koguy/public_html/manager/includes/document.parser.class.inc.php(766) : eval()'d code	 
                Line: 	22


              Open_basedir is enabled on your server. You have to ask the server administrator to disable open_basedir for the folder you are using
                with regards,

                Ronald Lokers
                'Front-end developer' @ h2o Media

                • 7523
                • 2 Posts
                shutte they can’t disable Open_basedir option because the server is shared, any other suggestions?
                  • 29107
                  • 9 Posts
                  Hello,

                  I am using MODx 0.9.6 with the Gallery 2.1.2 ( i first installed the latest stable, but found out that that wouldn’t work)
                  Either way,

                  The gallery is shown at my page, but the administration section is not really.. working rolleyes
                  When i click on Modules -> Gallery i get the page with import/export and admin.
                  When i click the admin link, the gallery "frontpage" loads, but without images because the CSS files are called with:
                  <link rel="stylesheet" type="text/css" href="/manager/index.php/themes/siriux/theme.css"/>

                  When i click a random link, for instance the link to the G2 Admin panel, I get a error stating: "No input file specified." (which is a MODx error I guess)

                  Any way to fix this?
                    • 10190
                    • 187 Posts
                    Hi,

                    I updated my gallery snippet to the recent 1.1.2, using the web based install procedure. On my testserver everything went fine, but on the live installation I get an error:

                    PHP error debug
                    Error: Unknown(/html/gallery2embed.php): failed to open stream: No such file or directory
                    Error type/ Nr.: Warning - 2
                    File: /html/manager/includes/document.parser.class.inc.php(769) : eval()’d code
                    Line: 24

                    Obviously the path is wrong, it should be /html/gallery2/embed.php

                    But if I change the module config in the manager from Gallery Path /html/gallery2 to /html/gallery2 (trailing slash), I get an almost empty page stating

                    Error (GALLERY_SUCCESS)

                    * in at line 0

                    Any clues?

                    You can take a look at http://p26273.typo3server.info/index.php?id=7

                    Kind regards
                    Frisco
                      • 25979
                      • 178 Posts
                      got the same error. I have corected path in snippet code, but as i am not a programmer i do not really know what eval()’d code means wink

                      Looking forward for some help smiley

                      regards,

                      salik
                        //Why use windows since there is a door?//