-
AuthorPosts
-
Colin Sherlock Friend
Colin Sherlock
- Join date:
- September 2014
- Posts:
- 36
- Downloads:
- 3
- Uploads:
- 6
- Thanks:
- 7
January 24, 2012 at 8:23 am #173131I 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
Colinjooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
January 24, 2012 at 2:39 pm #435178Hi
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 ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
January 26, 2012 at 1:57 am #435485Hi
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 FriendColin Sherlock
- Join date:
- September 2014
- Posts:
- 36
- Downloads:
- 3
- Uploads:
- 6
- Thanks:
- 7
January 27, 2012 at 5:36 pm #435739I 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 ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
January 27, 2012 at 5:42 pm #435741Seems 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/footerswissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
January 27, 2012 at 6:00 pm #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 FriendColin Sherlock
- Join date:
- September 2014
- Posts:
- 36
- Downloads:
- 3
- Uploads:
- 6
- Thanks:
- 7
January 27, 2012 at 11:49 pm #435799This 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 Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
January 27, 2012 at 11:54 pm #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 ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
January 28, 2012 at 4:29 pm #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 2swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
January 28, 2012 at 5:29 pm #435904Right 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 ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
January 28, 2012 at 6:00 pm #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 Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
January 28, 2012 at 6:11 pm #435910Hi 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 ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
January 28, 2012 at 8:01 pm #435934This 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.
1 user says Thank You to John Wesley Brett for this useful post
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
January 28, 2012 at 8:17 pm #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!!
-
AuthorPosts
This topic contains 14 replies, has 4 voices, and was last updated by swissa 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum