1
lilium
add wfsections
  • 2003/12/21 0:18

  • lilium

  • Just popping in

  • Posts: 11

  • Since: 2003/12/21


it is possible to include in the block whatnew also other modules? I would like to add wfsection...
how can I do
help me thanks

2
svaha
Re: add wfsections
  • 2003/12/21 2:39

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Could you be a little more specific? What block are you using to display whatnew?
I use, for instance, BopComments to display whatsnew. In this module WF-section is allready included.

Aloha

3
lilium
Re: add wfsections
  • 2003/12/21 3:59

  • lilium

  • Just popping in

  • Posts: 11

  • Since: 2003/12/21


I am using this
T   Y   W  
 
News             0   0   1 
 
Downloads        0   0   1 
 
Links            0   1   1 

wfsecntion
?
 
Today · Yesterday · Week


this the url for the download:
http://www.frxoops.org/modules/mydownloads/singlefile.php?cid=9&lid=175

4
svaha
Re: add wfsections
  • 2003/12/21 10:20

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Well, I downloaded this from inconnue and had a quick look it at.
You will have to insert the Wf-section data into the data base manually or by changing the .sql file
You can see here how it is made :

Quote:
INSERT INTO whatsnew VALUES (1, 'stories', 'published', "Articles","modules/news/index.php");
INSERT INTO whatsnew VALUES (2, 'mydownloads_downloads', 'date', "Downloads","modules/mydownloads/index.php");
INSERT INTO whatsnew VALUES (3, 'mylinks_links', 'date', "Liens","modules/mylinks/index.php");
INSERT INTO whatsnew VALUES (4, 'bb_posts', 'post_time', "Posts","modules/newbb/index.php");
INSERT INTO whatsnew VALUES (5, 'bb_topics', 'topic_time', "Sujets","modules/newbb/index.php");
INSERT INTO whatsnew VALUES (6, 'users', 'user_regdate', "Visites","modules/xoopsmembers/index.php");



So the number will be 7, then the name (in the database) of the item you want to display, then the name (in the database)of date/time item, then the name you want to display in the block, then the path to the module
When you are finished, you'll have to update the module. I advice you to make a backup first.

Hope this helps

Aloha

5
lilium
Re: add wfsections
  • 2003/12/21 17:33

  • lilium

  • Just popping in

  • Posts: 11

  • Since: 2003/12/21


it works perfectly thanks

there is a tutorial for upgrade XOOPS v.1. to XOOPS 2.0?

thanks in advance


Login

Who's Online

151 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jun 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits