|
Blank homepage
|
| Henrik Brobeck |
Lagt på d. 31-03-2011 21:40
|

Bruger

Antal indlæg: 40
Tilmeldt: 22.02.11
Sidst set: 12.04.11
On/Offline:
Offline
Status:
Ingen status er valgt
Dagens humør:
Ikke valgt
|
Hey.
I wonder if its possible to make the page you come to first when u enter url (firstpage).
If its possible to remove the news from it and just have panels.
I whould like to have a panel that looks better then the existing newspanel, but i dont want to remove my panels that i have.
Best regards! |
|
|
|
|
|
|
| Smokeman |
Lagt på d. 31-03-2011 22:01
|

Super Administrator

Antal indlæg: 12086
Tilmeldt: 25.01.08
Sidst set: 04.03.13
On/Offline:
Offline
Status:
Far til fire :-)
Dagens humør:

|
Hi Henrik.
Yes, it's possible.
1. Put the following code into a new empty .php-file and name it home.php - then upload it to the root of your server:
Kode<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
require_once THEMES."templates/footer.php";
?>
2. Log on to your site and go to: Admin Panel->Settings->Main - and in the field "Site opening page:" you change from news.php to home.php
3. Done!
Redigeret af Smokeman d. 31-03-2011 22:01 |
|
|
|
|
|
|
| Henrik Brobeck |
Lagt på d. 31-03-2011 22:48
|

Bruger

Antal indlæg: 40
Tilmeldt: 22.02.11
Sidst set: 12.04.11
On/Offline:
Offline
Status:
Ingen status er valgt
Dagens humør:
Ikke valgt
|
Thanks! It works!
EDIT: Well.. No it dosent.
When i press my logo i get to a page with just news.
And when i enter my url the same happends.
Redigeret af Henrik Brobeck d. 31-03-2011 22:50 |
|
|
|
|
|
|
| Smokeman |
Lagt på d. 31-03-2011 23:16
|

Super Administrator

Antal indlæg: 12086
Tilmeldt: 25.01.08
Sidst set: 04.03.13
On/Offline:
Offline
Status:
Far til fire :-)
Dagens humør:

|
A link to the site so I can see ? |
|
|
|
|
|
|
| Henrik Brobeck |
Lagt på d. 31-03-2011 23:21
|

Bruger

Antal indlæg: 40
Tilmeldt: 22.02.11
Sidst set: 12.04.11
On/Offline:
Offline
Status:
Ingen status er valgt
Dagens humør:
Ikke valgt
|
www.skdyk.se |
|
|
|
|
|
|
| Smokeman |
Lagt på d. 31-03-2011 23:25
|

Super Administrator

Antal indlæg: 12086
Tilmeldt: 25.01.08
Sidst set: 04.03.13
On/Offline:
Offline
Status:
Far til fire :-)
Dagens humør:

|
Have you typed in your correct site URL under Admin Panel->Settings->Main ?
It must be like: http://www.skdyk.se/
If it won't work for you - then I don't know. I have never seing that it wont work..  |
|
|
|
|
|
|
| Henrik Brobeck |
Lagt på d. 31-03-2011 23:26
|

Bruger

Antal indlæg: 40
Tilmeldt: 22.02.11
Sidst set: 12.04.11
On/Offline:
Offline
Status:
Ingen status er valgt
Dagens humør:
Ikke valgt
|
Site URL: http://www.skdyk.se/
Site opening page: startsida.php
is that wrong? |
|
|
|
|
|
|
| Smokeman |
Lagt på d. 31-03-2011 23:31
|

Super Administrator

Antal indlæg: 12086
Tilmeldt: 25.01.08
Sidst set: 04.03.13
On/Offline:
Offline
Status:
Far til fire :-)
Dagens humør:

|
That not wrong - but like it should be.
I really can't see why it wont work for you - have you modificated something on/at your site - specially regarding the admin-files ? |
|
|
|
|
|
|
| Henrik Brobeck |
Lagt på d. 31-03-2011 23:37
|

Bruger

Antal indlæg: 40
Tilmeldt: 22.02.11
Sidst set: 12.04.11
On/Offline:
Offline
Status:
Ingen status er valgt
Dagens humør:
Ikke valgt
|
Nope... OR maybe. One of your threads, where you told how to get a skdyk.se insteed of skdyk.se/index.php.
I renamed the news.php to index.php |
|
|
|
|
|
|
| Smokeman |
Lagt på d. 31-03-2011 23:45
|

Super Administrator

Antal indlæg: 12086
Tilmeldt: 25.01.08
Sidst set: 04.03.13
On/Offline:
Offline
Status:
Far til fire :-)
Dagens humør:

|
Hehe, ok I remember. I did not thought that you renamed the file itself (news.php) to index.php
What I meant in that thread was - like I told you now: To change the news.php in the field "Site opening page:" to home.php
Reupload the file /news.php and /index.php from the PHP-Fusion download-package and your site should work like supposed to. |
|
|
|
|
|
|
| Henrik Brobeck |
Lagt på d. 01-04-2011 08:42
|

Bruger

Antal indlæg: 40
Tilmeldt: 22.02.11
Sidst set: 12.04.11
On/Offline:
Offline
Status:
Ingen status er valgt
Dagens humør:
Ikke valgt
|
Ok. It works now, but the website gets messy when im logged out.
If you look at this image.

The image thats up is the one thats right and the one i want it.
But when i logout the site gets messy and the panels moves.
The login panel to the right brings down so i cant see it.
Why?
|
|
|
|
|
|
|
| Smokeman |
Lagt på d. 01-04-2011 10:10
|

