Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Addon} Modular Front Page


kymation

Recommended Posts

No, fp_scroller.php. The Featured module has the correct code, but the scroller does not. I guess that nobody has tried to use the scroller with featured products.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Ah sorry had to an explanation sometimes blind and can not see what is before my eyes :blink:

 

Just for reference while I am here had a few problems recently with social media scripts in the footer/template bottom  and the scroller

 

Some like add this (social media) make the scroller display badly so anybody bug hunting just remove extra scripts first

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

OK - I have Heading Title, Customer Greeting, Featured Products, New Products, and the Scroller installed using Featured Products now on my production store and everything looks great!

 

P.S. Yes, I'm being redundant right now with Featured Products in both places, but they're slightly different and using "all" on the scroller brings up way too many images.  I'm probably going to fiddle a lot with Text Main and Upcoming Products, but this gets my store looking a lot better on the home page instead of the OsC 2.3.4 default.

 

I'm figuring the scroller can't work as fluid, so I reduced the pixel width down to 560 to look better with my setup.  I had it to 490, but that seemed too small.

Edited by TomB01
Link to comment
Share on other sites

  • 4 weeks later...

Hi Klymation,

 

See you are online.  Need a little assistance, 

 

The green text is from the Front Page index.php.  The red text is from Version 2.3.4.

 

Could you give me some guidance as to where in the red text modified lines should be inserted.  Thanks a lot.

 

====================================================================

    include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING);
?>

</div>

<?php
  } else { // default page
  // Start Modular Front Page
?>

<div class="contentContainer">

<?php echo $oscTemplate->getBlocks('front_page'); ?>

</div>

<?php
  // End Modular Front Page
  }

  require(DIR_WS_INCLUDES . 'template_bottom.php');
  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

 

====================================================

 

<h1><?php echo HEADING_TITLE; ?></h1>

<div class="contentContainer">
  <div class="contentText">
    <?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);
?>

</div>

<?php
  }

  require(DIR_WS_INCLUDES . 'template_bottom.php');
  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

 

Link to comment
Share on other sites

You're in the wrong place. Find this code in your index.php:

<?php
  } else { // default page
?>

The code from Modular Front page replaces some of the code after that.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Hi,

 

Thanks.  Found it.Ti's a replace and not an insert.  Does the code below looks right to you.

 

<?php
  } else { // default page
?>

 

  // Start Modular Front Page
?>

<div class="contentContainer">

<?php echo $oscTemplate->getBlocks('front_page'); ?>

</div>

<?php
  // End Modular Front Page

<h1><?php echo HEADING_TITLE; ?></h1>

<div class="contentContainer">
  <div class="contentText">
    <?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);
?>

</div>

<?php
  }

  require(DIR_WS_INCLUDES . 'template_bottom.php');
  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>
 

Link to comment
Share on other sites

No, you need to take out another dozen lines or so. Look at the index.php file in the MFP distribution. Use a comparison program to see the differences clearly.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Hi Kymation,

 

I got FPM installed.  Trying to configure banner rotator.  So far the test images are displayed one under the other - like this.  There is a bullet beside each image. Any pointers as to what is going on would be appreciated.

 

 

  • Test Banner 1
  • Test Banner 2
Link to comment
Share on other sites

That sounds like the Javascript and CSS files are missing. Check that the files were added into the /ext/modules/front_page/banner_rotator/ folder.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Good Morning,

 

i have been installing and testing this Modular Front Page..

 

i cant see to get banner rotate to working.

 

i have spent the last 1hr and half looking tough 56 pages.

 

and i cant find a solution why the images are not loading...

 

 

this is what i have done

 

Check to see if all the files including the js files are in the correct location.

check the settings in admin

used banner manager and tryed to upload a picture (Banner)

and still northing

 

so i right click on my website just to see if the java script is loading and YES it is.

 

it seems to me it cant find the image DIR

Link to comment
Share on other sites

Right click on the broken image and select Image Info, or use Inspect Element with Firebug in Firefox. Is the image path correct? Does the image exist at that location?

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

  • 1 month later...

Good Morning,

 

i have been installing and testing this Modular Front Page..

 

