Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7771139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:34:33+00:00 2026-06-01T16:34:33+00:00

I have an EE site that has a flickrshow gallery on it. I would

  • 0

I have an EE site that has a flickrshow gallery on it. I would like to create a channel field to edit the flickr set id. The problem is that ee tags are opened and closed with curly brackets {ee_tag} so the js gets broken.

is there a way to EITHER use a different ee tag OR to have the js fetch the set id from a hidden (display none) div element. I could then put the ee tag in the hidden element allowing the cms to manage the id. Code:

    <!-- flickrshow -->
<div class="example" id="cesc">
    <p>Please enable Javascript to view this slideshow</p>
</div>

{exp:channel:entries channel='flickr'}

<script src="/js/flickrshow-7.2.min.js"></script>
<script>
    var cesc = new flickrshow('cesc', {
        autoplay:true,
        'set':'{flickr_set}'
    });
</script>


{/exp:channel:entries}

<!-- end flickrshow -->

above with ee tags in js code. Bellow with js referencing hidden div:

  <!-- flickrshow -->
<div class="example" id="cesc">
    <p>Please enable Javascript to view this slideshow</p>
</div>

<script src="/js/flickrshow-7.2.min.js"></script>
<script>
    var cesc = new flickrshow('cesc', {
        autoplay:true,
        'set':'=(#hidden_div value)'
    });
</script>

<!-- end flickrshow -->

<div id="#hidden_div">
{exp:channel:entries channel='flickr'}

{flickr_set}

{/exp:channel:entries}
</div>

I dont know enough js to further complete the second example.

Thanks for any suggestions

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T16:34:34+00:00Added an answer on June 1, 2026 at 4:34 pm

    Your Flickr set ID is outputting properly in the template, but you have your flickr_set field set to XHTML formatting in ExpressionEngine, so it’s being wrapped in paragraph tags. Change the field formatting to “none”, be sure to tick the box that says “update all existing entries with this formatting”, then save your field.

    Always view source on your page to find out what’s going wrong!

    <script>
        var cesc = new flickrshow('cesc', {
            autoplay:true,
            'set':'<p>72157629620181853</p>'
        });
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a paging control on my site that has it's container element set
Currently I have a site where it has a header that looks something like
I have a site that has an IE8-only problem: The code is: var w
I have a site that has pages like mysite.com/example. However is someone comes in
In short, the problem is this: we have a news site that has a
I have inherited a web site that has all of the paths set using
I have a site that has an Rss feed, and this feed is consumed
I have a site that has a /sites/default/files/ directory where user content is typically
I have a site that has 2 DIV tags, one floats left the other
Information: I have a site that has a design on index.php, and then you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.