Difference between revisions of "DPL talk:FAQ"

From FollowTheScore
Jump to: navigation, search
Line 11: Line 11:
  
  
I'm trying to work on this website
+
I'm trying to work on this website<br>
http://www.collaborativelandscape.org/wiki/ARCH_728_2007
+
http://www.collaborativelandscape.org/wiki/ARCH_728_2007<br>
We are using DPL to make categories.
+
We are using DPL to make categories.<br>
If you'll look under Department/University Resources there are two pages,
+
If you'll look under Department/University Resources there are two pages,<br>
NDSU Homepage and Architectural Department Homepage that I want to actually link to external pages.
+
NDSU Homepage and Architectural Department Homepage that I want to actually link to external pages.<br>
NDSU Homepage needs to direct people to www.ndsu.edu
+
NDSU Homepage needs to direct people to www.ndsu.edu<br>
 +
<br>
 
I've tried creating a page called NDSU_Homepage and then from there redirecting people to http://www.ndsu.edu but that doesn't work for some reason it just leaves me at the redirect page.
 
I've tried creating a page called NDSU_Homepage and then from there redirecting people to http://www.ndsu.edu but that doesn't work for some reason it just leaves me at the redirect page.
 
+
<br>
 +
<br>
 
My category code looks like:
 
My category code looks like:
 
<nowiki><br>
 
<nowiki><br>
 
|align="left" width="33%" style="background-color:#FFFFFF; border-top:1px solid #808080; border-bottom:1px solid #808080;padding-top:10px; padding-right:10px; padding-left:0px; padding-bottom:10px;" valign="top"|
 
|align="left" width="33%" style="background-color:#FFFFFF; border-top:1px solid #808080; border-bottom:1px solid #808080;padding-top:10px; padding-right:10px; padding-left:0px; padding-bottom:10px;" valign="top"|
 
<h2 style="margin:0;background:#f3f3f3;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #808080;text-align:left;color:#000;padding-left:0.4em;padding-top: 0.2em;padding-bottom:0.2em;">'''[[:Category:Department/University Resources|Department/University Resources]]'''</h2>
 
<h2 style="margin:0;background:#f3f3f3;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #808080;text-align:left;color:#000;padding-left:0.4em;padding-top: 0.2em;padding-bottom:0.2em;">'''[[:Category:Department/University Resources|Department/University Resources]]'''</h2>
 +
</nowiki>
 
<br>
 
<br>
<DPL>  
+
<br>
 +
<nowiki>
 +
<DPL></nowiki><br><nowiki>  
 
category=Department/University Resources
 
category=Department/University Resources
 +
</nowiki><br><nowiki>
 
ordermethod=title
 
ordermethod=title
 +
</nowiki><br><nowiki>
 
order=ascending
 
order=ascending
 +
</nowiki><br><nowiki>
 
redirects=include
 
redirects=include
 +
</nowiki><br><nowiki>
 
count=10
 
count=10
 +
</nowiki><br><nowiki>
 
</DPL>
 
</DPL>
 +
</nowiki>
 
<br>
 
<br>
 
+
<br>
 
+
<nowiki>
 
My redirect page looks like:
 
My redirect page looks like:
 +
</nowiki><br><nowiki>
 +
#REDIRECT [http://www.ndsu.edu]
  
#REDIRECT [http://www.ndsu.edu]
+
</nowiki><br><nowiki>
  
 
[[Category:Department/University Resources]]
 
[[Category:Department/University Resources]]
  
</nowiki>
+
</nowiki><br>
 
Do you have any suggestions? Thanks
 
Do you have any suggestions? Thanks

Revision as of 03:11, 7 November 2007

Err... Why not create the FAQ using a DPL?

Each FAQ goes into a separate page, and the DPL lists them all. I actually tried this on my own site... the problem was that I wanted to create a TOC to list the questions at the top of the page, so I did something like "==%TITLE%==", however, the TOC appeared to be inside the DPL!

This was a problem because I wanted to split the FAQ into sections like Technical questions and General questions, which is naturally acheived by subcategories of the FAQ category, then I used a separate DPL for each subcategory. This messed up because ... er TOC was messy? I gave up in the end.

Just thought though! --Dmb 22:16, 15 September 2007 (CEST)

Further, the articles would be sorted by hits... FAQ baby! This would be displayed on a page with a 'create an answer' inputbox. I dare you to say it should not be so! (Make it so?) --Dmb 22:18, 15 September 2007 (CEST)


I'm trying to work on this website
http://www.collaborativelandscape.org/wiki/ARCH_728_2007
We are using DPL to make categories.
If you'll look under Department/University Resources there are two pages,
NDSU Homepage and Architectural Department Homepage that I want to actually link to external pages.
NDSU Homepage needs to direct people to www.ndsu.edu

I've tried creating a page called NDSU_Homepage and then from there redirecting people to http://www.ndsu.edu but that doesn't work for some reason it just leaves me at the redirect page.

My category code looks like: <br> |align="left" width="33%" style="background-color:#FFFFFF; border-top:1px solid #808080; border-bottom:1px solid #808080;padding-top:10px; padding-right:10px; padding-left:0px; padding-bottom:10px;" valign="top"| <h2 style="margin:0;background:#f3f3f3;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #808080;text-align:left;color:#000;padding-left:0.4em;padding-top: 0.2em;padding-bottom:0.2em;">'''[[:Category:Department/University Resources|Department/University Resources]]'''</h2>

<DPL>
category=Department/University Resources
ordermethod=title
order=ascending
redirects=include
count=10
</DPL>

My redirect page looks like:
#REDIRECT [http://www.ndsu.edu]
[[Category:Department/University Resources]]
Do you have any suggestions? Thanks