Super Administrator

Antal indlæg: 12086
Tilmeldt: 25.01.08
Sidst set: 04.03.13
On/Offline:
Offline
Status:
Far til fire :-)
Dagens humør:

|
That problem have nothnig to do with the change of your site opening page. I think it must be one of your panels that causes this.
Solution: Disable one panel after the other - and for each one you have disabled you log out of the site - and see if the error still appears. That way you can find that one panel that causes your problem. |
|
|
|
|
|
|
| Henrik Brobeck |
Lagt på d. 01-04-2011 11:04
|

Bruger

Antal indlæg: 40
Tilmeldt: 22.02.11
Sidst set: 12.04.11
On/Offline:
Offline
Status:
Ingen status er valgt
Dagens humør:
Ikke valgt
|
Yea. Thats the problem.
But why does it work when i have news.php as startpage?
This panel is the problem
GeSHi: PHPecho "<table cellpadding='2px' cellspacing='0' width='100%' class='main'><tr>\n"; echo "<td width='65%'>"; require_once INFUSIONS."forum_threads_list_panel/forum_threads_list_panel.php"; echo"</td>"; echo "<td width='35%'>"; require_once INFUSIONS."photowidget_panel/photowidget_panel.php"; echo"</td>";
Markeret på 0.043 sekunder med GeSHi 1.0.8.10
And this:
GeSHi: PHPecho "<table cellpadding='2px' cellspacing='0' width='100%' class='main'><tr>\n"; echo "<td width='64%'>"; require_once INFUSIONS."aw_ecal_panel/aw_ecal_panel.php"; echo"</td>"; if (iMEMBER) { echo "<td width='36%'>"; require_once INFUSIONS."deluxe_last_online_panel/deluxe_last_online_panel.php"; echo"</td>"; } if (iGUEST) { echo "<td width='36%' height='350px' >"; openside("Varför ska du bli medlem på skdyk?"); echo "<br> *Du kan ladda upp bilder med hög kvalite.<br> *Du kan dela videoklipp med andra medlemmar och kolla på andras.<br> *Du får skriva i forumet<br> *Du kan skapa din egna grupp och på så vis få tillgång till unika funktioner som gruppmedlem.<br> *Du kommer träffa nya dykkamrater.<br> *Du kan skicka in dykplatser,bilder,texter eller länkar och bidra till en bättre hemsida.<br> *Du får tillgång till ett eget album där du kan ladda upp privata bilder i HD.<br> *Du kan lägga in events i kalendern<br> *Du får tillgång till andra medlemmars profiler och olika sätt att kontakta dom.<br> *Använda skdykmessenger för att kommunicera med medlemmarna på ett snabbt sätt.<br> <a href='/register.php' target='_blank'>Bli medlem!</a><br>"; closeside(); closeside(); }
Markeret på 0.045 sekunder med GeSHi 1.0.8.10
Redigeret af Henrik Brobeck d. 01-04-2011 11:11 |
|
|
|
|
|
|
| Smokeman |
Lagt på d. 01-04-2011 19:11
|

Super Administrator

Antal indlæg: 12086
Tilmeldt: 25.01.08
Sidst set: 04.03.13
On/Offline:
Offline
Status:
Far til fire :-)
Dagens humør:

|
Kodeecho "<table cellpadding='2px' cellspacing='0' width='100%' class='main'><tr>\n";
echo "<td width='65%'>";
require_once INFUSIONS."forum_threads_list_panel/forum_threads_list_panel.php";
echo"</td>";
echo "<td width='35%'>";
require_once INFUSIONS."photowidget_panel/photowidget_panel.php";
echo"</td>";
echo "</tr></table>";
Kodeecho "<table cellpadding='2px' cellspacing='0' width='100%' class='main'><tr>\n";
echo "<td width='64%'>";
require_once INFUSIONS."aw_ecal_panel/aw_ecal_panel.php";
echo"</td>";
if (iMEMBER) {
echo "<td width='36%'>";
require_once INFUSIONS."deluxe_last_online_panel/deluxe_last_online_panel.php";
echo"</td>";
}
if (iGUEST) {
echo "<td width='36%' height='350px'>";
openside("Varför ska du bli medlem på skdyk?");
echo "<br>
*Du kan ladda upp bilder med hög kvalite.<br>
*Du kan dela videoklipp med andra medlemmar och kolla på andras.<br>
*Du får skriva i forumet<br>
*Du kan skapa din egna grupp och på så vis få tillgång till unika funktioner som gruppmedlem.<br>
*Du kommer träffa nya dykkamrater.<br>
*Du kan skicka in dykplatser,bilder,texter eller länkar och bidra till en bättre hemsida.<br>
*Du får tillgång till ett eget album där du kan ladda upp privata bilder i HD.<br>
*Du kan lägga in events i kalendern<br>
*Du får tillgång till andra medlemmars profiler och olika sätt att kontakta dom.<br>
*Använda skdykmessenger för att kommunicera med medlemmarna på ett snabbt sätt.<br>
<a href='/register.php' target='_blank'>Bli medlem!</a><br>";
closeside();
echo "</td>";
}
echo "</tr></table>";
- prøv med de 2 koder. |
|
|
|
|
|
|
| Henrik Brobeck |
Lagt på d. 01-04-2011 21:51
|

Bruger

Antal indlæg: 40
Tilmeldt: 22.02.11
Sidst set: 12.04.11
On/Offline:
Offline
Status:
Ingen status er valgt
Dagens humør:
Ikke valgt
|
Sorry. Did not work. The loginpanel is still under the other. |
|
|
|
|
|