1
Hi.. I was wondering if this was possible. I want to make a few pages with the .php or if need be .htm extension accessible only to registered members. Since I use the Sections module for article content, there are no template files in the admin sections so I can edit to add code. To block links for anon to these articles if I put them on my home page, I add the session ID in the link. In admin templates I have only Forums, System, Members, Polls, and Downloads (not used at the moment).
The pages have a .js file as well as another javascript in the head part of these documents. It's a sorting script. I know I can add the the javascript point to the .js file in the head of the theme html file if need be, but the javasript will give me an error if i don't put the body direction to it in the theme.html. I don't want it appearing on all the pages. So the head part needs to contain this:
script language="JavaScript" src="location of my file in Xoops/sortable_table.js"> (left out the opening < in case it messed up the post page). This script creates the table. Another javascript with the data and variables needs to be under this one. Then the body script pointing to the data needs to be included which will point to that one.
I've fried my brain here trying to figure out how i can include this in my site and give only registered members access. I've had it in there using regular html pages and using a link but that gives all access to it.
Maybe I'm missing something obvious but I'm still learning all of this. Any suggestions?