Jump to content



Latest News: (loading..)

- - - - -

bad code or stupid human ?


This topic has been archived. This means that you cannot reply to this topic.
34 replies to this topic

#21   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 12:25 AM

i am experimenting with colors an codes because i am newbee and u get redirected because i didn't find a solutions to maintain the catalog root and be able to go directly to index when i type www.soundell.com - it will send me ot index of /catalog page

#22   joli1811

joli1811
  • Community Sponsor
  • 800 posts

Posted 17 May 2012 - 12:25 AM

sorry changing ok here

Attached Files



#23   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 12:27 AM

just type now and u will see what i was trying  to say

#24   joli1811

joli1811
  • Community Sponsor
  • 800 posts

Posted 17 May 2012 - 12:28 AM

View Postjoli1811, on 17 May 2012 - 12:25 AM, said:

sorry changing ok here

Hi, well that is a different matter first your style sheets are changing so that problem is solved

#25   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 12:28 AM

yes i can see that but i want that wrapp to be white and for Jupiter i can't modify that damn line o code

#26   joli1811

joli1811
  • Community Sponsor
  • 800 posts

Posted 17 May 2012 - 12:35 AM

View Postmariusmoisa, on 17 May 2012 - 12:28 AM, said:

yes i can see that but i want that wrapp to be white and for Jupiter i can't modify that damn line o code

Hi,
well that is where you installed your shop /public_html/catalog/ ... and here is ...stylesheet.css so this is the one that you want to change.

if you want your shop to be /public_html/stylesheet.css  you will need to upload the files to this level and then change 2 files /includes/configure.php  and admin/includes/configure.php

all the codes you have been given work I guess they are just going to the wrong place???

Edited by joli1811, 17 May 2012 - 12:36 AM.


#27   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 12:46 AM

the catalog/stylesheet.css is the one i am working on because this is where i can find that wrapp and the upload to server for the css goes to the catalog/ folder

#28   joli1811

joli1811
  • Community Sponsor
  • 800 posts

Posted 17 May 2012 - 01:23 AM

View Postmariusmoisa, on 17 May 2012 - 12:46 AM, said:

the catalog/stylesheet.css is the one i am working on because this is where i can find that wrapp and the upload to server for the css goes to the catalog/ folder
http://www.holylands.co.uk/



.ui-widget {
  font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;
  font-size: 11px;
}

body {
  background: #a4dfe7;
  color: #000;
  margin: 0px;
  font-size: 11px;
  font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;
}

#bodyWrapper {
background: #ffffff;
}

#bodyContent {
background: #ffffff;
}

#header {
background: #f2fafc;
  height: 60px;
}
.clear {
  clear: both;
}

#storeLogo {
  float: left;
  margin-top: 5px;
}

Edited by joli1811, 17 May 2012 - 01:24 AM.


#29   joli1811

joli1811
  • Community Sponsor
  • 800 posts

Posted 17 May 2012 - 01:26 AM

View Postjoli1811, on 17 May 2012 - 01:23 AM, said:

http://www.holylands.co.uk/



.ui-widget {
  font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;
  font-size: 11px;
}

body {
  background: #a4dfe7;
  color: #000;
  margin: 0px;
  font-size: 11px;
  font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;
}

#bodyWrapper {
background: #ffffff;
}

#bodyContent {
background: #ffffff;
}

#header {
background: #f2fafc;
  height: 60px;
}
.clear {
  clear: both;
}

#storeLogo {
  float: left;
  margin-top: 5px;
}


you will also have to change your template bottom to clear the float the answer was by multimixer again he is pretty good with the grid

http://multimixer.gr/01/12/2010/how-to-set-backgrounds-in-oscommerce-version-2-3-1/

Edited by joli1811, 17 May 2012 - 01:26 AM.


#30   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 06:54 AM

thank you for that i will try later to clear , because all of the modification changed the site and i must reinstall ; but i have question : your site url goes to main without the '' index of / '' page , can u tell me what i am doing wrong ? because when i type www.soundell.com i go to index page and then select the catalog and then , and only then , i get to my site ...

Edited by mariusmoisa, 17 May 2012 - 06:56 AM.


#31 ONLINE   burt

burt

    Code Monkey

  • Community Team
  • 7,871 posts

Posted 17 May 2012 - 07:57 AM

@joli1811 has the correct answer to a known bug/issue.  

There is a div that needs to be cleared for a background to show.
Dummies guide to designing osCommerce 2.3 Click Me

Or maybe a ready made theme for your shop ??

Warning: My posts may contain Horsemeat.

#32   joli1811

joli1811
  • Community Sponsor
  • 800 posts

Posted 17 May 2012 - 08:23 AM

View Postmariusmoisa, on 17 May 2012 - 06:54 AM, said:

thank you for that i will try later to clear , because all of the modification changed the site and i must reinstall ; but i have question : your site url goes to main without the '' index of / '' page , can u tell me what i am doing wrong ? because when i type www.soundell.com i go to index page and then select the catalog and then , and only then , i get to my site ...

Hi,
There is nothing wrong it is just that by default osc installs in a folder called /public_html/catalog  my site is installed at top level which is /public_html/ .
To install the site directly in  /public_html/  (top level)   you must first OPEN the catalog folder then upload all the files inside the catalog folder itself you do not upload.
John

#33   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 08:32 AM

well that is the problem because i've seen on many contributions that are code lines with address catalog/image... or catalog/includes/... and so one ... and i made an install with just the content but some contributions didn't work .

#34   joli1811

joli1811
  • Community Sponsor
  • 800 posts

Posted 17 May 2012 - 08:57 AM

View Postmariusmoisa, on 17 May 2012 - 08:32 AM, said:

well that is the problem because i've seen on many contributions that are code lines with address catalog/image... or catalog/includes/... and so one ... and i made an install with just the content but some contributions didn't work .

You can put osc anywhere you want but you must make sure that the 2 x conigure files also point ( are adjusted ) to where the shop is actually installed
/public_html/includes/configure.php and /public_html/admin/includes/configure.php
/public_html/CATALOG/includes/configure.php and or /public_html/CATALOG/admin/includes/configure.php.

If you open the files  you should see what I mean these are the 2 x files that say where your shop resides.
John

Edited by joli1811, 17 May 2012 - 08:58 AM.


#35   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 19 May 2012 - 10:25 PM

well the div broke and i could put the image on the background - i thank you for that . for the index of page i've received some help from Mrphil and it was simple : put the htaccess file in the root and put in the htaccess the lines :

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/catalog [NC]
RewriteRule ^(.*)$ /catalog/$1 [L]