Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • Colin Sherlock Friend
    #173131

    I would like to use the existing version of ja_nex and then have another version that runs but without the header and footer so I can use it on another site as an Iframe.

    I have tried duplicating the template but if I take out the header and footer in the duplication, it takes it out on the original template as well.

    I also tried manually installing a copy of the template, but did not work either.

    Is there a way to have 2 versions, one full site and one without the header and footer?

    Or is there a better solution to this?

    Regards
    Colin

    jooservices Friend
    #435178

    Hi
    On a website you can use more than one template.
    To do that you can apply each template for each menu item.

    Thank you:

    ps:// this’s my project website with 3 templates used.

    http://hagattini.com/

    John Wesley Brett Moderator
    #435485

    Hi
    On a website you can use more than one template.
    To do that you can apply each template for each menu item.

    Thank you:

    ps:// this’s my project website with 3 templates used.
    http://hagattini.com/</blockquote>

    I could be mistaken, but I believe he was asking HOW to do that I.e. the steps involved.

    Colin Sherlock Friend
    #435739

    I need to have one standard version of my website and another identical site but without the header and footer,

    As far as I can see this cannot be achieved within one template. I tried installing the same template again to do what you suggested, but it wont install.

    I can strip out the header and footer in another template and use that, but I would like to be able to use the same template look throughout both versions.I can make a menu use another template ok, but it wont look the same.

    Hope im not confusing you.

    Any help would be appreciated.

    Colin

    John Wesley Brett Moderator
    #435741

    Seems to me like it would be easier to simply create a second instance of your website…and have both use the same database.
    Then just turn off the header and footer on the second.

    ROOT
    – site 1 (master database)
    – site 2 (master database) no header/footer

    swissa Friend
    #435745

    <em>@colinjoomlart 297187 wrote:</em><blockquote>I need to have one standard version of my website and another identical site but without the header and footer,

    As far as I can see this cannot be achieved within one template. I tried installing the same template again to do what you suggested, but it wont install.

    I can strip out the header and footer in another template and use that, but I would like to be able to use the same template look throughout both versions.I can make a menu use another template ok, but it wont look the same.

    Hope im not confusing you.

    Any help would be appreciated.

    Colin</blockquote>

    Colin,

    I’m a newbie but I’m trying to learn T3 better and had an idea but it will need other people to check out if it will work or not.

    So caveat. Make a backup first and ask these guys if it could work.

    Copy your main menu and then rename it and especially the alias something like main-iframe

    Now make sure it is published somewhere off site or a part that is not viewable. Something like Australian Parks etc. Make sure you copy the link as you’ll need that later.

    Now go to the template manager and make a new layout. Someone will need to help me here to delete the parts that have the header and footer. Make a new profile and use that layout and then make a new page assignment only for the menu called main-iframe.

    That will mean if you check that url you’ll see a site with no header or footer.

    Use that url in the iframe.

    I haven’t tried it but as I say I’m trying to learn here and think it might just do the trick. Anyone test my logic please?

    Could that work? Am I being completely stupid or naive?

    Colin Sherlock Friend
    #435799

    This doesnt work, because if you insert aricles with images, the images will go into example website 1. but website 2 will be looking for an image that hasnt been uploaded.

    swissa Friend
    #435801

    <em>@colinjoomlart 297262 wrote:</em><blockquote>This doesnt work, because if you insert aricles with images, the images will go into example website 1. but website 2 will be looking for an image that hasnt been uploaded.</blockquote>

    Sorry Colin, who are you replying to?

    John Wesley Brett Moderator
    #435896

    <em>@colinjoomlart 297262 wrote:</em><blockquote>This doesnt work, because if you insert aricles with images, the images will go into example website 1. but website 2 will be looking for an image that hasnt been uploaded.</blockquote>

    Easily fixed by keeping your images outside of both instances…and change your image path in both instances to map to that folder. ” i.e. ../../IMAGEFOLDER or where ever you choose to place it.

    ROOT
    – IMAGE FOLDER
    – INSTANCE 1
    – INSTANCE 2

    swissa Friend
    #435904

    Right you miserable bunch. Talk about give a guy a chance!! :-[

    Despite you all ignoring me I’m not going to get upset. Especially as my way works. So yah boo. 😉

    New layout made, new profile made, page assigned and it works. Without using two templates, without using two sites, and with no folders outside root. Just the power of T3 and a newbie approach! 🙂

    Right, how’s about a clap then!

    🙂

    John Wesley Brett Moderator
    #435908

    <em>@swissa 297393 wrote:</em><blockquote>
    New layout made, new profile made, page assigned and it works. </blockquote>

    Cool! Let’s see it!

    swissa Friend
    #435910

    Hi JWBrett

    I was just trying to see if it worked. And more importantly if I was capable of doing such stuff!

    EDIT – link removed. – which he could use for the iframe. I haven’t published all the modules but you can see the concept.

    Just working on the menus as the HOME menu is going to take it back to having the headers etc. You may be able to suggest a far more elegant way than I would. My lack of experience and small brain gives me weird ideas and to solve this I would use a very off the wall approach. So you tell me your ideas and then you can have a long laugh at mine!! 😀

    John Wesley Brett Moderator
    #435934

    This is Wonderful work Swissa. Thanks for sharing!

    Though you are correct, the HOME on the second template will break that issue…and by design HOME (or a default starting location) is the heart of the template.

    swissa Friend
    #435938

    <em>@jwbrett 297433 wrote:</em><blockquote>This is Wonderful work Swissa. Thanks for sharing!

    Though you are correct, the HOME on the second template will break that issue…and by design HOME (or a default starting location) is the heart of the template.</blockquote>

    Unless you are, like me, a Blödmannsgehilfe. (In english – village idiot’s apprentice.) Then you have to think outside the box or make do with what you have. Think Apollo 13.

    My only, albeit short experience, in Joomla has all been multi-language. So I would add one extra language just for the iframe home page with all other menus items set to language ALL. Then it shouldn’t break. Might be silly, strange or just stupid.

    Would it work? For future reference in case I ever needed to do something like this?

    Or while I am here, is it possible in T3 to specifically call (for the iframe) the iphone profile because if you could do that it would be another way to do it, no?

    Sorry to ask so many questions but keen to fill in on the MANY blanks I have! 😀

    UPDATE!

    Got it working in one language – english with no problems with HOME.

    Stolz!!

Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 4 voices, and was last updated by  swissa 12 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum