Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 25, 2012, 12:37:45 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155504
Posts in
21710
Topics by
7736
Members
Latest Member:
deenangle
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
Change index.php to index2.php when adding new page...
Pages: [
1
]
Go Down
Author
Topic: Change index.php to index2.php when adding new page... (Read 6504 times)
bsp4750-denmark
Offline
Posts: 6
Change index.php to index2.php when adding new page...
«
on:
May 25, 2009, 12:15:50 PM »
Hey everybody.
Is it possible to change the way new pages are generated in, so that insted of
<?php
$page_id = 17;
require("../config.php");
require(WB_PATH."/index.php");
?>
it automatic will look like this,
<?php
$page_id = 17;
require("../config.php");
require(WB_PATH."/
index2
.php");
?>
(playing with WB2.7)
Logged
BerndJM
Offline
Posts: 1764
Re: Change index.php to index2.php when adding new page...
«
Reply #1 on:
May 25, 2009, 12:34:19 PM »
Hi,
this entry is generated in /framework/functions.php at line ~467 in the function create_access_file()
But be aware that changes in the core files may be overwritten during an update!
Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.
bsp4750-denmark
Offline
Posts: 6
Re: Change index.php to index2.php when adding new page...
«
Reply #2 on:
May 25, 2009, 01:07:50 PM »
thanks.
it works, great.
//BSP4750
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...