I guess you should be able to have the different "pages" rendered in the same template even though they have tree-hierachy structure int he backoffice. It should really just be a matter of creating a rendering that takes the content from each child-node and renders it in your template and then the javascript would handle the linking?
let me be more clear about the issue, I think that the broblem here is the way the script in the site works, since I have to put the actual link to the html page:
I was thinking about using an "iframe" for this, meaning I will create the html pages in advance and then it will render the content inside the iframe.
Implementing a site with JS master pages
Hi
I am trying to implement this site into umbraco 7.1.1.
The main issue is with this template is the site's pages (about, services) since is uses some kind of JS master page method.
Basicly it's a "one page" template that is rendering the inner pages inside this div:
Is there a way to implement this inside Umbraco?
I would be glad to provide more details if necessary.
Hi Moran
I guess you should be able to have the different "pages" rendered in the same template even though they have tree-hierachy structure int he backoffice. It should really just be a matter of creating a rendering that takes the content from each child-node and renders it in your template and then the javascript would handle the linking?
Or do I misunderstand?
/Jan
Hi Jan
let me be more clear about the issue, I think that the broblem here is the way the script in the site works, since I have to put the actual link to the html page:
That means the the page have to be created in advanced, and not dynamiclly created.
this is the html code for the inner page:
It's like having a master pages in javascript.
By the way I tried to use "Partial view" but it won't work, it just puts the HTML in the URL.
Hi Moran
Aaah, so the current page is using javascript to load a specific HTML page?
/Jan
Yes
Do you have a solution for this kind of isuue?
I was thinking about using an "iframe" for this, meaning I will create the html pages in advance and then it will render the content inside the iframe.
but I rather use someting else.
Ok, but if the script is able to load .html...I don't see why it should not be able to load .aspx pages or if you decide to run extensionless?
What does the script for loading page look like?
/Jan
I am running extensionless, it's my prefered way mainly because of SEO reasons.
as for the script, I think it named: "froogaloop.js", since the template is on my server I can send you all the files to run in your local enviroment.
Thanks
Hi Jan
Did you get a chance to take a look at my site?
After trying different approaches to my problem I'have manged to find a solution.
In my main master page I left the "body" Tags only and in the "Home page" template I have rendered all the other code.
is working on a reply...