Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
chubbyboy
Yes, you can't use two different directories with the same database.
You can have:
http://www.abc.com/blablablabla
and
http://localhost/blablablabla
You can't have
http://localhost/www.abc.com/blablablabla
This is where you are misunderstanding how things work and why things are going wrong.
You must set up a site on your local server with a unique domain name. E.g.
http://www.abc.local
You can add www.abc.local into your hosts file so it maps to localhost (127.0.0.1) and have Apache watch the localhost address (127.0.0.1) with NameVirtualhost * etc.
If you don't know what that means I can't help you here.. please search the internet for guides on setting up Apache on a local machine.
Hope that helps!
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi,
How are you?
Hope you're having a good Christmas! :)
Quote:
Originally Posted by
DivaVocals
I agree.. it's not the module.. the image is being loaded fine, as is the CSS file for the page.
In fact, I can tell you exactly why the login image, which is 100px wide, isn't being fully displayed on that page.. its input tag has a style="width: 80px;" attribute!
Please be more careful in future Alan when you are posting for support for something! :)
Thanks for helping yet again DivaVocals! :)
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Had a GREAT Christmas.. (got a USB turntable!! whoo hoo!!) How about you??
Happy to throw in my three cents when it's relevant.. :smile:
Quote:
Originally Posted by
conor
Hi,
How are you?
Hope you're having a good Christmas! :)
I agree.. it's not the module.. the image is being loaded fine, as is the CSS file for the page.
In fact, I can tell you exactly why the login image, which is 100px wide, isn't being fully displayed on that page.. its input tag has a style="width: 80px;" attribute!
Please be more careful in future Alan when you are posting for support for something! :)
Thanks for helping yet again DivaVocals! :)
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
How are you?
Hope you're having a good Christmas! :)
I agree.. it's not the module.. the image is being loaded fine, as is the CSS file for the page.
In fact, I can tell you exactly why the login image, which is 100px wide, isn't being fully displayed on that page.. its input tag has a style="width: 80px;" attribute!
Please be more careful in future Alan when you are posting for support for something! :)
Thanks for helping yet again DivaVocals! :)
All the best...
Conor
ceon
Hello Conor and DivaVocals,
I found the css file which defined as below:
.button_create_account {
background:url(../images/theme-1/button_new_account.gif) no-repeat;
display:block;
width:179px;
height:26px;
border:0 none;
line-height:0;
text-indent:-9999px;
font-size:0;
cursor:pointer;
so actually, the image width is 179px, but now it only 80 px.
I have try to add the /includes/templates/lightinthebox/images
in the css files.
but it seems that, the button can't diaply completely either.
how to edit input tag?
Thank you.
Alan
Re: Ceon URI Mapping (SEO)
You really should start another thread to get assistance on this as it's not related to the Ceon SEO module.. Also make sure you wrap any code or CSS in your posts with the "code" tags so your code doesn't get smilies inserted into it inadvertently.
Your CSS without code tags:
.button_create_account {
background:url(../images/theme-1/button_new_account.gif) no-repeat;
display:block;
width:179px;
height:26px;
border:0 none;
line-height:0;
text-indent:-9999px;
font-size:0;
cursor:pointer;
Your CSS with code tags
Code:
.button_create_account {
background:url(../images/theme-1/button_new_account.gif) no-repeat;
display:block;
width:179px;
height:26px;
border:0 none;
line-height:0;
text-indent:-9999px;
font-size:0;
cursor:pointer;
Quote:
Originally Posted by
alan145
Hello Conor and DivaVocals,
I found the css file which defined as below:
.button_create_account {
background:url(../images/theme-1/button_new_account.gif) no-repeat;
display:block;
width:179px;
height:26px;
border:0 none;
line-height:0;
text-indent:-9999px;
font-size:0;
cursor:pointer;
so actually, the image width is 179px, but now it only 80 px.
I have try to add the /includes/templates/lightinthebox/images
in the css files.
but it seems that, the button can't diaply completely either.
how to edit input tag?
Thank you.
Alan
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Yes, you can't use two different directories with the same database.
You can have:
http://www.abc.com/blablablabla
and
http://localhost/blablablabla
You can't have
http://localhost/www.abc.com/blablablabla
This is where you are misunderstanding how things work and why things are going wrong.
You must set up a site on your local server with a unique domain name. E.g.
http://www.abc.local
You can add
www.abc.local into your hosts file so it maps to localhost (127.0.0.1) and have Apache watch the localhost address (127.0.0.1) with NameVirtualhost * etc.
If you don't know what that means I can't help you here.. please search the internet for guides on setting up Apache on a local machine.
Hope that helps!
All the best...
Conor
ceon
Hi thanks for the explanations, so i will need to setup exactly the same as the live site in order to let it work?
let me get the tutorials for that.. I have read the articles before but I just know that has always been causing the trouble.
thanks! cheers :clap:
Re: Ceon URI Mapping (SEO)
Hello DivaVocals,
Really confused about that.
1.Before installing the Ceon URI Mapping (SEO), all buttons display OK.
2. after installing Ceon URI Mapping, the buttons can't display completely.
3. I have checked the CSS, the defined width is 179px, but actually displayed width is 80 ps.
so I am thinking, after using Ceon URI Mapping, the web page can't use the css files.
4. then I check and do according to conor
/includes/templates/lightinthebox/css/style_imagehover.css
instead of
includes/templates/lightinthebox/css/style_imagehover.css
background:url(../images/icoBg.gif)
instead of
background:url(/includes/templates/lightinthebox/images/icoBg.gif)
the prooblem is still there.
Alan
Re: Ceon URI Mapping (SEO)
Seriously, this is NOT an issue with this module.. It's either a stylesheet issue or as Conor pointed it's because you have an inline style hardcoded into the pages that sets the button width to a value less than the actual width of the button image. Either way, this REALLY isn't an issue with this mod.. The fact that this issue came to light after you installed this mod is PURELY a coincidence.
If you take my suggestion and create a new thread, you will get better responses which will help address your exact issue. Try posting this in the CSS forum. I promise you that's where your answer is..
Quote:
Originally Posted by
alan145
Hello DivaVocals,
Really confused about that.
1.Before installing the Ceon URI Mapping (SEO), all buttons display OK.
2. after installing Ceon URI Mapping, the buttons can't display completely.
3. I have checked the CSS, the defined width is 179px, but actually displayed width is 80 ps.
so I am thinking, after using Ceon URI Mapping, the web page can't use the css files.
4. then I check and do according to conor
/includes/templates/lightinthebox/css/style_imagehover.css
instead of
includes/templates/lightinthebox/css/style_imagehover.css
background:url(../images/icoBg.gif)
instead of
background:url(/includes/templates/lightinthebox/images/icoBg.gif)
the prooblem is still there.
Alan
Re: Ceon URI Mapping (SEO)
Hi Alan,
It's not your CSS which is at fault.. it's the code in your template.
Look at the source of your templates for the line I posted previously
style="width: 80px;"
All the talk about differences between when you installed the module and when you didn't are unfortunately user error on your part, and merely coincidences.
Please start another thread about this if you need further help, you can link to it from here if you like.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Alan,
It's not your CSS which is at fault.. it's the code in your template.
Look at the source of your templates for the line I posted previously
style="width: 80px;"
All the talk about differences between when you installed the module and when you didn't are unfortunately user error on your part, and merely coincidences.
Please start another thread about this if you need further help, you can link to it from here if you like.
All the best...
Conor
ceon
Actually there are SEVERAL inline styles like this which are the issue.. (I took a quick tour through his site last night..) Either way, CLEARLY the issue is not with this mod..