PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old April 18th, 2006, 11:20 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
pear real module system

Hello, I'm trying to start with pear and I've got it running and made a few examples but I have some questions/problems...

I want to make a site that is modular, so I can add stuff to it when I want.. So pretend I have a site about my vacation. I want it to have a module blog, a module photo album and a module guestbook...

When someone comes to my site I want him to have those 3 options, guestbook, photo album and blog. But how do I make it so that those links are dynamicly generated (so when I decide to delete blog the like is gone) and how can I access my blog for example and still have the other options?

I know it's hard to understand, but I'm really stuck... I've googled but I only found this:

http://www.phpbuilder.com/columns/meyers20041216.php3?page=2

which does'nt implements the links and stuff... :s

Reply With Quote
  #2  
Old April 19th, 2006, 02:04 AM
lig's Avatar
lig lig is offline
"Forum Nazi"
Codewalkers Demi-God (4500 - 4999 posts)
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,729 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 1 h 32 m 7 sec
Reputation Power: 6
RE: pear real module system

Well I can think of a couple of options off the top off my head... you can set up your directory so that the various sections of the site are directories and you list the directories in the www file. This will require some strict complience for you and will make it harder if you choose to add directories that you don't want listed.

another option is to make an array or valid sections of the site and with that create a base directory path and do a is_dir() check if it is true - make the link to it...

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > pear real module system


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT