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.

Lightbox & EE

August 20, 2007 4:11am

Subscribe [3]
  • #1 / Aug 20, 2007 4:11am

    homejsimpson

    3 posts

    I’ve just developed a photo gallery that uses lightbox for the presentation layer and the weblog module for uploading.

    it’s so simple once you get your head around it.

    Step one

    >> Take your static HTML (page with lightbox code) and paste into a EE template

    Step two

    >> Create a custom weblog, with x amount of custom fields ( images you want )then publish.

    Step three

    >> Edit the EE template to call your weblog, and where the HTML is calling the lightbox rendered image, replace with your custom field name e.g

    {exp:weblog:entries weblog="lightBox"} 
     <a href="http://{customFieldName}" title="LightBox Images">"]</a>
    {/exp:weblog:entries weblog="lightBox"}

    Step four

    >> edit your published weblog and upload a file. Once uploaded click the “Use URL” checkbox and close the pop up. Save and preview.

    voilĂ !

    You now have a simple manageable slide show that works with EE core and uses lightbox for the presentation layer.

    Enjoy

  • #2 / Feb 13, 2008 1:49pm

    grantmx

    1439 posts

    Nice.  Can you post link to your result?

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

ExpressionEngine News!

#eecms, #events, #releases