Jump to content


Photo
- - - - -

Default Template boxes


  • Please log in to reply
13 replies to this topic

#1 egtou

egtou

    Senior Member

  • Members
  • 350 posts

Posted 26 January 2011 - 12:51 PM

I have been using Diki Fikin Template for my site. I this template default template boxes are vailable only in index pages but not in site base page. Is that possible to put same boxes in the site base page as well ? How can I activate it ?

Chitra B. Gurung
Kathmandu, Nepal
 


#2 Matt Wilcox

Matt Wilcox

    Senior Member

  • Moderators
  • 132 posts

Posted 26 January 2011 - 05:12 PM

You will have to look at your index.html file in your template folder and see if it's using #BOX# or #PROMO# and then add it to you home.html template file. Then you'll be able to assign the box to a blog just like you did for your child pages. Here's some help - Custom Template Reference - Sohowiki

#3 egtou

egtou

    Senior Member

  • Members
  • 350 posts

Posted 27 January 2011 - 10:16 AM

which line should I edit ? and from where ? is this possible to edit from Cpanel

Code of home.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<title>#PAGENAME#</title>
<link href="custom.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="motionpack.js"></script><!--[if IE]>
<style type="text/css">
img { behavior: url("#template_path_full_url#/pngbehavior.htc"); }</style><![endif]-->
</head>
<body onload="slidedown('featwrapper');">
<div id="headwrapper">
<div id="head" class="clearfix">
<div id="logo_box"><a href="../../../../../../../index.php?pr=Home_Page"><img id="logo" src="images/_userimg-logo.png" alt="Home" border="0" height="118" width="322" /></a></div>
<div id="tagline">#CUSTOMINC#</div></div></div>
<div id="trimbar"></div>
<div id="featwrapper" style="overflow: hidden; display: none; height: 124px">
<div id="feat" class="clearfix">
<div id="featleft">#BOX1#</div>
<div id="featright">#BOX2#</div></div></div>
<div id="navwrapper">
<div id="nav" class="clearfix">
<div id="signup"><a href="javascript:;" onmousedown="toggleSlide('featwrapper');"><img src="images/hide-show.png" alt="Toggle the banner up or down" style="border: 0pt none" border="0" height="27" width="110" /></a></div>
<div id="mainnav">#HMAINS#</div></div></div>
<div id="contentwrapper">
<div id="maincontent" class="clearfix">
<div id="subnav" class="clearfix">
<div class="sidebox">#VSUBS#</div>
<div class="sidebox">#BOX3#</div></div>
<div id="content">
<div id="date">#AUTODATESTAMP#</div>#CONTENT#</div></div></div>
<div id="footerwrapper">
<div id="footer">
<table id="table1" border="0" cellspacing="1" width="400">
<tbody>
<tr>
<td colspan="7" align="left">
 <a href="index.php?pr=Terms_and_Conditions">Terms & Conditions</a>
| <a href="index.php?pr=Privacy_Statement">Privacy Statement</a></td></tr>
<tr>
<td width="60"><img alt="" src="../../../../../../../images/logos/coat-of-aram-50.png" border="0" height="75" width="59" /></td>
<td width="152"><img alt="" src="../../../../../../../images/logos/natalogo50.png" border="0" height="75" width="54" /></td>
<td width="55"><img alt="" src="../../../../../../../images/logos/iata-accredagent50.png" border="0" height="75" width="100" /></td>
<td width="71"><img alt="" src="../../../../../../../images/logos/uffta50.png" border="0" height="75" width="70" /></td>
<td width="26">
 <!-- PayPal Logo --><!-- PayPal Logo -->
<table align="center" border="0" cellpadding="10" cellspacing="0">
<tbody>
<tr>
<td align="center"><a href="#" onclick="javascript:window.open('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');"><img src="../../../../../../../images/logos/paypal50.png" alt="Acceptance Mark" border="0" /></a></td></tr></tbody></table><!-- PayPal Logo --><!-- PayPal Logo --></td>
<td width="26">
 <a href="http://www.vodahost.com/partner/idevaffiliate.php?id=6862_0_1_54" target="_blank"></a></td>
<td width="26">
<p><img alt="" title="" src="../../../../../../../images/logos/stilogo_lg.gif" height="75" width="284" /></p></td></tr></tbody></table>

#COPYRIGHT#</div></div>
</body>
</html>




Code of Index.html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<title>#PAGENAME#</title>
<link href="custom.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="motionpack.js"></script><!--[if IE]>
<style type="text/css">
img { behavior: url("#template_path_full_url#/pngbehavior.htc"); }</style><![endif]-->
</head>
<body onload="slidedown('featwrapper');">
<div id="headwrapper">
<div id="head" class="clearfix">
<div id="logo_box"><a href="../../../../../../../index.php?pr=Home_Page"><img id="logo" src="images/_userimg-logo.png" alt="Home" border="0" height="118" width="322" /></a></div>
<div id="tagline">#CUSTOMINC#</div></div></div>
<div id="trimbar"></div>
<div id="featwrapper" style="overflow: hidden; display: none; height: 124px">
<div id="feat" class="clearfix">
<div id="featleft">#BOX1#</div>
<div id="featright">#BOX2#</div></div></div>
<div id="navwrapper">
<div id="nav" class="clearfix">
<div id="signup"><a href="javascript:;" onmousedown="toggleSlide('featwrapper');"><img src="images/hide-show.png" alt="Toggle the banner up or down" style="border: 0pt none" border="0" height="27" width="110" /></a></div>
<div id="mainnav">#HMAINS#</div></div></div>
<div id="contentwrapper">
<div id="maincontent" class="clearfix">
<div id="subnav" class="clearfix">
<div class="sidebox">#VSUBS#</div>
<div class="sidebox">#BOX3#</div></div>
<div id="content">
<div id="date">#AUTODATESTAMP#</div>#CONTENT#</div></div></div>
<div id="footerwrapper">
<div id="footer">
<table id="table1" border="0" cellspacing="1" width="400">
<tbody>
<tr>
<td colspan="7" align="left">
 <a href="index.php?pr=Terms_and_Conditions">Terms & Conditions</a>
| <a href="index.php?pr=Privacy_Statement">Privacy Statement</a></td></tr>
<tr>
<td width="60"><img alt="" src="../../../../../../../images/logos/coat-of-aram-50.png" border="0" height="75" width="59" /></td>
<td width="152"><img alt="" src="../../../../../../../images/logos/natalogo50.png" border="0" height="75" width="54" /></td>
<td width="55"><img alt="" src="../../../../../../../images/logos/iata-accredagent50.png" border="0" height="75" width="100" /></td>
<td width="71"><img alt="" src="../../../../../../../images/logos/uffta50.png" border="0" height="75" width="70" /></td>
<td width="26">
 <!-- PayPal Logo --><!-- PayPal Logo -->
<table align="center" border="0" cellpadding="10" cellspacing="0">
<tbody>
<tr>
<td align="center"><a href="#" onclick="javascript:window.open('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');"><img src="../../../../../../../images/logos/paypal50.png" alt="Acceptance Mark" border="0" /></a></td></tr></tbody></table><!-- PayPal Logo --><!-- PayPal Logo --></td>
<td width="26">
 <a href="http://www.vodahost.com/partner/idevaffiliate.php?id=6862_0_1_54" target="_blank"></a></td>
<td width="26">
<p><img alt="" title="" src="../../../../../../../images/logos/stilogo_lg.gif" height="75" width="284" /></p></td></tr></tbody></table>

#COPYRIGHT#</div></div>
</body>
</html>













You will have to look at your index.html file in your template folder and see if it's using #BOX# or #PROMO# and then add it to you home.html template file. Then you'll be able to assign the box to a blog just like you did for your child pages. Here's some help - Custom Template Reference - Sohowiki


Chitra B. Gurung
Kathmandu, Nepal
 


#4 Matt Wilcox

Matt Wilcox

    Senior Member

  • Moderators
  • 132 posts

Posted 27 January 2011 - 05:43 PM

It looks like boxes are already being used in the home.html template (lines 21,22,35). Have you assigned any blogs to those boxes in the template manager? Post a URL to your site too so I can see the rendered version of the template.

-Matt

#5 egtou

egtou

    Senior Member

  • Members
  • 350 posts

Posted 28 January 2011 - 12:22 AM

Thank you.

Here is the site Evergreen Tours - The Best Himalayan Vacation Packages : Nepal Vacations, Bhutan travel, Tibet travel and more

I have posted some in the left side boxes in destination page

Edited by egtou, 28 January 2011 - 12:28 AM.

Chitra B. Gurung
Kathmandu, Nepal
 


#6 Matt Wilcox

Matt Wilcox

    Senior Member

  • Moderators
  • 132 posts

Posted 28 January 2011 - 06:39 AM

Looks like you got it working then. I like the translator tool at the top, that's a nice feature.

#7 egtou

egtou

    Senior Member

  • Members
  • 350 posts

Posted 28 January 2011 - 08:12 AM

It is working in site base templates or pages but not in home page. How can I make it possible it in all the pages ?

Chitra B. Gurung
Kathmandu, Nepal
 


#8 Matt Wilcox

Matt Wilcox

    Senior Member

  • Moderators
  • 132 posts

Posted 28 January 2011 - 04:42 PM

To assign a blog to a template box, click on Template Manager >> Edit Template Boxes Now! >> Home Page Tab >> then assign your blog subject to your box number.

#9 egtou

egtou

    Senior Member

  • Members
  • 350 posts

Posted 29 January 2011 - 12:10 PM

Hello,

I did as you suggested but in the home page there is no link active where as other pages of links which takes to more contents.

Chitra B. Gurung
Kathmandu, Nepal
 


#10 dresswell

dresswell

    Soho Dog

  • Administrators
  • 3,408 posts
  • LocationU.S.A.

Posted 29 January 2011 - 02:22 PM

That template is 2 templates in 1.
The home page(home.html) and the rest of the pages(index.html).
Use Box1, Box2, Box3 on the home page.
Use Newsbox and Promo Box on all other pages.
If your looking to have all pages the same.
Just rename the home.html and it will not be available.
Ex:home2.html
Then all pages should be the exactly same and use index.html.
dresswell

 Free Soholaunch Hosting
Soholaunch Pro or Soholaunch Ultra Free with Hosting.
Check out our soholaunch hosting if your tried others

and were disappointed with your host or there support.
Get the help you need to build your website today.

Now offering a 99cent 1st. month Trial Offer.
Easy Website Maker


#11 egtou

egtou

    Senior Member

  • Members
  • 350 posts

Posted 30 January 2011 - 01:56 AM

I want to use differently, if possible. My question is there is no link active in the home page when I post the blog where as other pages has. Is that not possible to make active link in the home page without changing page name ?



That template is 2 templates in 1.
The home page(home.html) and the rest of the pages(index.html).
Use Box1, Box2, Box3 on the home page.
Use Newsbox and Promo Box on all other pages.
If your looking to have all pages the same.
Just rename the home.html and it will not be available.
Ex:home2.html
Then all pages should be the exactly same and use index.html.
dresswell


Chitra B. Gurung
Kathmandu, Nepal
 


#12 dresswell

dresswell

    Soho Dog

  • Administrators
  • 3,408 posts
  • LocationU.S.A.

Posted 30 January 2011 - 03:17 AM

If you go to the template page:
Soholaunch Addons - Plugins and Templates for Soholaunch Website Builder
You will see the element view of the pages.
Notice the box1 box2 box3 layout of the home page.
And the news box and special promotions box of all other pages.
When i look at your template files they are there.
Home page:
#PAGENAME#
All others:
#PAGENAME#
And looking at your site your using the box and other tags already in both.
dresswell

 Free Soholaunch Hosting
Soholaunch Pro or Soholaunch Ultra Free with Hosting.
Check out our soholaunch hosting if your tried others

and were disappointed with your host or there support.
Get the help you need to build your website today.

Now offering a 99cent 1st. month Trial Offer.
Easy Website Maker


#13 egtou

egtou

    Senior Member

  • Members
  • 350 posts

Posted 30 January 2011 - 12:41 PM

hi

My question is the blog I post in box 1 has no link in the home page. while in other pages it display title only with link when I click link it goes to detail page. In home page I have title and date only but it does not link to detail page. How can I do that ?

Chitra B. Gurung
Kathmandu, Nepal
 


#14 James Donovan

James Donovan

    Member

  • Members
  • PipPip
  • 16 posts

Posted 30 August 2012 - 11:25 PM

I did as you suggested but in the home page there is no link active where as other pages of links which takes to more contents.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users