ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problems in Calling Up Weblog Entry Data Via a Lightbox

July 04, 2007 1:28pm

Subscribe [2]
  • #1 / Jul 04, 2007 1:28pm

    sm9

    352 posts

    Hi there,

    I’ve got an issue with trying to get a flash graphic/application to open in a lightbox effect, and wonder if someone could help me please.

    The issue is that I can’t get the EE page to open when loading it in a lightbox. I’m getting an “Invalid URI” error message.

    First of all, this is the product page URL (products weblog, and plant-pot is the weblog entry) that loads fine:

    .../index.php?/products/plant-pot/

    And this is the code the I’m using to try and call the lightbox - to open an iframe with a seperate page in a thickbox - the ‘segment 2’ code is meant to call up the product weblog entry:

    <a href="http://index.php/products/large_view/{segment_2}?KeepThis=true&TB_iframe=true&height=400&width=600" title="Flash Graphic" class="thickbox">Open Flash Graphic</a>

    And this is the URL for the plant-pot product when used with the code below:

    .../index.php?/products/large_view/plant-pot?KeepThis=true&TB_iframe=true&height=400&width=600

    Obviously, I’m not calling it up properly, but wonder how I can achieve this?

    Thanks for any help,

    Ste

  • #2 / Jul 04, 2007 10:34pm

    Sue Crocker

    26054 posts

    I’d try something like this:

    <a href=”{path=products/large_view/{segment_2}}”> - etc.

    {path=products/large_view} will give you the right path.

  • #3 / Jul 07, 2007 1:04pm

    sm9

    352 posts

    I’d try something like this:

    <a href=”{path=products/large_view/{segment_2}}”> - etc.

    {path=products/large_view} will give you the right path.

    Thanks Sue - your code above got me back on the right track and this is now working fine! 😊

    Thanks,

    Ste

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases