Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Searching of demo site codeSearching of demo site code
Previous
 
Next
New Post
8/31/2013 9:07 AM
 

When I installed DNN CMS there was a demo site "Awesome Bicycles". In the header of this site was a kind of "photo slider". It's not a kind of module, it's just a peace of jquery code.

I tried to make my own site based on the demo "Aweome Bicycles" but unfortunately i have spoiled demo html code which was writed in this block (I mean not jquery code, but the html code which you can edit when editting module).

 I am not good programmer, so I am not able to recover it. I tryed to reinstall all platform, but it doesn't help.

 So if somebody can give original peace of html code I will be very gratefull!

Thank you!

Example of my wrong peace of code which doesn't work properly (if you don't understand what about i am writing):

<div id="container">
<div id="example">
<div id="slides">
<div class="slides_container">
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/01.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/02.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/03.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/04.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/05.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/06.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/07.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/08.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/09.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/10.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/11.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/12.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/13.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/14.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/15.jpg" alt="Slide 1" /></a>
<a href="#" title="banner 1"><img width="980" height="380" src="/portals/0/Images/homepage/16.jpg" alt="Slide 1" /></a>
</div>
<div class="pagination_wrap">
<a href="#" class="prev">&nbsp;</a>
<a href="#" class="next">&nbsp;</a>
</div>
</div>
</div>
<div class="clear"></div>
</div>

 
New Post
8/31/2013 11:27 AM
 
I suggest adding a child website using default template (viaHost > Manage Websites), this will provide you with all default pages

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/31/2013 4:00 PM
 

Thank you! This is solution!

But if i am not mistaken - there is some bug in the demo site's home page:

if you delete all module exept the main TEXT/HTML module ("picture slider") , the "picture slider" stops work properly, pictures disappear. Of course it is not a problem of dnn-platform, it just a little mistake in the demo code but it doesn't allow me to tune home page for my needs

 
New Post
9/1/2013 5:42 AM
 

I can understand you did not find it, it also took me a while.
The script to run the sidleshow is in the Aphelia\Banner container, which is set for the Featured product module.
Quite weird, but well..

 Here's the script:

<dnn:DnnJsInclude runat="server" FilePath="~/Resources/Shared/Scripts/slides.min.jquery.js" />
<script>
    $(function () {
        $('#slides').slides({
            preload: true,
            preloadImage: '<%= Page.ResolveClientUrl("~/images/loading.gif") %>',
            play: 5000,
            pause: 2500,
            hoverPause: true
        });
    });
</script>

 

Or delete all the other modules and set the "Aphelia banner" container for the sildeshow.

HTH Timo

 

 
New Post
9/1/2013 10:55 AM
 

Thank you very much!

The problem was in the wrong module container. It should be Aphelia-Banner! Thank you!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Searching of demo site codeSearching of demo site code


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out