|
 |
|
|
How to find out the "ProjectName" for MCMS 2002 and ASP.Net 2.0?
<%@ Register TagPrefix="CustomAction" Namespace="QuestechSystems.WebControls.ConsoleControls" Assembly="ProjectName" %>
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
These plugins are not compatible with ASP.NET 2.0 if you add them to an MCMS ASP.NET 2.0 site. Though I have not tested it, they should work however if you add them to a MCMS ASP.NET 1.1 site and have Visual Studio 2005 upgraded the site project/solution. I am in the process of upgrading the codes and installation instructions.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
Hi Stephen,
I did found the solution. I moved ChannelCreateAction.cs, ChannelDeleteAction.cs, ChannelUtilities.cs under App_Code folder. Then I added the following row to my DefaultConsole.apsx:
<%@ Register TagPrefix="CustomAction" Namespace="QuestechSystems.WebControls.ConsoleControls" Assembly="App_Code" %>
I added this to DefaultConsole.apsx.cs:
using QuestechSystems.Classes;
And it worked for me. Thank you for the code!
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
When trying to build I get message ChannelCreateDlg.aspx.cs line 117 System.Web.UI.WebControls.ListBox does not contain a definition for SelectedValue.
I kludged line 117 to use SelectedIndex.Value to get it to build? What should it be?
When trying to access a page I then get Parser Error Message: Could not load type McmsCustom.WebAuthor.ChannelCreateAction from assembly WoodgroveNet, ...
I assume I've got something wrong in the NameSpace or Assembly. Any assistance would be helpful.
I am using CMS sp 1a.
Thanks, Alan H
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
>> ChannelCreateDlg.aspx.cs line 117 System.Web.UI.WebControls.ListBox does not contain a definition for SelectedValue. >>
You would need .Net V1.1. Looks like you have .Net V1.0.
>> Parser Error Message: Could not load type McmsCustom.WebAuthor.ChannelCreateAction from assembly WoodgroveNet, ... >>
I am not sure what caused the error after taken a look at your defaultconsole.asc but please give the lastest version a try.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I do have .NET v1.0. I kludged line 117 to SelectedItem.Value. I also moved all the downloaded stuff into my (WoodGroveNet) Project. It now seems to work OK.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi Stephen, First of all, thanks for your control. I cannot get "Delete Channel" action to be seen at all in the user console. The other action, "Create new channel", functions perfectly. I followed all your instructions, I cannot figure out what am I doing wrong. The user I'm using is Administrator, so there shouldn't be any problems with access. I would appreciate any help on this. Thanks! Sebastian
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Stephen, going on with my investigation, I forced a "return true" in "public override bool Available" method of class "ChannelDeleteAction", and so the action "Delete Channel" appeared. When I tried to delete a channel (which only had one posting inside) I got the following error:
Channel Deletion Failed -------------------------------------------------------------------------------- Error Details: Cannot delete container. The container must be empty before it can be deleted.
If this is true in all cases, I don't understand what is the point of putting the "Delete Channel" action in my DefaulConsole.ascx. Perhaps I should see the possibility of creating a customized rendering script, as you said in other post. Anyway, I welcome any answer that can shed a bit of light on this for me. Thanks for all!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Yes, you would need a Channel Rendering Script for the Delete Channel functionality. Please see the section "Notes". Hope this helps.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi,
First of all i must congratulate the creator of this plug-in for the great work 
I would like to be able to create new channels from the cover page i use to navigate in my channel tree... this plug-in forces me to create a posting inside a channel just to be able to use the "create new channel" option. I would like to be able to create channels inside empty channels (creating a temporary posting isn't a good solution for me).
I tried checking the code that defines the options that appear on my cover page, but i don't see how i can insert the "create new channel" option in there... the page that deals with those options isn't even an aspx 
Can anyone help me?
Thank you very much! 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
You will need a channel rendering script. There is a section in MCMS documentation called "Creating Channel Rendering Scripts". Instead of the default MCMS covering page, it allows consistency in terms of look and feel with the rest of your web site and use of customized Web Author console.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Stephen, first of all, thank you very much for the fast reply 
I will try to explain the problem i'm having a little bit better: I'm indeed using a cover page to manage navigation through the channels avaiable in CMS. That cover page has a link to "switch to edit site". That link provides a list with several option, like "create a new page" ou "channel properties", for example. I would like to include the option to create a new channel (privided by your plug-in) on that very same list.
The problem: Your plug-in works very well, but CMS WebAuthor's users can only find the "create new channel" option when viewing the "switch to edit site" menu on an already created page/posting. That's because the plug-in was inserted on the defaultconsole (thus, only avaiable on the postings and not on the cover pages). This makes it impossible to create a new channel when navigating on the channel tree displayed by my cover page.
Example: imagine i have an empty channel and i want to create another channel inside it. I navigate inside the parent channel and i can't see the option to create the child channel. I must create a new page/posting, enter that posting, switch to edit site and then select "create new channel". I then have to go back to the parent channel and delete the page/posting i created...
It would be great if i could add the option to create new channels to the menu that opens when i choose "switch to edit site" on my cover page. That way i would be able to create channels without the need to create a new posting.
I tried my best but i couldn't include your plug-in on that menu, like i did on the defaultconsole.
Sorry for the (very) long post... and thanks again for the precious help 
Take care!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
The channel rendering script I mentioned will take care of this issue. Include the customized console in the channel rendering script. When a channel is created, the script will take over as the cover page with the customized console in place for you to create another new channel under the current one. Hope this helps.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi Stephen,
Once again, thank you for the reply 
Stephen Huen wrote: Include the customized console in the channel rendering script.
How exactly do i do this?
My cover page is a convencional asp file. It´s "switch to edit site" menu comes from these 2 calls (that are defined inside a html table):
<% Call ShowSiteModeSwitch() %> <% Call EmbedEditSiteConsole() %> These calls are defined somewhere inside some *.inc files...
The default console is an aspx file and is inserted on a visual studio project i have for the CMS's template management/creation. The cover file isn´t part of that project... just a stand alone file.
I don't see how i can connect these 2 files...
Thanks again.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Hi,
great Addon for CMS!
I display the Start Publishing Date and Time on some Templates. So I notized, that the new Channel gets the same Publishing Date as the parent channel.
Is there a way to use the creation date of the new channel as publishing date?
Best Regards
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
If that is the case, it is default behaviour of MCMS. However you can set the channel startdate in CustomChannel.cs when the channel is created. Hope this helps.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
The problem of missing buttons in dialog is due to MCMS SP1a. If you are using MCMS SP1, do not upgrade to V1.1.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Excellent addition to CMS 
However, I found the “Same as Name” and “OK” image buttons were not present in the latest CMS version so I replaced them with a HTML button and a regular CMS button style.
Here is the code:
<button id="NC_Reset" önclick="return WBC_CopyNameToDisplayName('NC_intxtName','NC_intxtDisplayName')" class="WBC-styclsButton">Same As Name</button>
<button name="NCImg_Confirm" id="NCImg_Confirm" nclick="WBC_onOkayClick(); return false;" class="WBC-styclsButton">OK</button>
/Erik
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Excellent addition to CMS 
However, I found the “Same as Name” and “OK” image buttons were not present in the latest CMS version so I replaced them with a HTML button and a regular CMS button style.
Here is the code:
<button id="NC_Reset" önclick="return WBC_CopyNameToDisplayName('NC_intxtName','NC_intxtDisplayName')" class="WBC-styclsButton">Same As Name</button>
<button name="NCImg_Confirm" id="NCImg_Confirm" nclick="WBC_onOkayClick(); return false;" class="WBC-styclsButton">OK</button>
/Erik
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |