Support Forums

Installing SEO module

This is a discussion on Installing SEO module within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hi I am trying to install the SEO v2.4 module there are 2 things in the install instructions I am ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 08-04-2011, 09:25 PM   #1
Customer
 
Join Date: Aug 2011
Posts: 10
Rep Power: 1
smarta is on a distinguished road
Default Installing SEO module

Hi

I am trying to install the SEO v2.4 module

there are 2 things in the install instructions I am not sure of

1. it says

1. Open the file templates/xxx/layout.tpl where xxx is your template directory
and add this line above the style sheet:

<base href="{$smarty.const.URL}/" />


I cannot find any reference to stylesheet in the layout.tpl file for the Omega-blue template

this is the code from the file layout.tpl

PHP Code:
{if $smarty.server.SERVER_PORT == '443'} {else} {/if} {literal} {/literal} {$header} {modulehook function="tpl_layout_head" options=""}
{if 
$templateSw}
{include 
file=$templateSw}
{/if} {if 
$listingfilter} {include file=$listingfilter_template} {/if} {include file="inc/user_nav.tpl"}
{include 
file="inc/logo.tpl"}
{include 
file="inc/bookmarks.tpl"}
{include 
file="inc/menu.tpl"}
{include 
file=$body}

{foreach 
from=$left_col item=row} {include file=$row.template} {/foreach}


{
modulehook function="tpl_layout_footer" options=""}
{include 
file="inc/footer.tpl"


2. it says

2. Rename the file located in the upload folder from 1.htaccess to .htaccess

but it does not say where to upload the file to

can anyone help me out
smarta is offline   Reply With Quote
Old 08-05-2011, 04:49 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

You do not need to do anything special to the layout.tpl file at all. Those lines are already in it within the head section.

{if $smarty.server.SERVER_PORT == '443'}
<base href="{$smarty.const.URLS}/" />
{else}
<base href="{$smarty.const.URL}/" />
{/if}


You put the .htaccess file in the root directory.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 08-05-2011, 08:32 AM   #3
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,149
Rep Power: 68
John Snyder is a jewel in the rough
Default

Put the .htaccess file in top directory of your classifieds installation directory.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 08-05-2011, 05:17 PM   #4
Customer
 
Join Date: Aug 2011
Posts: 10
Rep Power: 1
smarta is on a distinguished road
Default

Quote:
Originally Posted by seymourjames
You do not need to do anything special to the layout.tpl file at all. Those lines are already in it within the head section.
sorry - just a clarification if you would

do you mean that the required code is in another part of the page/site code (ie the header) so it does not need to be added the the layout.tpl file ?

is that correct as I can't see the required code in the layoput.tpl file itself
smarta is offline   Reply With Quote
Old 08-05-2011, 07:25 PM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

I repeat: lines 10-14

You do not need to do anything special to the layout.tpl file at all. Those lines are already in it within the head section.

{if $smarty.server.SERVER_PORT == '443'}
<base href="{$smarty.const.URLS}/" />
{else}
<base href="{$smarty.const.URL}/" />
{/if}

That means YOU DO NOTHING. You don't need to edit anything.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 08-05-2011 at 07:27 PM.
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing template!! anvelopi Templates, HTML, CSS, and Design Help 16 12-09-2008 06:45 AM
installing problem achevchenko Technical Support 4 11-13-2008 02:00 PM
installing maxmanus Technical Support 1 12-14-2007 08:28 AM


All times are GMT -4. The time now is 04:35 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0