PDA

View Full Version : Help with new footer.


SPEEDKILLZ
10-17-2013, 11:44 PM
I am trying to figure out the footer section on my new theme. (See attachment) I have read the instructions over and over and still can't make it out. Maybe someone has a better way of explaining.

Note mine does not show up at all. See link in sig.

Here are the instructions given.
At the bottom of the theme is the footer region. In the default theme installation, there are four columns. The first two columns contain a list of links. The third column contains an example "About Us" section. The fourth column contains the search box and "Connect With Us" social icons. The names for these templates in the Style Manager are "footer_column_1", "footer_column_2", "footer_column_3", and "footer_column_4". These are the templates that must be edited to customize the footer region. The CSS for the elements in the footer region can be found in the "additional.css" template. The names of the CSS IDs corresponds to the name of each column; for instance, the ID for "footer_column_1" is "#footer_column_1".

You can see all the included social icon images in the "tf_ideal/social" folder.

Remember, if the themes were imported maintaining the proper hierarchy, you need only edit the footer column templates for the "TF_Ideal Fixed" parent theme. All the subsequent child themes will inherit the edits.

The logos for each individual theme (logo.png) are contained in their respective /misc folders. (i.e. the logo for the red version of the theme is contained in the tf_ideal/red/misc folder). To replace these logos with your own, create a logo with the same file name, including the .png extension, and upload it to the above locations, overwriting the old files. Alternately, you can point the logo url to another location in the theme's StyleVars. The StyleVar for this is "ImagePaths" > "titleimage". This must be changed for each individual theme.

The search box in the footer honors your search settings in the admincp. If you have the search functions on your forum disabled, the search box in the footer won't appear, and the "Connect With Us" section will move up in its place.

The following is an example of one way in which you might customize the footer region to your liking.

Let's say you only want one column of links instead of the two included in the default theme installation. First, go to "Styles & Templates" > "Style Manager" and expand the template listings for the "TF_Ideal Fixed" theme by clicking the "? ?" button. Double click the "footer_column_2" template to open up its edit box. Remove all the code in the "Template" box and click "Save".

Lynne
10-18-2013, 01:32 AM
Your footer doesn't show up at all - link to theme?

SPEEDKILLZ
10-18-2013, 02:11 AM
Your footer doesn't show up at all - link to theme?

http://globalhax.com/forum.php

--------------- Added 1382148639 at 1382148639 ---------------

Anyone?

Lynne
10-19-2013, 02:56 AM
I would ask the style developer for help on that. I really can't tell what is up by looking at the style except that it looks nothing like the image. The style doesn't even look like the image. Are you sure you didn't modify the style in some way and remove the code?

SPEEDKILLZ
10-19-2013, 03:13 AM
Im pretty sure i just need to add something to make it show up. See i have this in my footer code.

<div class="clear"></div>
<vb:if condition="!empty($ad_location['ad_footer_start']) or !empty($ad_location['global_above_footer'])">
<div style="clear: {vb:stylevar left}"> {vb:raw ad_location.ad_footer_start}
{vb:raw ad_location.global_above_footer} </div>
</vb:if>
</div>
<!-- closing div for body_wrapper -->
</div>

</div>

<div id="body_footer">
<div class="main_wrap">

<form action="{vb:link forumhome|nosession}" method="get" id="footer_select" class="footer_select">

<vb:if condition="$show['quickchooser']">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="{vb:rawphrase quick_style_chooser}"><option class="hidden"></option></optgroup>
<vb:if condition="$quickchooserbits1">
<vb:if condition="$quickchooserbits2">
<optgroup label="&nbsp;{vb:rawphrase standard_styles}">
</vb:if>
{vb:raw quickchooserbits1}
<vb:if condition="$quickchooserbits2">
</optgroup>
</vb:if>
</vb:if>
<vb:if condition="$quickchooserbits2">
<vb:if condition="$quickchooserbits1">
<optgroup label="&nbsp;{vb:rawphrase mobile_styles}">
</vb:if>
{vb:raw quickchooserbits2}
<vb:if condition="$quickchooserbits1">
</optgroup>
</vb:if>
</vb:if>
</select>
</vb:if>

