Quit working after download from Tortoise

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/15/2011 12:41:00 PM
Gravatar
Total Posts 37

Quit working after download from Tortoise

I downloaded the newest changes to mojoPortal from Tortoise as I do about once a week. Unfortunately, this time my site has changed drastically. My titles are not showing up on the left and right panels. The titles are actually underneath the header image.

 

And every new feature I try to add won't create the h2 moduletitle but leaves that out completely. I just get the art-postheaderdataheader without the <h2 class="art-postheader t moduletitle">.

 

Here is the difference between what is there from features/pages that I created prior to the download and the current code when I create a new feature/page on the website:

 

Before:(these were mojoPortal features/pages that I had previously created before the download):


<div class="art-post-body">
<div id="ctl01_mainContent_ctl00_pnlWrapper" class="art-Post-inner panelwrapper htmlmodule">
  <div class="art-postmetadataheader">
   <a id="module0" class="moduleanchor"></a>
   <h2 class="art-postheader t moduletitle">
    Welcome
    <a title="Edit Settings For this Content Instance" class="modulesettingslink" href="http://localhost:60941/Admin/ModuleSettings.aspx?mid=0&amp;pageid=34">
     <img title="Edit Settings For this Content Instance" src="/Data/SiteImages/wrench.png" alt="Settings">
    </a>
    <input name="ctl01$mainContent$ctl00$Title1$ibCancelChanges" id="ctl01_mainContent_ctl00_Title1_ibCancelChanges" title="Cancel Content Changes (Delete Draft Version)"
     class="ModuleCancelChangesLink" src="/Data/SiteImages/CancelChanges.gif" onclick="return confirm('Are you sure you want to cancel these changes?');"
     type="image">
    <input name="ctl01$mainContent$ctl00$Title1$lbPostDraftContentForApproval" id="ctl01_mainContent_ctl00_Title1_lbPostDraftContentForApproval"
     title="Request Approval for this Draft Content Instance" class="ModulePostDraftForApprovalLink" src="/Data/SiteImages/RequestApproval.gif"
     type="image">
    <a title="Content Status" class="cluetiplink" href="http://localhost:60941/Help.aspx?e=t&amp;helpkey=workflowstatus-draft-help">
     <img title="Content Status" src="/Data/SiteImages/info.gif" alt="Help">
    </a>
    <a title="Edit" class="ModuleEditLink" href="http://localhost:60941/HtmlEdit.aspx?mid=0&amp;pageid=34">
     <img title="Edit" src="/Data/SiteImages/pencil.png" alt="Edit">
    </a>
   </h2>
  </div>
  <div class="art-postcontent">
   <div class=" modulecontent">

Current:

<div class="art-post-body">
<div id="ctl01_mainContent_ctl05_pnlWrapper" class="art-Post-inner panelwrapper htmlmodule">
  <div class="art-postmetadataheader">
   <a id="module108" class="moduleanchor"></a>
   NEW PAGE TITLE
   <a title="Edit Settings For this Content Instance" class="modulesettingslink" href="http://localhost:60941/Admin/ModuleSettings.aspx?mid=108&    amp;pageid=39">
    <img title="Edit Settings For this Content Instance" src="/Data/SiteImages/wrench.png" alt="Settings">
   </a> 
   <a title="Edit" class="ModuleEditLink" href="http://localhost:60941/HtmlEdit.aspx?mid=108&amp;pageid=39">
    <img title="Edit" src="/Data/SiteImages/pencil.png" alt="Edit">
   </a>
  </div>
  <div class="art-postcontent">
   <div class=" modulecontent">

 

 

ANY HELP WOULD BE APPRECIATED! Not sure where else to look.

3/15/2011 12:56:48 PM
Gravatar
Total Posts 18439

Re: Quit working after download from Tortoise

Did you rebuild the entire solution and visit the setup page?

3/15/2011 1:15:58 PM
Gravatar
Total Posts 37

Re: Quit working after download from Tortoise

Yes! Several times.

3/15/2011 1:25:05 PM
Gravatar
Total Posts 18439

Re: Quit working after download from Tortoise

Do you have this setting in Web.config or user.config with a setting other than h2?

<add key="ModuleTitleTag" value="h2"/>

like do you have this with an empty space?:

<add key="ModuleTitleTag" value=" "/>

that would cause it.

there is a new feature that allows you to control the heading tag used and even edit it, but it uses the default from the above setting when creating new instances.

If you add this to user.config

<add key="EnableEditingModuleTitleElement" value="true" />

then you can edit the heading tag from ModuleSettings.aspx ie click "settings" and look on the General tab

3/15/2011 1:41:16 PM
Gravatar
Total Posts 37

Re: Quit working after download from Tortoise

That cured my problem. I added the new key to my user.config and it worked! What should I have been reading to realize that change?

 

Thank you!

3/15/2011 1:56:03 PM
Gravatar
Total Posts 18439

Re: Quit working after download from Tortoise

unless you had it specified somewhere else with a different value, it exists by default in Web.config and even if it was completely missing it would work because there is a default even if it was missing. The only thing I know of that would cause the problem you described is if it was present and had an empty space as the value. No-one else working from the repository has reported any problem with it so far.

there are some skin changes noted here, and other changes will be documented when we make a new release.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.