Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Make LSQL build some flat pages (FAQs for exemple)

Quote Reply
Make LSQL build some flat pages (FAQs for exemple)
HiWink

I have about 20 flat pages to build (FAQs, who are we, sponsors, copyrights, contacts...)

I'd like LSQL 2.1 to build those pages for me so I did create my needed templates ( FAQ.htm, whoarewe.htm, sponsors.htm, copyrights.htm, contacts.htm...)

Where do I have to specify LSQL to build all these pages?

May theses pages be build as follow?

www.mysite.com/us/contacts.htm
www.mysite.com/us/whoarewe.htm
www.mysite.com/us/sponsors.htm

www.mysite.com/anotherfolder/FAQ.htm

www.mysite.com/yetanotherfolder/copyrights.htm

Thanks

FMPWink
Quote Reply
Re: [fmp] Make LSQL build some flat pages (FAQs for exemple) In reply to
I am in the same situation.

I have built such a system for building other pages (i.e. "non links" pages) for Links 2.0. At the moment, I am just switching from Links 2.0 to LinksSQL, and I will build a plugin for this, but that will only be in a few weeks time....

Basically, there will be a table in the database that stores all the information about the page (like title, directory, filename), and the actual content of the file will be stored in a template (in a special "other pages" template folder). You will of course be able to use all the globals of your default template set.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Make LSQL build some flat pages (FAQs for exemple) In reply to
HiWink

that would be great...just tell me when you will have finished it :)

If any one else has already done a such thing...could you help us....


thanks.......Wink


FMP
Quote Reply
Re: [fmp] Make LSQL build some flat pages (FAQs for exemple) In reply to
Hi,

So,... does someone know how to make LSQL build some pages (not database based) like FAQ page, contact page...



ThanksWink



FMP
Quote Reply
Re: [fmp] Make LSQL build some flat pages (FAQs for exemple) In reply to
Hi,

Currently it involves editing nph-build.cgi in order to do this.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Make LSQL build some flat pages (FAQs for exemple) In reply to
Alex,
It is not a bad idea, to have some selected categories, which are built static, and other categories which are displayed dynamically.
Let we name this suggested feature "Category based dynamic mode".

Solution:
Would need a new column in category table, named IsDynamic, and a few 'IF' statements to check whether we display static or dynamic links for this category.

Alex, remember this could be related to our discussion about "URL generating":
http://www.gossamer-threads.com/...i?post=189941#189941
The changes should be done after the suggestions in above "URL generating" thread was developed, finished, then the changes can be done for this feature.

Waiting your opinion.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...