1
kurkutas
News article linked to xfsection content
  • 2004/3/28 17:04

  • kurkutas

  • Just popping in

  • Posts: 3

  • Since: 2004/3/28


Hello Everyone,

I have a rather simple question. Here is what I have.

Xoops 2.06 with XFsection 1.05 and the default news module installed. I am basically building this site for a small group of people that want to manage their own content. Content will be added using XFsection( eg educational material, conference papers etc etc) Some of that content depending on their mood :) may be published in the front page. What I would have them do is to simply post a news article and then use a link to the xfsection article. Works great so far but instead of opening the xfsection article in the same window it opens another window.

Any ideas on how I can make this work. Also if you think I am going completely the wrong way about it then let me know :)

Thanks

Edit: One more question...
In the blocks administration, I want to make a custom menu for the registered users that will include easy links for posting new content, webmail, etc etc. It is possible to make the custom block visible to only registered users right? Whenever I try to change the visibility of a block both anonymous and registered users visibility is affected.
Do I need to change the custom block permisions and remove the anonymous users?

Thanks again

2
kurkutas
Re: News article linked to xfsection content
  • 2004/3/30 13:59

  • kurkutas

  • Just popping in

  • Posts: 3

  • Since: 2004/3/28


No ideas anyone?
Just need a pointer in the right direction.

Thanks

3
JackJ
Re: News article linked to xfsection content
  • 2004/3/30 20:19

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Hello kurkutas

Xfsections is a renamed clone of Catswolfs "wfsections" so perhaps users thought your question related to just xfsections which has its own website. Xfsections has the advantage of users being able to edit there own content, which no doubt you need for your purposes.

The XOOPS editor links add [url] links code with square brackets, can't add them here to demo because it will show as a link even using the "code" option

Links should look like this to open in same window:

Article Link Text

Chapi's "Spaw News Hack" is very good, users just type in the "article link text" in the spaw wysiwyg, then select the text, and use a "hyperlink icon" a bit like frontpage or MS Word, and add the link from a popup box. (omitting the http:// part) Your users would find it easier to copy and paste the link from the browser address bar in the actual article page into the hyperlink popup box.

Catswolf's spaw module adds all the wfsection links to a dropdown box automatically. (but not xfsections) I found to use this succesfully I had to install Chapi's hack, and then also install Catswolfs spaw module and redirect Chapi's wysiwyg spaw code in the files to Catswolfs spaw module. This gave me the advantage of utilising Chapi's "line breaks bypass code", and gave me the wfsection links dropdown box and ability to add images etc. Catswolf's spaw module has instructions on how to alter the line breaks code, but I could not get it to work myself. I may try again later if I get time. This may be a bit too involved for your current needs, but might be of interest to someone.

The permissions thing should of course be setup in system admin/groups. You should be able to set up visibilty permissions for each group individually, but sounds like you are having problems doing that for some reason. I am not having that problem so can't reproduce it.

I also have a spaw "wfsections" on my site which allows users to manage and edit their own content. I think there is some security issues with wysiwyg editors though, and Spaw does not work in Netscape. But if users have Netscape the editor defaults to the XOOPS editor automatically

Chapis wysiwyg News Hack

https://xoops.org/modules/mydownloads/singlefile.php?cid=28&lid=525

Login

Who's Online

849 user(s) are online (317 user(s) are browsing Support Forums)


Members: 0


Guests: 849


more...

Donat-O-Meter

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

Latest GitHub Commits