Jump to content
dinopacha

welcome guest beneath featured products

Recommended Posts

I have installed featured products.

Now the text welcome guest is beneath the featured products.

How can I get the welcome guest (above) on top.

 

also I want to write an welcome text in the index page.

Now I've seen the the following in (includes/languages/english/index.php)

define('TEXT_MAIN', '');

can I put the welcome text in here??????

or should I write to welcome guest.

 

and can I put an h2 or h3 in define('TEXT_MAIN', '<h2>welcome to our website</h2>');????

or is that bad coding??????

 

Edited by dinopacha

Share this post


Link to post
Share on other sites

@@dinopacha

 

Hi Will

 

inside the index.php

 

find and change this code

  <div class="row">
    <?php echo $oscTemplate->getContent('index'); ?>
  </div>  
 
<div class="contentContainer">
  <div class="alert alert-info">
    <?php echo tep_customer_greeting(); ?>
  </div>

<?php
    if (tep_not_null(TEXT_MAIN)) {
?>

  <div class="contentText">
    <?php echo TEXT_MAIN; ?>
  </div>


<?php
    }
    include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
    include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);
?>
to this

<div class="contentContainer">
  <div class="alert alert-info">
    <?php echo tep_customer_greeting(); ?>
  </div>

<?php
    if (tep_not_null(TEXT_MAIN)) {
?>

  <div class="contentText">
    <?php echo TEXT_MAIN; ?>
  </div>


<?php
    }
?>
  <div class="row">
    <?php echo $oscTemplate->getContent('index'); ?>
  </div>  
<?php
    include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
    include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);
?>

</div>
And yes you can use h2 tags inside the language file. Edited by Tsimi

Share this post


Link to post
Share on other sites

@@Tsimi

 

Ok. but can I write the welcome text in place of the(welcome guest.)

 

or do I have to do it in:

define('TEXT_MAIN', 'welcome to my webshop bla,bla,bla');

Share this post


Link to post
Share on other sites

You can change what ever you like. :)

You can change the TEXT_GREETING_GUEST and TEXT_GREETING_PERSONAL inside the english.php or you can change the TEXT_MAIN inside the ../languages/english/index.php or HEADING_TITLE inside the ../languages/english/index.php

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×