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
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 ...
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
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.
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
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
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
the site is dev.aandyfurniture.com
What I am looking for is the file that tells it to open mainpage.php......
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
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> </p>
<p> </p>
<p>HELLO </p></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>-->
OK Guys,
I got it
There is a file called (index_default.tpl.php) that he changed.
Thanks for all your help
Bookmarks