Arne, as a follow up.... here is what I am finding... see if this
helps identify the problem....
Can you do a View Source of the page your server is producing as the
home page of your social network site.... and look to see the text
that looks like:
<div id="wrapper">
<div id="top" >
<a href="/public/"><img alt="Logo" class="png left"
src="http://your.site.net/public/images/logo.png?1233412640" /></a>
<div class="right text_r">
<a href="/public/">Newest Stuff</a>
<a href="/public/forums">Forums</a>
What I am finding is that the extra "/public/" within <a href="/
public/"> is the problem....
When I compare the View Source of the try.lovdbyless.com demo site, I
see:
<div id="wrapper">
<div id="top" >
<a href="/"><img alt="Logo" class="png left" src="http://
try.lovdbyless.com/images/logo.png?1214926093" /></a>
<div class="right text_r">
<a href="/">Newest Stuff</a>
<a href="/forums">Forums</a>
That is, there is no extra /public/ in there.
I am trying to isolate the place where this extra /public is coming
from. I found a file in /vendor/plugins/file_column/lib/file_column.rb
that has:
# default options. You can override these with +file_column+'s
+options+ parameter
DEFAULT_OPTIONS = {
:root_path => File.join(RAILS_ROOT, "public"),
:web_root => "",
which so far is the only place I have found "public" specifically
added. I did try to delete the word public and retry but my site still
shows the broken images and the word "public" still appears in my
source so it is likely something else in the global settings that
helps generate the wrapper.
If someone can help narrow down what file or variable this may be
coming from, it will be most appreciated.
Imran
On Sep 9, 3:44 am, "IMRAN.TV" <[email protected]> wrote:
> Jonathan, I was going to ask the same question Arne asked. Your answer
> suggests you know what Arne is doing wrong, so it would be great to
> hear a little more detail or suggestions on what he (or I or others)
> could be "doin it wrong" so we can benefit from your experience and
> knowledge.
>
> regards
>
> Imran
>
> On Aug 18, 6:58 pm, Jonathon Brenner <[email protected]> wrote:
>
>
>
> > ur doin it wrong
>
> > On Tue, Aug 18, 2009 at 1:23 AM, Arne Paulsen
> > <[email protected]>wrote:
>
> > > I have LBL up-and-running on my public Fedora server at
> > >www.jewishbeauti.com:3000,
> > > but the site looks awful.
>
> > > It looks like the stylesheets are not being service or something. It
> > > looks like a 1st grader built it!
>
> > > Do I need to design my own default layout? Or shouldn't the default
> > > home page look something like the demo?
>
> > > Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---