1
talon39
WFsection- Articles not accessable from the main menu.
  • 2004/8/11 21:48

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


When I create a article and check "Add Document to Mainmenu?", it creates a link on the main menu. However when I click the link on the main menu it say article does not exist. If I open the Section the article is in and click the link to the article from the section's page, it works fine.

I'm running:
W2k/IIS
PHP/MYsql
Xoops 2.0.7
WFsection 2.01

2
Bender
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/11 23:18

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Can you please copy and paste the link that is created in the main menu?

3
talon39
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/12 15:54

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


Quote:

Bender wrote:
Can you please copy and paste the link that is created in the main menu?

The link in the main menu is:
http://intranet/modules/wfsection/article.php?articleid=0

It should be:
http://intranet/modules/wfsection/article.php?articleid=4

That is the working link on the main Section page.

BTW: Thanks for all your help in the past with WFsection Bender!

------------------------
Update.

I created a new section and added a article to the new section. This time I did not check the box to add the article to the main menu. Afterward I went to the home page and now the orginal document from the first section that I was having trouble with is no longer on the menu. So I went in and edited the new article in the new section and checked the box "Add Document to Mainmenu". Stil neither article appears on the main menu. I don't understand the behavior of these settings. When there was only one article in one section the box seemed to cause the article to appear in the main menu, but the link didn't work, now with two articles in two sections the articles don't appear in the main menu regardless of this setting.


4
tedsmith
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/12 17:28

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I can't help you with this, but I wonder if you can help me? I notice your link is for an Intranet (as opposed to an Internet site). Are you storing the files that you are trying to link to in the same folder as your XOOPS system or are they stored elsewhere on your server?

The reason I ask is that mine are stored in several places on our server, and not in the actual folder that is used by XOOPS and its modules. Some other systems like XOOPS allow direct server links (eg \\servername\folder1\file1.doc) but the XOOPS modules (except for the WF-Downloads module that has now been revised) always adds 'http://' before them. So you end up with an invalid link like this : http://\\servername\folder1\file1.doc

If your files are also outside your XOOPS folder, can you let me know how you have linked to them using WF-Sections - I'd really like to know because I want to use that module?

Cheers

Ted

5
talon39
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/12 18:14

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


Quote:

tedsmith wrote:
I can't help you with this, but I wonder if you can help me? I notice your link is for an Intranet (as opposed to an Internet site). Are you storing the files that you are trying to link to in the same folder as your XOOPS system or are they stored elsewhere on your server?

The reason I ask is that mine are stored in several places on our server, and not in the actual folder that is used by XOOPS and its modules. Some other systems like XOOPS allow direct server links (eg \\servername\folder1\file1.doc) but the XOOPS modules (except for the WF-Downloads module that has now been revised) always adds 'http://' before them. So you end up with an invalid link like this : http://\\servername\folder1\file1.doc

If your files are also outside your XOOPS folder, can you let me know how you have linked to them using WF-Sections - I'd really like to know because I want to use that module?

Cheers

Ted

Hmmm... Im not linking to any external documents. The links are pointing to documents created in Wfsection, that are stored in the DB.
WFsection does allow you to wrap an external document, but i see where the "http://" would cause you problems.
If you are running IIS you can create virtual directories to resources on your server that reside outside of your wwwroot. Then you will be able to link to them usinghttp://localhost/virtual_directory_name/resource.blah

Hope that helps.

6
tedsmith
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/12 18:42

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


That does help me a lot - thanks. I do use IIS and was not aware I could do that (got to work out how to do that now!). What do you mean by 'wrap documents' by the way?

7
talon39
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/12 19:01

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


Quote:

tedsmith wrote:
That does help me a lot - thanks. I do use IIS and was not aware I could do that (got to work out how to do that now!). What do you mean by 'wrap documents' by the way?


Say you have a html file that you would like to use as your article instead of creating one in wfsection. WFsection can "wrap" your html file into the XOOPS site so that you have all your menus still and your html file displays where the article should appear.
You will find the option when you creat a new document from the WFsection admin area.

To creat a virtual directory, in windows 2000(might be different in other versions), go to Progams, Administrative Tools, Internet Services Manager. In the left pane of the console you will see your webserver. If you click on it it will show your Default website and any websites that exist.
Click the Default Web Site and it will show you a list of Virtual Directories. Right click Default Web Site and choose "New", "Virtual Directory". Then just follow the Wizard.

8
Bender
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/12 22:14

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Quote:

talon39 wrote:
The link in the main menu is:
http://intranet/modules/wfsection/article.php?articleid=0

It should be:
http://intranet/modules/wfsection/article.php?articleid=4


This is odd ... i canĀ“t reproduce this problem. You are using wf-sections 2.01 right?

9
talon39
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/12 22:25

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


Yes version 2.01 (just rechecked)

Did you read the followup? Now i can't even get the articles to disply in the main menu. I can send you the install files I used. I have given up on this and gone a different route. I have hidden the WFsection menu and edited the main menu template to add the links.
However now I can't seem to get rid of the copyright info in the articles. See my other thread for details. I will send you any info you need to determine what might be the cause of the strange behavior.

10
Catzwolf
Re: WFsection- Articles not accessable from the main menu.
  • 2004/8/13 0:57

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Very strange, I cannot reproduce this either and I am not sure why you would be getting this.

Will investigate further.

Login

Who's Online

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


Members: 0


Guests: 151


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits