Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1444 posts 1855 karma points
    Nov 26, 2014 @ 20:21
    Gordon Saxby
    0

    Integrating into a main website

    I have installed Dialogue and got it working OK. I then started looking at how I create my own theme. I followed the instructions and made a copy of the "Default" folder in "App_Plugins\Dialogue\Themes". I selected a nice new theme from BootSwatch (http://bootswatch.com/superhero/) and pasted the entire "bootstrap.css" into styles.css.

    That appears to have worked and I now have an alternative theme ... however, the styling and HTML templating is all contained within the Dialogue "Theme" folders. If I build a site outside of Dialogue, what is the best way of using the same CSS / HMTL / etc for both?

    Am I right in assuming that Dialogue is not actually tied to using Bootstrap and could use any framework (e.g. Zurb Foundation)?

  • Lee 1130 posts 3088 karma points
    Dec 04, 2014 @ 12:47
    Lee
    0

    Just link to your own CSS/JS in the Master view. It's not tied to bootstrap, because you copy across all the views into your own Theme folder. So you can use and do whatever you like.

  • Lewis 27 posts 90 karma points
    Dec 18, 2014 @ 11:55
    Lewis
    0

    Spent a day or so looking at this & I like what I have seen so far, nice work!

    Just wondering what is the best way to integrate Dialogue into my existing Views? For example I would still like to use the header/footer/etc from my master view that my other content nodes use. I tried assigning a view to the Dialogue node that would then call the  '\app_plugins\dialogue\themes\default\views\master.cshtml' view, but it doesn't work this way.

    Thanks in advance.
    Lewis 

  • Lee 1130 posts 3088 karma points
    Jan 19, 2015 @ 11:52
    Lee
    0

    Put your header and footer into partial views and call them into your site master and the Dialogue master.

  • Lewis 27 posts 90 karma points
    Jan 23, 2015 @ 15:00
    Lewis
    0

    Yeah thought that might be the best way, thanks! Haven't worked on integrating yet but it's gonna be interesting to see how the virtual nodes behave with CurrentPage returning forum root!

Please Sign in or register to post replies

Write your reply to:

Draft