<vb:if condition="$show['languagechooser']">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="{vb:rawphrase quick_language_chooser}">
{vb:raw languagechooserbits}
</optgroup>
</select>
</vb:if>
</form>
<div id="footer_copyright" class="shade footer_copyright">
<!-- Do not remove this copyright notice -->
{vb:rawphrase powered_by_vbulletin}
<!-- Do not remove this copyright notice -->
</div>
<div class="clear"></div>
</div>
</div>

<div id="foot">
<div id="foot_top">
<div class="main_wrap">
<div class="below_body">
{vb:raw footer_column_1}
{vb:raw footer_column_2}
{vb:raw footer_column_3}
{vb:raw footer_column_4}
<div class="clear"></div>
</div>
</div>
</div>
<div id="foot_bottom">
<div class="main_wrap">
<div id="foot_bottom_inner">

<div id="footer" class="floatcontainer footer">
<ul id="footer_links" class="footer_links">
<vb:if condition="$vboptions['hometitle']">
<li><a href="{vb:raw vboptions.homeurl}">{vb:raw vboptions.hometitle}</a></li>
</vb:if>
<vb:if condition="$show['admincplink']">
<li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li>
</vb:if>
<vb:if condition="$show['modcplink']">
<li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li>
</vb:if>
<vb:if condition="$vboptions['archiveenabled']">
<li><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase archive}</a></li>
</vb:if>
{vb:raw template_hook.footer_links}
<vb:if condition="$vboptions['privacyurl']">
<li><a href="{vb:raw vboptions.privacyurl}">{vb:rawphrase privacy_statement}</a></li>
</vb:if>
<vb:if condition="$vboptions['tosurl']">
<li><a href="{vb:raw vboptions.tosurl}">{vb:rawphrase terms_of_service}</a></li>
</vb:if>
<vb:if condition="$show['contactus']">
<li><a href="{vb:raw vboptions.contactuslink}" rel="nofollow" accesskey="9">{vb:rawphrase contact_us}</a></li>
</vb:if>
</ul>
<vb:if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff};
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</vb:if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
{vb:raw template_hook.footer_javascript}
</div>

<div id="footer_morecopyright" class="shade footer_morecopyright">
<!-- Do not remove cronimage or your scheduled tasks will cease to function -->
{vb:raw cronimage}
<!-- Do not remove cronimage or your scheduled tasks will cease to function -->
{vb:raw vboptions.copyrighttext}
{vb:raw template_hook.footer_copyright}
</div>
<div style="display: none;">
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_footer}
</vb:if>
</div>

</div>
<div class="clear"></div>
</div>
</div>
</div>

And these custom footer templates

SPEEDKILLZ
10-19-2013, 03:19 AM
And this is what it looks like in the footer columns

Lynne
10-20-2013, 05:48 PM
There are variables that are most likely defined in a plugin:
{vb:raw footer_column_1}
{vb:raw footer_column_2}
{vb:raw footer_column_3}
{vb:raw footer_column_4}

Did you upload a product to use that footer?

SPEEDKILLZ
10-20-2013, 07:44 PM
Just The Style Folder. Nothing more.

Krusty1231
10-20-2013, 11:45 PM
I have that same theme. Did you edit out anything in the footer column 1,2,3,4 as the code for the missing stuff is in those templates. If you left those alone, then I'd contact Themeforest developer and shoot him a PM asking why you have that issue.

SPEEDKILLZ
10-21-2013, 12:33 AM
I Never Messed With Any part Of The Footer.

Lynne
10-21-2013, 02:38 AM
Then I would suggest talking to the style developer.

SPEEDKILLZ
10-21-2013, 03:42 AM
ThankYoU All. :)

Max Taxable
10-21-2013, 03:50 AM
Do you have this style available for us to view? I notice you have no style chooser visible to viewers.

Would help.

SPEEDKILLZ
10-21-2013, 06:41 AM
It Is The Default Style.

--------------- Added 1382341698 at 1382341698 ---------------

Demo http://idealvb.themetempest.com/forum.php?styleid=1