Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: agent47 on January 10th, 2013, 03:52 PM

Title: Why does Wedge look different for me?
Post by: agent47 on January 10th, 2013, 03:52 PM
So from day 1 I installed Wedge 0.1 Alpha 2 I've noticed that the layout hasn't looked the way it supposed. I never really bothered to report it because I thought it was supposed to look that way being an Alpha in it's early stage but then I look at fellow member Powerbob's site and see that it's not supposed to look that way so what's up with this? Here's a link to my test server?
http://67.231.245.218/~superher/wedge/index.php
Title: Re: Why does Wedge look different for me?
Post by: Arantor on January 10th, 2013, 03:55 PM
That would be because there are two different front page templates and the one you have is the default.
Title: Re: Why does Wedge look different for me?
Post by: agent47 on January 10th, 2013, 04:11 PM
No, see what I see mean:

This is Powerbob's site running on the standard 'Wedge' theme - http://www.pplb.net/wedge/

And this is my site running on the standard 'Wedge' theme - http://67.231.245.218/~superher/wedge/index.php

Do you notice how title bars and everything are all different between the two sites?
Sorry for sounding so very noob-ish.
Title: Re: Why does Wedge look different for me?
Post by: Arantor on January 10th, 2013, 05:45 PM
Look at the board indexes, they look the same. As I already said, there are two different templates, Bob is using one, you're using the other.

Look through the posts for where I explained Welcome vs Home, I'm not at home right now to look up the right setting to change.
Title: Re: Why does Wedge look different for me?
Post by: Nao on January 11th, 2013, 12:23 PM
It's a hidden admin setting. Go to phpmyadmin, edit the settings table, replace default_index (I think that's the variable name) to Home. Then voilĂ , you get your Wedge.org-style homepage. IIRC :P
Title: Re: Why does Wedge look different for me?
Post by: Arantor on January 11th, 2013, 01:13 PM
Yeah, that's the one. I didn't have that information handy when I was on my mobile.

Also, there will likely be complaints about a lack of Home.english language file, must fix that.
Title: Re: Why does Wedge look different for me?
Post by: Nao on January 11th, 2013, 01:40 PM
Well, yeah, there's still a lot to fix and everything, it's just that it's the kind of thing that can be done anytime, like, "okay enough people are complaining, I'll do that now...", right now I'm... not exactly the kind of guy who enjoys working on the UI and UX aspects really. I did that for Aeva Media and it was already taxing, but with Wedge it's such a bigger codebase... My priority if I started working on 'annoying things' would probably be writing the documentation for Wess and stuff like that...
Title: Re: Why does Wedge look different for me?
Post by: Arantor on January 11th, 2013, 01:43 PM
Yeah, I know what you mean - a lot of what I'm doing is much of that category ;)
Title: Re: Why does Wedge look different for me?
Post by: agent47 on January 11th, 2013, 04:15 PM
Nope, I don't think that's not the variable. In fact I couldn't find such a variable.
Title: Re: Why does Wedge look different for me?
Post by: Arantor on January 11th, 2013, 05:17 PM
Or maybe the variable is not set by default and you have to set it yourself.
Title: Re: Why does Wedge look different for me?
Post by: Nao on January 11th, 2013, 05:59 PM
No, I think it's definitely set by default.

Code: [Select]
('default_index', 'Welcome'),
Title: Re: Why does Wedge look different for me?
Post by: agent47 on January 12th, 2013, 03:16 AM
So let me get this straight; I open phpMyAdmin > click on DB that Wedge is running on > and run the above SQL query. Correct?
Edit: I did that and got this error: "You have to choose at least one column to display". I'm probably not doing it right. I should have you know that my knowledge of SQL DBs is nil.
Title: Re: Why does Wedge look different for me?
Post by: Arantor on January 12th, 2013, 03:19 AM
No... you open phpMyAdmin, click on the database, find wedge_settings, then go through the wedge_settings table until you find a row where the 'variable' column has an entry of 'default_index', then you click on the edit button for that row and change the value from Welcome to Home.
Title: Re: Why does Wedge look different for me?
Post by: agent47 on January 12th, 2013, 03:29 AM
Thanks, that did it. Also appreciate the swift reply. :)
Title: Re: Why does Wedge look different for me?
Post by: Drunken Clam on January 22nd, 2013, 04:13 PM
I thought I'd try this myself too. :whistle:

And yay! it works just fine! (well, apart from the Home.english glitch!)

Kudos :cool:

Title: Re: Why does Wedge look different for me?
Post by: Nao on January 22nd, 2013, 04:42 PM
(What is it with Home.english?)
Title: Re: Why does Wedge look different for me?
Post by: Arantor on January 22nd, 2013, 04:47 PM
The fact it's called for in Home.template.php but doesn't exist.
Title: Re: Why does Wedge look different for me?
Post by: Nao on January 22nd, 2013, 05:19 PM
Hmm... Maybe I should just delete these lines then.
Actually my own copy is an empty file...
Title: Re: Why does Wedge look different for me?
Post by: Arantor on January 22nd, 2013, 05:23 PM
So's mine :^^;: