osCmax v2.5 User Manual
Results 1 to 9 of 9

Mainpage Help

This is a discussion on Mainpage Help within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Ok I have a programmer that made it so I now cant define the main page. We would like to ...

      
  1. #1
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    201
    Rep Power
    12


    Default Mainpage Help

    Ok I have a programmer that made it so I now cant define the main page. We would like to add this under the Featured Products section.

    What is the file I need to edit?

    Thanks,

    Adam

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Mainpage Help

    Best option is to ask what he did and to put it back the code to where you would like it.

    if this person modified the files and removed code then your best to get them to fix it as there would be not like a standard install anymore and her could have totally rearraged stuff around.

  3. #3
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: Mainpage Help

    clarify...

    OSCMax has the ability to "edit" the mainpage in the admin. If the appropriate php file is writable this should be no problem.

    But, from what you have indicated, you are not talking about adding text via the admin, but seem to be talking about the template file having been modified in some way.

    Can you please clarify which it is, and if it is the template file, the easiets thing to do is make a backup of the one that they changed and replace it with a stock version. Then slowly re-integrate the changes that your paid person made until you get the template to render the way you want the mainpage to look.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  4. #4
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    201
    Rep Power
    12


    Default Re: Mainpage Help

    I wish I could just ask him but he is not working with me anymore....

    What ever he did it was not only this template its all of them. But when I am on the main page and view code I can see the typing form the Define MainPage so I dont think he removed the code.

    I am just looking for the file that tells the main page what to have on it

    Define MainPage
    Specials For June
    Featured Products

    Thanks Again

    Adam

  5. #5
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    362
    Rep Power
    10


    Default Re: Mainpage Help

    Not sure really what you are looking for but

    The file that the define mainpage uses is catalog/includes/languages/english/mainpage.php

    But it sounds like you are looking for a template file
    The other file in your templates directory is main_page.tpl.php

  6. #6
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    201
    Rep Power
    12


    Default Re: Mainpage Help

    the site is dev.aandyfurniture.com

    What I am looking for is the file that tells it to open mainpage.php......

  7. #7
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: Mainpage Help

    1) the URL didn't open
    2) different parts of the page are controlled by different parts of the application.
    2a) the main layout of the page is defined in the templates area
    2b) the side boxes are generally controlled from the admin side
    2c) the content is controlled from the admin side
    2d) the headers and footers are controlled from either the templates or in some cases people use header and footer files that they store in the includes directory

    Without a great deal more detail on how and what you want to change and what you are trying to do, it's really hard to provide any resonable feedback.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  8. #8
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    201
    Rep Power
    12


    Default Re: Mainpage Help

    Thank you for all your help all this guy did was add <!--<tr> </tr>--> to make it so the code would not work Just cant find were:

    <!--<tr>
    <td class="main"></td>
    </tr>
    <tr>
    <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
    </tr>
    <tr>
    <td class="main"><p>TESTTESTTEST</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>HELLO&nbsp;</p></td>
    </tr>
    <tr>
    <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
    </tr>-->

  9. #9
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    201
    Rep Power
    12


    Default Re: Mainpage Help

    OK Guys,

    I got it

    There is a file called (index_default.tpl.php) that he changed.

    Thanks for all your help

Similar Threads

  1. javascript scroller on mainpage.php (Define mainpage)
    By zuqaili in forum osCmax v2 Customization/Mods
    Replies: 7
    Last Post: 04-30-2007, 09:51 PM
  2. Define Mainpage
    By Chippy in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 03-15-2005, 09:56 AM
  3. mainpage.php bug?
    By titaniumtommy in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 03-08-2004, 02:38 AM
  4. Please, just a little help with the mainpage
    By smalto in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 02-22-2004, 04:49 PM
  5. Login box on mainpage
    By keithxtreme in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 01-21-2004, 10:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •