Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 24, 2012, 08:55:56 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155442
Posts in
21702
Topics by
7731
Members
Latest Member:
zvaigzdzius
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
Make Admin access from front end login only
Pages: [
1
]
Go Down
Author
Topic: Make Admin access from front end login only (Read 596 times)
daydreamer
Offline
Posts: 252
Make Admin access from front end login only
«
on:
October 20, 2008, 08:15:27 PM »
This maybe a very strange question.
Re-naming Admin causes a few minor errors, I would like /admin to be hidden some how, Not a password protected directory (HIDDEN), And users & Admins login via front end and redirect to Admin after correct login.
Is this possible in anyway.
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2294
Re: Make Admin access from front end login only
«
Reply #1 on:
October 20, 2008, 09:20:20 PM »
You can change the admin path.
You can create a frontend login.
With some tricks you might be able to auto-redirect to the changed admin path.
Then the browser window/page properties will tell what the admin path is and you are back where you started. The admin path will be known to your customer/user/login-er.
In the end you cannot hide the url that deep so it cannot be found.
Ruud
Logged
Professional WebsiteBaker Solutions
daydreamer
Offline
Posts: 252
Re: Make Admin access from front end login only
«
Reply #2 on:
October 20, 2008, 09:59:05 PM »
Thanks for that, I would be happy just to rename admin but javascript admin will not work.
It enables just does not work.
Should admin be renamed before install or after to make it work correct ?
«
Last Edit: October 20, 2008, 10:01:56 PM by daydreamer
»
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2294
Re: Make Admin access from front end login only
«
Reply #3 on:
October 20, 2008, 10:04:30 PM »
I never tried renaming the admin path myself.
I assume you have set the correct admin pathurl in your config.php?
Ruud
Logged
Professional WebsiteBaker Solutions
daydreamer
Offline
Posts: 252
Re: Make Admin access from front end login only
«
Reply #4 on:
October 20, 2008, 10:10:37 PM »
Changed config.php javascript admin will not work, So just makes me wonder if renaming what other errors it may cause for the future. Maybe best leaving it alone I suppose, Just that /admin is very common.
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2294
Re: Make Admin access from front end login only
«
Reply #5 on:
October 20, 2008, 10:33:06 PM »
The /modules/jsadmin/js/dragdrop.js has some direct references to the /admin/ folder.
This is difficult to build javascript in such way it will use the PHP settings. You would need to modify them manually.
You are right, there could be more side effects on changing the path. There might be code in there that uses hardcoded paths.
Just like normal modules sometimes use hardcoded /pages/, the admin stuff is made by humans also.
Ruud
Logged
Professional WebsiteBaker Solutions
daydreamer
Offline
Posts: 252
Re: Make Admin access from front end login only
«
Reply #6 on:
October 20, 2008, 10:58:06 PM »
Your right about the dragdrop.js think I will leave it alone, A little time consuming going through all that.
I would say it would show more errors weeks, Months down the line, Then just more sorting out finished sites which is what I don't want to happen.
Thanks
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...