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.

custom fields not working on site index

October 31, 2008 8:25am

Subscribe [3]
  • #1 / Oct 31, 2008 8:25am

    DIY

    28 posts

    http://artrocker.tv/

    The main black box is supposed to show a video, for which the ID is specified {tvbrightcoveid}. On the view template page it works correctly, and it is implemented similarly on the individual page for each video, that is all fine. However, when accessing the index template at the site root, it doesn’t want to show. Any ideas?

  • #2 / Oct 31, 2008 8:32am

    orezz

    43 posts

    some template code would be nice 😊

    the onlly thing what I know right now is that your field doesn’t parse.

    <object id="myExperience" class="BrightcoveExperience">
      
      
      
      
    
      
      
        
      </pre><b>{tvbrightcoveid}</b><pre><code>" >
    </object>
  • #3 / Oct 31, 2008 10:11am

    DIY

    28 posts

    
    
    

    the code on, for example, http://www.artrocker.tv/tv/article/marvin-talks-hip-hop for the player to show there is almost identical, with just the size of the player different. so i know that it should work, just that it isn’t recognising the field name on the index page when called at the root.

    http://artrocker.tv/main/index.php is the template’s path, and as you can see there, the video is showing fine!

  • #4 / Oct 31, 2008 10:32am

    Ingmar

    29245 posts

    How is {tvbrightcoveid} set? Just a regular custom field? Are there others? What version and build of EE are you on?

  • #5 / Oct 31, 2008 10:35am

    DIY

    28 posts

    It’s a text field. {tvdescription} is also a custom field, however.

    We’re using 1.6.3.

  • #6 / Oct 31, 2008 11:23am

    orezz

    43 posts

    do you maybe have a typo in your custom field?

    Try to update to 1.6.5 too btw 😊

  • #7 / Oct 31, 2008 11:29am

    Ingmar

    29245 posts

    A typo is a real possibility, of course. Make doubly sure to check against those 😊

  • #8 / Oct 31, 2008 1:44pm

    DIY

    28 posts

    No, there’s no typo - I’ve triple checked and checked again! I have managed to implement the same thing in to http://www.thisisfakediy.tv perfectly fine. It’s just this one site which seems to have an issue with it!

  • #9 / Oct 31, 2008 3:22pm

    Greg Aker

    6022 posts

    Lot 105,

    Let’s try a reduction test.

    in a blank template, can you please put the following code?

    {exp:weblog:entries weblog="tv" limit="1" category="4" dynamic="off"}
    the Id is: {tvbrightcoveid}
    {/exp:weblog:entries

    Do you get anything returned when you view in the screen?

  • #10 / Nov 03, 2008 8:28am

    DIY

    28 posts

    http://www.artrocker.tv/index.php/test

    Yup, I get the ID for the most recent entry.

  • #11 / Nov 03, 2008 10:37am

    Robin Sowell

    13255 posts

    Before I throw too much testing at you- is the site live?  This only seems to happen on the main page- correct?  So I’d like to see what happens if you put Greg’s debug code at the top or bottom of the page.  But I don’t want to suggest too much if you’re fully live.

  • #12 / Nov 03, 2008 11:24am

    DIY

    28 posts

    Before I throw too much testing at you- is the site live?  This only seems to happen on the main page- correct?  So I’d like to see what happens if you put Greg’s debug code at the top or bottom of the page.  But I don’t want to suggest too much if you’re fully live.

    It is live, unfortunately! I had to change the way the player was called as something entirely unrelated to EE wasn’t working - this is what’s happened as a consequence!

    I did test that, however, and at the root the tag appears as a tag, yet at /main/ - the path to the template - the video ID shows fine.

  • #13 / Nov 03, 2008 12:13pm

    Robin Sowell

    13255 posts

    So on http://www.artrocker.tv/main/ it parsed the tag, but on http://www.artrocker.tv/ it breaks.  And it’s just that custom field, or any of them?  And to be sure- front page is being handled differently now, so looking at it isn’t going to tell me much at the moment- correct? 

    Running 1.6.3- and do you have any extensions installed?

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

ExpressionEngine News!

#eecms, #events, #releases