|
9/8/2008 7:03:19 AM
|
chris.brewer Posts 8
|
Hello - I am a novice to say the least! and I have searched the forum for an answer, but to no avail. I have purchased the "no code" version of the forum and I am currently implementing it on my website.
I have a couple of questions about expanding out content within the framework of the forum.
1/ For example, the current default landing page to the site is the forum list... if I wanted to change this to an introductory default page (yet still show it in the same .master framework, how can i do this?) - Currently I am using the FAQ.aspx as a "template" for my content, but it seems the code behind updates my page title to "FAQ" - this seems a bit clumsy, can i create blank pages in the same .MASTER without using FAQ.aspx as a template?
2/ Equally, my second question is... if I want to create new pages which are only available to logged in users, say USERSECRETNEWSONLY.aspx, how can i do this?
Sorry if these are silly questions and thanks in advance! Chris
|
|
9/8/2008 12:58:25 PM
|
 jitbit Posts 712
|
1. when you create a page using FAQ as a template, remove the "Inherits aspnetforum.FAQ" from the "<%@Page" directive 2. this is not possible, sorry
|
|
9/8/2008 7:50:04 PM
|
chris.brewer Posts 8
|
jitbit wrote:
1. when you create a page using FAQ as a template, remove the "Inherits aspnetforum.FAQ" from the "<%@Page" directive 2. this is not possible, sorry
Thanks very much for your quick reply.
1. I have tried this, but when I remove the Inherits line from the page I get an error (xxxxxx is my subdirectory for my test site):
Unable to cast object of type 'ASP.xxxxxx_default_aspx' to type 'aspnetforum.ForumPage'.
FYI The first line of my ../xxxxxx/default.aspx page reads: <%@ Page Explicit="false" Language="C#" MasterPageFile="AspNetForumMaster.Master" AutoEventWireup="true" Codebehind="faq.aspx.cs" Inherits="aspnetforum.faq" Title="X" %> Any suggestions?
2. Thanks - Not possible in the "no code" version only? Or still not possible even if I upgrade to the "with code" version?
Thanks again. Chris edited by chris.brewer on 9/8/2008
|
|
9/12/2008 12:05:57 AM
|
chris.brewer Posts 8
|
Could anyone help? Is this a school boy error, or something more substantial?
|
|
9/12/2008 3:36:25 PM
|
 jitbit Posts 712
|
1. remove this: Inherits="aspnetforum.faq" 2. yes, if you buy the source codes, you can modify it so some pages are displayed for authenticated users only.
|
|
9/13/2008 12:53:23 AM
|
chris.brewer Posts 8
|
jitbit wrote:
1. remove this: Inherits="aspnetforum.faq" 2. yes, if you buy the source codes, you can modify it so some pages are displayed for authenticated users only.
1. Sorry, probably wasn't clear, but I did remove this and got the error : Unable to cast object of type 'ASP.xxxxxx_default_aspx' to type 'aspnetforum.ForumPage'.
... so need to know why removing this throws an error and how I can get around itm
2. great, how much to upgrade?
|
|
9/13/2008 1:13:01 PM
|
 jitbit Posts 712
|
please remove this also: Codebehind="faq.aspx.cs"
might help
|
|
9/13/2008 1:51:51 PM
|
chris.brewer Posts 8
|
jitbit wrote:
please remove this also: Codebehind="faq.aspx.cs"
might help
Tried this also, to no avail. Is there anything which needs to be changed in the web.config?
|
|
9/14/2008 3:32:27 PM
|
 jitbit Posts 712
|
I've looked into this and it happens because the forum masterpage tries to cast the content-page to 'aspnetforum.ForumPage' type, which actually makes sense. I don't think this can be fixed without upgrading to the source code license.
|
|
9/14/2008 11:21:42 PM
|
chris.brewer Posts 8
|
jitbit wrote:
I've looked into this and it happens because the forum masterpage tries to cast the content-page to 'aspnetforum.ForumPage' type, which actually makes sense. I don't think this can be fixed without upgrading to the source code license.
Thanks very much. If I purchase the code version would you be so kind as to advise me what I need to change?
I purchased non code 4.7... Around 6 months ago, what are the upgrade costs, also I notice 4.8 is available which has polling - can I upgrade versions at the same time?
Thanks!
|
|
9/17/2008 10:40:58 AM
|
chris.brewer Posts 8
|
could anyone advise how I can spend money with JitBit to upgrade to the code version?
|
|
10/6/2008 12:01:49 PM
|
 jitbit Posts 712
|
https://www.plimus.com/jsp/buynow.jsp?contractId=1695147
|
|
pages:
1 |