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

Column_right and MainDefine Help

This is a discussion on Column_right and MainDefine Help within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hiya guys, different 2 questions am abit stuck on, as its the first time am messing about with OSCMAX compared ...

      
  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    30
    Rep Power
    0


    Exclamation Column_right and MainDefine Help

    Hiya guys, different 2 questions am abit stuck on, as its the first time am messing about with OSCMAX compared to osc, there are quite alot of files that are not so similar to standard osc.

    1. Where do I find my column_right?

    I tried the includes/column_right.php "any changes I make here doesnt seem to effect the boxes on template. Commented out login box, but login box was still showing. So I gathered its not that. But the code in main_page.tpl.php suggests that it is using "colum_right.php" from somewhere, But which one is it using to determine what boxes it shows?

    BTW this is not for a box that you can add in admin, I want to personalise the colums and add pictures, graphics without the boxes etc. I done it before in osc. But dunno here?!

    2. And the last question, Where can I customize the main_text area. Reason I call it that is so that you know which specific area am talking about as thats what its called in osc or here the

    "To modify the content of this page, go to the admin panel and click on the Catalog link. Then click on the Define MainPage link. It will open a wysiwyg editor where you can easily add new content." Area?

    Again, I dont want to use to the admin define section, as the purpose am looking for is to customise this area and not add text, but graphics etc. I tried adding a code into main_page.tpl.php. But that doesnt seem to help. If I add a picture at the top. It knocks the rest of the page down, including the boxes, if I add it in the middle, knocks the new_products box way down.

    Where in OSC on index.php, when you got to the part just before Featured_products section, you were able to modify the text area, so that anything you placed there, stayed within that table and stayed there. All it did was replace the text, nothing went pear shaped or moved out of place. Just replaced that area with something else.

    Now Ive tried to do the same with the text area on OSCMAX but cant seem to find where to do it, as I believe OSCMAX have their index.php built within main_page. Tried it there no luck?? Sorry if it sounds confusing on this part. If its easier I can paste the code of the standard OSC and show you which section I am talking about

  2. #2
    Member
    Join Date
    Apr 2009
    Posts
    30
    Rep Power
    0


    Default Re: Column_right and MainDefine Help

    Hmmmmm? I thought id add a box from admin and try find it where it added it, but that didnt work either? No box got added to the page? Am not sure if this is normal

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Column_right and MainDefine Help

    1. To add a new info box, you have to upload the box php file to the includes/boxes directory, then you need to add the box to the admin so it knows it is there. It does not create the boxes from the admin, only manages their position once you manually add a new box.

    2. The boxes are not administered from the column_ php files. You add the ohp file for the box to the boxes directory, then add it to the infobox admin. Then activate it and move it around.

    3. Moving existing boxes is handled from the admin panel. Turning them on and off also from the admin panel. No code editing at all.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    Member
    Join Date
    Apr 2009
    Posts
    30
    Rep Power
    0


    Default Re: Column_right and MainDefine Help

    What about the define me text area? I'll try out the box method that you have asked me to do. But still unsure in regards to the define me text area. where that is or how to get it edited properly

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Column_right and MainDefine Help

    define me text area
    You use the admin area to add content to the main page. Not sure what your issue is, it is pretty simple to use.

    Go the the admin >> catalog >> define mainpage

    Add your html/text to the box. If you want to add complex html or php to this area, turn off the wysiwyg editor and just paste your code into the text box.

    Alternately, if you want to manually edit the file where this code is contained, edit the /includes/languages/english/mainpage.php file.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    Member
    Join Date
    Apr 2009
    Posts
    30
    Rep Power
    0


    Default Re: Column_right and MainDefine Help

    Thanks i'll try that one out now, but boss, adding a box is proving to be a difficulty? Can you give a code of an empty box, and what to put in the admin section when adding a box. I thought maybe I could add a file in includes/boxes folder as adverts instead, but everytime I add a box, either nothing shows up, or one of the existing boxes show up??!!

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Column_right and MainDefine Help

    There is no code for an empty box. It will be specifically coded for whatever purpose you are trying to do.

    Look at the existing boxes for how to structure it. There is also a tutorial on adding new boxes posted in the forums.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    Member
    Join Date
    Apr 2009
    Posts
    30
    Rep Power
    0


    Default Re: Column_right and MainDefine Help

    1. The box issue. What am basically trying to do with the colum is add a image right in between 2 of the info boxes. Do you know an easy of doing it, or would I have to do an infobox?

    2. Maintext area sorted it out. Only issue here is that there is a "images/pixel_trans.gif" right above the text area. Do you know how to get rid of it? its not in the mainpage.php file.

  9. #9
    Member
    Join Date
    Apr 2009
    Posts
    30
    Rep Power
    0


    Default Re: Column_right and MainDefine Help

    Yup ok, number 2 sorted. Now am just stuck on number one. Any easy way of doing it?

Similar Threads

  1. Problem with column_right
    By amish_geek in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 07-20-2005, 12:34 AM
  2. Modifying column_right.php
    By Lord in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 08-24-2004, 02:46 PM
  3. Can I remove column_right.php from static pages?
    By robroymedia in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 07-26-2004, 05:34 PM

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
  •