Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:34 pm EST
Geeklog Forums
Question for Dirk about staticpages
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
Dirk,
I'm trying to make a plugin called homepages. Basically I want to be able to give my users a way to make their own homepage on my site.
I figured the best way was to copy staticpages, and strip it down a little.
So, I've made a plugin called homepages with the same files as staticpages except I've change the table from staticpage to homepage, and variables from sp_ to hp_ and language from STATIC to HOME....anywhere the word static appeared I replaced it with home (basically mass find and replace) should be simple right?
But all I get is sql syntax errors.
So what makes staticpages special, so this cannot be done?
Thanks, and Happy Holidays
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
I'm trying to make a plugin called homepages. Basically I want to be able to give my users a way to make their own homepage on my site.
I figured the best way was to copy staticpages, and strip it down a little.
So, I've made a plugin called homepages with the same files as staticpages except I've change the table from staticpage to homepage, and variables from sp_ to hp_ and language from STATIC to HOME....anywhere the word static appeared I replaced it with home (basically mass find and replace) should be simple right?
But all I get is sql syntax errors.
So what makes staticpages special, so this cannot be done?
Thanks, and Happy Holidays
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
7
8
Quote
Status: offline
drshakagee
Forum User
Full Member
Registered: 10/01/03
Posts: 231
I never tried but it sounds like the upage plugin was written to do just what you want. Search the forum for upage. Here is a thread with a download link http://www.geeklog.net/forum/viewtopic.php?forum=2&showtopic=48385&highlight=upage.
Yes I am mental.
Yes I am mental.
10
11
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
That is what I'm looking for.
I searched Homepages, Mypages everything except for userpages of course.
Thanks, that will save me a ton of work.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
I searched Homepages, Mypages everything except for userpages of course.
Thanks, that will save me a ton of work.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
10
9
Quote
All times are EST. The time is now 06:34 pm.
- 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