Welcome to Geeklog, Anonymous Thursday, June 20 2024 @ 02:48 am EDT

Geeklog Forums

htmlArea - only for Admin area


Status: offline

shpolbder

Forum User
Newbie
Registered: 11/04/03
Posts: 5
htmlArea is great additions for Geeklog but I'd like to implement it only for Admin area. In this case visitor do not need to load rather big editor script on any visited page. But how make htmlArea load only on Admin page and not main and other public pages? Thanks in advance.
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 08/12/02
Posts: 300
You only need to put the code for HTMLArea in the templates that you want it in.

HTMLArea 3.0 which supports many more browsers and has things like spell checking, should be about ready to come out of beta. How about someone step up and make a package for Geeklog.

TomW
 Quote

Status: offline

shpolbder

Forum User
Newbie
Registered: 11/04/03
Posts: 5
The matter is initial loading code

adding in area of pages which is common fo ALL pages of template. Or an I wrong?
 Quote

Status: offline

shpolbder

Forum User
Newbie
Registered: 11/04/03
Posts: 5
ADD-ON

I am speaking about this block

_editor_url = "";
document.write('');

which adding in HEAD area of page.
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 08/12/02
Posts: 300
You can move that to each individual template.

TomW
 Quote

All times are EDT. The time is now 02:48 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content