i cant see to get banner rotate to working.

 

i have spent the last 1hr and half looking tough 56 pages.

 

and i cant find a solution why the images are not loading...

 

 

this is what i have done

 

Check to see if all the files including the js files are in the correct location.

check the settings in admin

used banner manager and tryed to upload a picture (Banner)

and still northing

 

so i right click on my website just to see if the java script is loading and YES it is.

 

it seems to me it cant find the image DIR

I am not sure if  you ever got this fixed.. But I just went through something like this.

 

I checked through all the settings you did.

 

I then realized, the banner ad(s) where turned OFF.. under 'tools -> Banner Manager'

A signature is something that reflects its user. - The dictionary

 

The question is not, 'to code, or not to code'

the question is, 'if we do not code, are we really alive?'

-- anonymous

Link to comment
Share on other sites

I added the banners to promote specific products in my catalog recently.

 

I find however, that the banners get cut off, either cut at the bottom, or the side.

 

250x300 and 728x90 banners.

 

 

Has anyone managed to modify this module to allow side by side banners in one 'box' ?

A signature is something that reflects its user. - The dictionary

 

The question is not, 'to code, or not to code'

the question is, 'if we do not code, are we really alive?'

-- anonymous

Link to comment
Share on other sites

Hi,

 

I installed OScommerce 2.3.4 and it's a new installation. After installing, I immediately upload the files of modular front page files to my folder where I have installed Oscommerce.

 

I checked in the admin page>modules and couldn't find the option frontpage.

 

Please let me know where am I doing wrong. 

Link to comment
Share on other sites

Are you certain that you uploaded to the correct location? If (for example) you uploaded the Modular Front Page files to /catalog and your store is installed in /shop, the addon will not work.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Hi,

 

I have installed the Modular Front Page and for some reason the customer greeting no longer displays the name of the customer after they login. The customer greeting just states 'Welcome Back ! .....' I also have installed the Login Box v1.2.0 and that doesn't display the name as chosen in my admin site. Are the two modules incompatible? Any help that you can provide would be greatly apprciated.

 

 

Link to comment
Share on other sites

I don't see any way those two addons would conflict, but I haven't tested that. I also don't see any other reason for the greeting to fail to get the customer's name. It's working fine on my test store.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

I don't see any way those two addons would conflict, but I haven't tested that. I also don't see any other reason for the greeting to fail to get the customer's name. It's working fine on my test store.

 

Regards

Jim

Thank you for replying, Jim.

 

I appreciate you taking the time to reply. I looked into it a bit more and got it solved. I had installed the Advanced Address Management module and it had me overlay the login.php file with incomplete code. So it was trying to do a query on data that didn't exist. Once I added the 'c.' before 3 of the new data elements in the query, then my name display for my login box worked. As far as the Modular Front Page, I got it to work again as well. The tep_customer_greeting function in my general.php functions file got changed from $customer_first_name to $customer_full_name in both the if statement and the display. I changed it back to $customer_first_name and it works like a charm.

 

Again, I truly appreciate you taking the time to try to help me. I have posted other issues without any reply whatsoever and it is a bit upsetting to think that no one is willing to even try to help.

 

Tim

Link to comment
Share on other sites

I always try to help if I can. Sometimes, when there are changes (like yours) that I don't know about, there is very little I can do here.

 

Thanks for letting me know that you got it to work.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

  • 1 month later...

@@kymation

Jim,

2.3.4 site. When I activate flex slider, in Who's online and the Who's online dashboard, anyone on the homepage shows up as

 

"/ext/modules/front_page/flex_slider/images/bg_direction_nav.png" instead of the usual " / " 

 

I believe that would be the navigation dots below the sider? Would you have any insight on that? is it a problem?

 

Thx

-Dave

Link to comment
Share on other sites

I haven't seen that before, but then I rarely see sites using the slider. It's not a problem as far as I can see, unless it's a problem for you to see that.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

I don't know what is causing this. Is it because the customer is clicking on the navigation, or is it because the script is advancing the images and thus confusing the Who's Online code? That would take some research, and I don't really have the time right now.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...