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.

Future Entry displays with no CSS when related to entry_id

November 27, 2010 7:40pm

Subscribe [3]
  • #1 / Nov 27, 2010 7:40pm

    disciplesnet

    2 posts

    Hello all,

    I’m feeling pretty dumb here.  I’m trying to display a future blog entry to logged in members. When I direct them to .../index.php/blog/post/ they see the latest entry perfectly.  However, when they are directed to .../index.php/blog/post/{entry_id} they see the post, but it is completely unstyled.  Can I fix this?  Have I done something wrong?

    I’ve Googled and searched the forums…unless I’m missing something, I can’t find anyone else dealing with this.

    Thanks for any help you can give me.

    Here is my code:

    {exp:channel:entries channel="blog" orderby="date" sort="desc" limit="1" show_future_entries='yes' disable="member_data|trackbacks" }

    I’ve also tried

    {exp:channel:entries channel="blog" orderby="date" sort="desc" limit="1" entry_id="{segment_3}" show_future_entries='yes' disable="member_data|trackbacks" }

    Finally, I tried both with the ole dynamic=“no” as well

    Here is my EE info:

    EE Info
    ExpressionEngine   2.1.1 Build 20101020
    MSM   not installed
    Extensions   installed
    jQuery   1.4.2
    MySQL   5.0.91-community-log
    Server   Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_fcgid/2.3.5 Phusion_Passenger/2.2.15 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

    EE Stats
    Sites   1
    Channels   7
    Entries   46
    Comments   11

    PHP Info
    version   5.2.14
    register_globals   off
    safe_mode   off
    max_execution_time   300
    upload_max_filesize   10M
    max_input_time   60
    memory_limit   64M
    session_save_path   writable

    Add-Ons

    Modules
    Blacklist 3.0
    Blogger Api 2.0
    Comment 2.1
    Email 2.0
    Emoticon 2.0
    Ip To Nation 2.2
    Jquery 1.0
    Mailinglist 3.0
    Friends 1.5.0
    Moblog 3.0
    Pages 2.0
    Query 2.0
    Rss 2.0
    Referrer 2.0
    Search 2.0
    Simple Commerce 2.0
    Updated Sites 2.0
    Wiki 2.1
    Channel 2.0.1
    Member 2.0
    Stats 2.0
    User 3.2.3
    Navee 1.2.5
    Mountee 1.0
    Safecracker 1.0.0
    Freeform 3.0.3
    Iexpression 1.4
    Code Pack 1.1.0
    Low Reorder 1.0.3
    Like 1.0

    Extensions
    User 3.2.3
    Mx Title Control 2.0.4
    First Timer 2.0.1
    Cp Analytics 1.0.1
    Safecracker 1.0.0
    Sc Publish Redirect 1.0.1
    Friends Code Pack 1.1.0

    Accessories
    Cp Analytics 1.0
    Template Variables 1.1
    Health Check 0.1.0

    Field Types
    select 1.0
    text 1.0
    textarea 1.0
    date 1.0
    file 1.0
    multi_select 1.0
    checkboxes 1.0
    radio 1.0
    rel 1.0
    bbr_ckeditor 1.0.2
    safecracker_catchall 1.0.0
    safecracker_file 1.0.0
    low_reorder 1.0.3
    wygwam 2.0.3

  • #2 / Nov 28, 2010 4:28am

    Musa

    124 posts

    It seems not EE issue rather than path issue of stylesheet. What’s your code to load stylesheet? Is the path relative? Load your css with absolute url or try as follows if css code in a template -

    {stylesheet=template_group/css_template}
  • #3 / Nov 28, 2010 2:00pm

    disciplesnet

    2 posts

    thanks for your help.  it pointed me in the right direction.  My error, though, was a stupid one.  I had an embedded header that was not set to show future entries.

  • #4 / Nov 29, 2010 1:13am

    John Henry Donovan

    12339 posts

    Glad you are up and running again. Feel free to start a new thread if you have any more questions. Thanks for your help Musa

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

ExpressionEngine News!

#eecms, #events, #releases