Featured Block Appe...
 
Notifications
Clear all

Featured Block Appears but is Blank

7 Posts
5 Users
0 Reactions
1,893 Views
(@spookymulder)
Posts: 76
Trusted Member
Topic starter
 

The featured stories page is populated, but the featured block on the index is empty. I'm sure this is some sort of code problem, but I'm not seeing it.

http://spookamania.com/Quills/index.php


Severus Snape: "I've never had any interest in being fair. Only in being honest."
~The Girl in the Tower By: SpookyMulder

www.spookamania.com

 
Posted : 09/09/2007 2:16 am
(@carissa)
Posts: 791
Member Moderator
 

Did you turn the block on? Go to admin>blocks and make sure the block is initialized and set to index only (or sitewide if you use it on every page).


 
Posted : 09/09/2007 1:50 pm
(@spookymulder)
Posts: 76
Trusted Member
Topic starter
 

I had it set to "active." I changed it to index only, but the block is unchanged. There is no variables.php with this skin, so I dont know where else I could look for problems.


Severus Snape: "I've never had any interest in being fair. Only in being honest."
~The Girl in the Tower By: SpookyMulder

www.spookamania.com

 
Posted : 09/09/2007 5:19 pm
(@fanfictionworld)
Posts: 149
Estimable Member
 

have you made sure that you have chosen some stories to be "featured" which as an admin you can set from the storys chapter list page (the story index)

nice looking site by the way


~Spikey~

my site url: http://www.fanfictionworld.org
efic version:3.5.3

 
Posted : 09/09/2007 5:27 pm
(@takato)
Posts: 5
Active Member
 

mm I had this problem too, but in the block's admin options I changed the format to use .tpl and now it works for me.


 
Posted : 10/09/2007 2:04 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

The Featured block only shows active Featured stories. If the stories are Retired, then they won't show on the index.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 10/09/2007 2:49 am
(@spookymulder)
Posts: 76
Trusted Member
Topic starter
 

FAnfictionworld: Thanks, glad you liked it!  πŸ˜›

I do have stories selected as featured. They show on the featured page, they just dont show in the block. They also show when I go to admin->blocks->options. Whatever will be shown in the block will always be listed there and it is. It should be working fine!

When I switch to use.tpl the list of stories in the block options panel under admin disappears and is replaced by "Not applicable. Use .tpl selected"

Here is the code for that section, along with the surrounding code. Note: The random block works fine and seems identical to me.

<div id="rightindex">
<div class="block">
       <div class="title">{featured_title}</div>
       <div class="content">{feaured_content}</div>
     </div>

<div class="block">
   <div class="title">{random_title}</div>
   <div class="content">{random_content}</div>
     </div>

EDIT:   HA!! I just found it!! It's always something stupid, isn't it? I had a feeling it was a code problem, as it seemed to be working perfectly elsewhere. Look at the code. featured_content is missing a "t"

Thanks to everyone who posted. I looked at this code so hard and for so long I must have gone blind  πŸ˜€ Next time someone has this problem, please suggest they check spelling lol. Sorry to have wasted anyone's time.


Severus Snape: "I've never had any interest in being fair. Only in being honest."
~The Girl in the Tower By: SpookyMulder

www.spookamania.com

 
Posted : 10/09/2007 7:56 pm
Share: