Jump to content



Photo
- - - - -

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 - 00:25

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

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,135 posts

Posted 17 May 2012 - 00:25

sorry changing ok here
To improve is to change; to be perfect is to change often.

#23   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 00:27

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

#24   joli1811

joli1811

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,135 posts

Posted 17 May 2012 - 00:28

sorry changing ok here


Hi, well that is a different matter first your style sheets are changing so that problem is solved
To improve is to change; to be perfect is to change often.

#25   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 00:28

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

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,135 posts

Posted 17 May 2012 - 00:35

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 - 00:36.

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

#27   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 00:46

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

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,135 posts

Posted 17 May 2012 - 01:23

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.

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

#29   joli1811

joli1811

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,135 posts

Posted 17 May 2012 - 01:26

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...-version-2-3-1/

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

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

#30   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 06:54

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.


#31   burt

burt

    Vanquisher of Demons

  • Community Team
  • 9,828 posts

Posted 17 May 2012 - 07:57

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

There is a div that needs to be cleared for a background to show.
IF YOU MAKE A POST REQUESTING HELP...please state the exact version of osCommerce that you are using. THANKS
 
Big Bang Templates for 2.3 osCommerce - 2.3.1 > 2.3.4 - Buy One, Get One Free
 
--
Making your osCommerce better, one module at a time - get in touch.

#32   joli1811

joli1811

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,135 posts

Posted 17 May 2012 - 08:23

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
To improve is to change; to be perfect is to change often.

#33   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 08:32

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

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,135 posts

Posted 17 May 2012 - 08:57

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.

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

#35   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 19 May 2012 - 22:25

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]