Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dani 18 posts 38 karma points
    Jun 23, 2012 @ 16:38
    Dani
    0

    Frontpage Sliders don't update the content

    Hello I'm trying Umbraco I installed one start kit that has and Frontpage sliders, I can change all the content pages and I'm beggining to understand How Unbraco works, great...

     

    But When I try to edit the content In the FrontPage Sliders, I can edit it in the panel but latter In the web explorer (in production) the new content does not appear , only is the original content. I clicked in the publish button. and if it click in preview. The system gives me an error:

    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jun 24, 2012 @ 05:02
    Tom Fulton
    0

    Hi Dani,

    For some reason the starter kit you're using has the sliders hardcoded, so they aren't actually reading from the content nodes you see under Frontpage Sliders.

    To fix this, you'll want to replace the hardcoded slider markup with the macro that is included in the starter kit:

    - Goto Settings -> Templates -> Starterkit Master -> Homepage
    - Delete everything in the cp_top Content tag
    - Replace with:    <umbraco:Macro Alias="umediaSliderImages" runat="server"></umbraco:Macro>
    - Save the template
    - Make sure you've saved/published the Frontpage slider nodes (after install they aren't published automatically)
    - You might also need to upload images for each slider node

    That should do the trick.  Again I'm not sure why it's hardcoded in the default install - maybe to help you learn how things work? :)

    There is an issue on codeplex reporting this, feel free to vote it up:  http://umbraco.codeplex.com/workitem/29902

    HTH,
    Tom 

  • Dani 18 posts 38 karma points
    Jun 24, 2012 @ 21:46
    Dani
    0

    Hello Tom,

    You are right, now is working.

    Thank you very very very much.

    a hug

    Dani

  • Stephen Gilmour 2 posts 22 karma points
    Sep 17, 2013 @ 23:24
    Stephen Gilmour
    0

    I have a very similar issue, you will have to excuse my ignorance at this point though as I have just started to attempt a website.

    I have installed Umbraco 6.1.5 using the business starter kit and the Umedia skin.
    when I edit any of the frontpage sliders (after publishing them first so they are not greyed out) it does not keep any content.

    I have followed your instruction Tom but being such a neewbie I dont know how to edit the cp_top Content tag correctly!

    I have attempted to change that full line from:

    <asp:Content ContentPlaceHolderId="cp_top" runat="server">

    to

    <umbraco:Macro Alias="umediaSliderImages" runat="server"></umbraco:Macro>

    I didnt notice any difference and then thought I maybe had to change everything from:

    <asp:Content ContentPlaceHolderId="cp_top" runat="server">
     <div id="slider">
        <div id="imageSlider">
              <div class="imageSlide">
                  <div class="imageSliderInfo">
                      <h2>You can (of course)<br />change these images! </h2>
                        <p>When you installed this skin, we added a new node to your content area called "frontpage slider", go there to change the image, text and link in this slider</p>
                        <a class="ui-btn ui-btn-big" href="#">What colors?</a>
                    </div>
                    <div class="imageSliderImage">
                      <img src="/images/tmp_img.jpg" width="500" height="320" />
                    </div>
                </div>
              <div class="imageSlide">
                  <div class="imageSliderInfo">
                      <h2>And changing the colors <br />is easy as well!</h2>
                        <p>Sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.</p>
                        <a class="/images/ui-btn ui-btn-big" href="#">About us</a>
                    </div>
                    <div class="imageSliderImage">
                      <img src="/images/tmp_img2.jpg" width="500" height="320" />
                    </div>
                </div>
              <div class="imageSlide">
                  <div class="imageSliderInfo">
                      <h2>Hello everybody!</h2>
                        <p>Sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.</p>
                        <a class="ui-btn ui-btn-big" href="#">About us</a>
                    </div>
                    <div class="imageSliderImage">
                      <img src="/images/tmp_img.jpg" width="500" height="320" />
                    </div>
                </div>
              <div class="imageSlide">
                  <div class="imageSliderInfo">
                      <h2>New to Umbraco?</h2>
                        <p>Well, you managed to install this skin, so you must have done something right! <br />
    <br />
    But still the umbraco developer site is the place to go for all your Umbraco needs!</p>
                        <a class="ui-btn ui-btn-big" href="#">Visit Umbraco</a>
                    </div>
                    <div class="imageSliderImage">
                      <img src="/images/tmp_img2.jpg" width="500" height="320" />
                    </div>
                </div>
            </div>
      </div>
    </asp:Content>

    to just

    <umbraco:Macro Alias="umediaSliderImages" runat="server"></umbraco:Macro>

    I feel such a fool about this but is there anyway you could explain in fool/ neewbie proof detail how I go about this, its driving round the bend as I cant get anything started. I would change skin but I dont like the other 3!

    Thanks in advance,

    Stephen

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Sep 23, 2013 @ 05:12
    Tom Fulton
    0

    Hi Stephen,

    I think your second assumption was correct, but you need to keep the <asp:Content> tags. So I think the solution is to replace everything inside of the cp_top placeholder with the macro:

    <umbraco:Macro Alias="umediaSliderImages" runat="server"></umbraco:Macro>

    That should do the trick - let us know how you get on.

    -Tom

  • Stephen Gilmour 2 posts 22 karma points
    Sep 24, 2013 @ 01:02
    Stephen Gilmour
    0

    Really appreciate you replying Tom.

    I decided to rethink my strategy and I have instead edited the hardcoded sliders from the business homepage html using umbraco.
    I have found this to work, at least for now, as I don't know what implications it may have .

    I will no doubt be bothering someone else on another forum page soon as I now can't find how to publish to a 1and 1 server.
    Why did I think this would be a good hobby to take up...

    Cheers again for your help :-) 

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Sep 24, 2013 @ 18:11
    Tom Fulton
    0

    Gotcha. If you change your mind and want to try again, try the above and definitely let us know how it goes!

    Publishing to 1and1 shouldn't be different than any other host. Basically you need to get your database transferred to the host (via backup/restore usually) and FTP your files up. If you run into specific problems/questions feel free to post and someone will help you out :)

  • Froilan 1 post 21 karma points
    Mar 06, 2014 @ 17:44
    Froilan
    0

    Skin Type: Umedia Business Starter Kit.

    Problem: Cannot get my Frontpage Sliders to update. Same Problem As Stephen (Posted Above).

    What I've Tried to do:

    - Deleted the info in the Homepage and Business Hompage with --- Umbraco Macro. Replacing everything within the ASP coding as Stephen Did.

    Result: Nothing is showing after Saving and Publishing

    _________

    - Changed the XSL Variable in the U. media slider in the XSL folder in Developer. Saved and Published 

    Result: nothing

    - Combination of the two above.

    Result: nothing.

    ____

     

    I am no coder! I am a Graphic Designer. Someone please help me. I want the slider to work within the Site Admin in Umbraco instead of just going in the hardcoded HTML and editing it there (adding pics and text etc.). 

     

    Thanks in advance.

     

     

     

     

     

  • Jes Bøgelund 1 post 21 karma points
    Apr 12, 2014 @ 08:57
    Jes Bøgelund
    0

    Hello

     

    I know this is old but anyway... And by the way I´m completely new to this

    I tried the above instructions but keep getting this message... What da... do I do wrong ?

    Server Error in '/' Application.


    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

     

Please Sign in or register to post replies

Write your reply to:

Draft