2 Column Safari And...
 
Notifications
Clear all

2 Column Safari And No Data on All Pages, but Index [SOLVED]

3 Posts
2 Users
0 Reactions
1,830 Views
(@webdev)
Posts: 2
New Member
Topic starter
 

Hi!

I just upgraded eFiction yesterday to version 3.3. I am attempting to edit the Safari theme so that it resembles the Shingami Blue theme a bit. I attempted to create a 2 column display structure on the subpages by adding the left column div on the index page to the header and commenting it out from the index page. Now, I see no block information on the subpages. What am I missing? The Safari theme has been left alone and unedited until this moment. πŸ™‚

I have turned debugging on.

Here is my header block:

<!-- START BLOCK : header -->
<body>
<div id="background">
<div id="container">
<div id="banner">&nbsp;
</div>
<div id="menu">
        <ul id="menulist">
<li>{home}</li>
<li>{tos}</li>
<li>{login}</li>
<li>{help}</li>
<li>{contactus}</li>
<li>{adminarea}</li>
</ul>
</div>
<div id="submenu">
        <ul id="submenulist">
<li>Browse By:</li>
<li>{recent}</li>
<li>{authors}</li>
<li>{catslink}</li>
<li>{titles}</li>
<li>{series}</li>
<li>{challenges}</li>
<li>{tens}</li>
<li>{search}</li>
</ul>
</div>

<div id="leftindex">
      <div class="block">
            <div class="title">{info_title}</div>
                    <div class="content">{info_content}<br/>{skinchange_content}<br>{login_content}</div>
                        </div>
                              <div class="block">
                                    <div class="title">{random_title}</div>
                                            <div class="content">{random_content}</div>
                                                </div>
                                                      <div class="block">
                                                            <div class="title">{recent_title}</div>
                                                                    <div class="content">{recent_content}</div>
                                                                        </div>
                                                                            <div class="block">
                                                                                    <div class="title">{categories_title}</div>
                                                                                          <div class="content">{categories_content}</div>
                                                                                                </div>
                                                                                                </div>
                                                                                                <div id="rightindex">

<div id="mainpage">
<!-- END BLOCK : header -->

Thanks!


 
Posted : 07/07/2007 4:06 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Do you have the CSSZen skin?

When upgrading from 2.- to 3., there are some skin changes. The variables.php file can overwrite things and not make them show up. My advice is to look at the variables.php file, your site settings, and see if they conflict with the variables you are trying to use, like {categories_content}.

If your variables.php says that the categories block will use a .tpl, then it will look for one and if you don't have one, it won't show up.

I usually use the CSSZen skin to make sure everything is working, and then copy the variables and such from that one.


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 : 07/07/2007 4:19 pm
(@webdev)
Posts: 2
New Member
Topic starter
 

The solution was to compare my variables.php in the Safari theme to the variables.php file in Shingami blue. Thanks so much for your help!


 
Posted : 07/07/2007 5:09 pm
Share: