jwrapperbot & jtarget 1.5 native — support
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
jwrapperbot & jtarget 1.5 native — support
Please use this topic if you have any question concerning jwrapperbot & jtarget
http://extensions.joomla.org/component/ ... Itemid,35/
http://extensions.joomla.org/component/ ... Itemid,35/
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Enthusiast
- Posts: 140
- Joined: Wed Jun 21, 2006 3:52 pm
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
Permission issue. Solved now.Webtytte wrote:Download link doesnt work
http://info-graf.fr/infografcvs/index.p ... Itemid=142
Regards
Webtytte
Thanks
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Dec 13, 2008 11:21 am
Re: jwrapperbot & jtarget 1.5 native — support
Very nice tool.
But some questions open:
1. What do you mean by your example:
{wrap name="my_iframe" component="1" target="1" width="98%"}http://mysite.com/component_menu_link.html{/wrap}
is name free to choose?
is component a number or is component the name of a component or type in joomal (e.g. component, footer, right)
width=100%: don't work if the external site is the only one presented in the content.
But some questions open:
1. What do you mean by your example:
{wrap name="my_iframe" component="1" target="1" width="98%"}http://mysite.com/component_menu_link.html{/wrap}
is name free to choose?
is component a number or is component the name of a component or type in joomal (e.g. component, footer, right)
width=100%: don't work if the external site is the only one presented in the content.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
"component_menu_link.html"
is the link you get when you make the hidden menu. Copy that link.
The width is to choose depending on your template
is the link you get when you make the hidden menu. Copy that link.
The width is to choose depending on your template
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Dec 13, 2008 11:21 am
Re: jwrapperbot & jtarget 1.5 native — support
thank you very much for this fast reply!
But still unsure:
name="my_iframe"
So is name=??? free to choose?
component="1"
is component also free to choose, or a number, or a component name?
target="1"
a number or a tag (e.g. _top)
Greetings from Berlin,
Jesko.
But still unsure:
name="my_iframe"
So is name=??? free to choose?
component="1"
is component also free to choose, or a number, or a component name?
target="1"
a number or a tag (e.g. _top)
Greetings from Berlin,
Jesko.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
A 1.5 native plugin enabling you to wrap
an external site or a component via an Iframe in an Article.
----->To use the target feature, install and enable the jtarget system plugin.
Example of usage to load an external site or script: {wrap}http://developer.joomla.org/{/wrap}
Example of usage with localized parameters:
SEF on url
{wrap name="my_iframe" component="1" target="1" width="98%"}http://mysite.com/component_menu_link.html{/wrap}
or :
SEF off url
{wrap component="1" target="1" }http://mysite.com/index.php?option=com_ ... d=53{/wrap}
Tip for component usage: to get the right url for the component, create a menu and a component menu item, publish the menu in an available position, load the site and copy the url of the menu item, then change the menu position to a non available one in your template.
jwrapperbot will accept either sef or non sef urls.
Parameters:
* name: this name can be used to target the IFrame (Text)
* height: fixed height of IFrame in pixels (any #)
* height_auto: The height will automatically be set to the size of the external page. This will only work for pages on your own domain. If you see a javascript error, make sure this param is disabled. This will break XHTML compatibility for this page. (0/1)
* width: Width of IFrame (any # + px or %)
* scrolling: Show/Hide Horizontal and Vertical scroll bars. (0/1)
* class: CSS class for the wrapper. Add the class in your template.css file (Text)
* component: Set to yes (1) if you want to load a component url in the IFrame.
Will add "?tmpl=component" to the url when sef on or "&tmpl=component" when sef off(0/1)
* target: Implement only if component parameter is set to 'yes'. Set to none if you want the IFrame links to display in the IFrame, _top (1) if you want to replace the existing site window (advised if you load a component in the IFrame), _blank (2) if you want to load in a new window (1/2)
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Dec 13, 2008 11:21 am
Re: jwrapperbot & jtarget 1.5 native — support
so i am enlightened, thank you very much!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu May 29, 2008 8:59 pm
Re: jwrapperbot & jtarget 1.5 native — support
Just wanted to say that is an excellent plugin. I have been searching for an easy solution for the auto-height problem for a long time. Thank you for your effort in developing this for the community! Works perfectly on pages residing on our local server.
Feature request would be if anyone can figure out how to dynamically resize an external link though.
Feature request would be if anyone can figure out how to dynamically resize an external link though.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
This is totally impossible as it is a security feature in all modern browsers.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Dec 23, 2008 3:50 pm
Re: jwrapperbot & jtarget 1.5 native — support
Really nice extension thanks. Sorry if this is a silly question, but does it allow you to attach a style to control the iframe contents? If so can you explain how to do it. I tried entering absolute path where it says add a css file in the iframe header such as http://localhost/mysite/templates/rhuk_ ... iframe.css I dont think this worked. Also tried just iframe.css this didnt work either. I also entered these paths to {wrap class="iframe.css"}url{/wrap}. Couldnt get the css file to load. I didnt understand what jtarget does exactly.
thanks
thanks
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
JTarget is only to be used when a Joomla component is loaded in the Iframe. The css file, as stated must be present in the css folder of the template. It is unnecessary if the template has only one template.css file. In the case of milkyway, it IS necessary to add one the css files (blue, green, orange, red)Natreb wrote:Really nice extension thanks. Sorry if this is a silly question, but does it allow you to attach a style to control the iframe contents? If so can you explain how to do it. I tried entering absolute path where it says add a css file in the iframe header such as http://localhost/mysite/templates/rhuk_ ... iframe.css I dont think this worked. Also tried just iframe.css this didnt work either. I also entered these paths to {wrap class="iframe.css"}url{/wrap}. Couldnt get the css file to load. I didnt understand what jtarget does exactly.
thanks
It will not work for any external url.
Adding a parameter which is not present in Jwrapperbot will not work either.
The purpose of JTarget is to be able to use any link present in a component display without loading the entire site again in the Iframe, which it would do per default.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Dec 23, 2008 3:50 pm
Re: jwrapperbot & jtarget 1.5 native — support
Thank you for your quick reply. I ll give it a go.
-
- Joomla! Intern
- Posts: 58
- Joined: Sat Dec 02, 2006 4:49 pm
Re: jwrapperbot & jtarget 1.5 native — support
B4 I even get to play, I got this on install!
Code: Select all
JInstaller::install: The language file 'fr-FR.plg_content_jwrapperbot.ini' could not be installed because the Administrator language package for 'fr-FR' has not been installed or does not exist.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
This is normal. Do not worry. It does not prevent these plugins from working OK.eel wrote:B4 I even get to play, I got this on install!
Code: Select all
JInstaller::install: The language file 'fr-FR.plg_content_jwrapperbot.ini' could not be installed because the Administrator language package for 'fr-FR' has not been installed or does not exist.
Jwrapperbot & JTarget come with English and French language files.
If French core language is not installed in your Joomla!, these specific language files are not either.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Feb 12, 2007 11:21 am
Re: jwrapperbot & jtarget 1.5 native — support
Wrapper auto height does not work.
Does any one know how I can make the wrapper correctly auto height for the page I am loading in the wrapper. it does not matter if I have auto height turned on or off, the wrapper always goes to the size specifier in the height option.
Thanks
Does any one know how I can make the wrapper correctly auto height for the page I am loading in the wrapper. it does not matter if I have auto height turned on or off, the wrapper always goes to the size specifier in the height option.
Thanks
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
Auto-height in jwrapperbot as for any Iframe, may only work if the page loaded is on the same server.
This is a security limitations of all modern browsers, not code related.
This is a security limitations of all modern browsers, not code related.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Feb 12, 2007 11:21 am
Re: jwrapperbot & jtarget 1.5 native — support
The page I am trying to load is in a subdirectory of the main site, it is on the same server and same domain.
-
- Joomla! Intern
- Posts: 58
- Joined: Mon Jan 09, 2006 9:26 pm
- Location: Nederland
Re: jwrapperbot & jtarget 1.5 native — support
okay...very good this plugin...but I need more. Hope someone can help me.
I have made a page and included an iframe with this plugin.
That works great. But now I have a module with images and these images link to a page in the iframe.
Now can I create of each image and link a new page with a new iframe.
But is it possible to use the one main page with iframe.
For instance. I made a page called joomla...and the i frame is this topic
http://forum.joomla.org/viewtopic.php?f=473&t=326302
That works. But now I have a image in a module with a link and this link must go to the same page, but with another lframe-link for instrance http://forum.joomla.org/viewtopic.php?f=473&t=380543
Can I create this with the same iframe page?
I have made a page and included an iframe with this plugin.
That works great. But now I have a module with images and these images link to a page in the iframe.
Now can I create of each image and link a new page with a new iframe.
But is it possible to use the one main page with iframe.
For instance. I made a page called joomla...and the i frame is this topic
http://forum.joomla.org/viewtopic.php?f=473&t=326302
That works. But now I have a image in a module with a link and this link must go to the same page, but with another lframe-link for instrance http://forum.joomla.org/viewtopic.php?f=473&t=380543
Can I create this with the same iframe page?
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
That is pretty easy.
1. Create an article and include the Jwrapperbot call
{wrap}http://forum.joomla.org/viewtopic.php?f ... 6302{/wrap}
2. Make a menu item to that article
3. Your module should only display for this menu item
4. The links in your module should target the Iframe in the article
In this case:
<a target="contentframe" href="http://forum.joomla.org/viewtopic.php?f ... =380543</a>
where "contentframe" is the default name of the Iframe as defined in the Jwrapperbot parameters.
You can change that name at will or even include it in the {wrap} as explained when editing the plugin.
1. Create an article and include the Jwrapperbot call
{wrap}http://forum.joomla.org/viewtopic.php?f ... 6302{/wrap}
2. Make a menu item to that article
3. Your module should only display for this menu item
4. The links in your module should target the Iframe in the article
In this case:
<a target="contentframe" href="http://forum.joomla.org/viewtopic.php?f ... =380543</a>
where "contentframe" is the default name of the Iframe as defined in the Jwrapperbot parameters.
You can change that name at will or even include it in the {wrap} as explained when editing the plugin.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Intern
- Posts: 58
- Joined: Mon Jan 09, 2006 9:26 pm
- Location: Nederland
Re: jwrapperbot & jtarget 1.5 native — support
Just wonderful...it works like a charm
-
- Joomla! Intern
- Posts: 58
- Joined: Mon Jan 09, 2006 9:26 pm
- Location: Nederland
Re: jwrapperbot & jtarget 1.5 native — support
a little bit to fast to conclude that it works like a charm....
The module works great, when the module is on the same page where the first wrapper is.
When i go to my homepage other another page...the page will load on new window without joomla
The module works great, when the module is on the same page where the first wrapper is.
When i go to my homepage other another page...the page will load on new window without joomla
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
3. Your module should only display for this menu item
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Intern
- Posts: 58
- Joined: Mon Jan 09, 2006 9:26 pm
- Location: Nederland
Re: jwrapperbot & jtarget 1.5 native — support
So only on that page...I can put that menu-item on every page of course.infograf768 wrote:3. Your module should only display for this menu item
Isn't there a little hack for this.
You can show it here
must login to see the pages
email : [email protected]
password: test1234
Menu is fakemenu --> Occasion-detail
Module is cars on left module (not every car has a link yet and not all links correspondent to the right car)
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
It's working OK on your site.
The Iframe has to be displayed to be targeted. It would never work otherwise.
You could test a trick though. I have not tested myself.
Your fake menu would be positioned in a non-available position on your template, AND would be published
copy the url produced as it displays when editing the menu item, i.e
index.php?Itemid=## (or whatever)
You would have 2 modules
One would display for all menus EXCEPT for that menu.
The url clicked in this case would always be index.php?Itemid=##, i.e it would load the article in the Iframe without displaying the fake menu.
The second module would display ONLY for that menu, the same module you have now.
The Iframe has to be displayed to be targeted. It would never work otherwise.
You could test a trick though. I have not tested myself.
Your fake menu would be positioned in a non-available position on your template, AND would be published
copy the url produced as it displays when editing the menu item, i.e
index.php?Itemid=## (or whatever)
You would have 2 modules
One would display for all menus EXCEPT for that menu.
The url clicked in this case would always be index.php?Itemid=##, i.e it would load the article in the Iframe without displaying the fake menu.
The second module would display ONLY for that menu, the same module you have now.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Mar 12, 2009 3:16 pm
Re: jwrapperbot & jtarget 1.5 native — support
Hello Everybody,
I have been looking for this type of code for 2 weeks now, the only problem I have is that I cannot open in separate window. "Separate Window" I mean only article or the component by itself I would not like to have any header frame, menu, banner or anything in separate window.
Right now this is working fine If I want component in Iframe in same page with menu and header attached in same page.
Any help appreciated.
Thanks
I have been looking for this type of code for 2 weeks now, the only problem I have is that I cannot open in separate window. "Separate Window" I mean only article or the component by itself I would not like to have any header frame, menu, banner or anything in separate window.
Right now this is working fine If I want component in Iframe in same page with menu and header attached in same page.
Code: Select all
{wrap component="1" target="2"} http://abc.com/index.php?option=com_contactdirectory&view=contact&catid=28%3Apartners&id=1%3AJohn-smith&Itemid=31{/wrap}
Any help appreciated.
Thanks
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri Oct 10, 2008 10:57 am
Re: jwrapperbot & jtarget 1.5 native — support
Hi,
first of all, thanx for ur extension(s) and ur support.
I'm trying to use jwrapperbot & jtarget in a specific way.
Is it possible to wrap a component of an external site?
on my site 2 i want to see the component i have installed on my site 1
The two sites will at the end be on the same servers but two different joomlas.
cheers
rastabast
first of all, thanx for ur extension(s) and ur support.
I'm trying to use jwrapperbot & jtarget in a specific way.
Is it possible to wrap a component of an external site?
on my site 2 i want to see the component i have installed on my site 1
The two sites will at the end be on the same servers but two different joomlas.
cheers
rastabast
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
Honestly no idea. It is not specifically designed for that purpose.rastabast wrote:Hi,
first of all, thanx for ur extension(s) and ur support.
I'm trying to use jwrapperbot & jtarget in a specific way.
Is it possible to wrap a component of an external site?
on my site 2 i want to see the component i have installed on my site 1
The two sites will at the end be on the same servers but two different joomlas.
cheers
rastabast
Why don't you try. You are the one able to get the right urls. I see some possible issue with CSS. Target should be _blank I guess, to open the other site in a new window when clicking a link if the component contains any.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jwrapperbot & jtarget 1.5 native — support
Unclear to me.Nirav wrote:Hello Everybody,
I have been looking for this type of code for 2 weeks now, the only problem I have is that I cannot open in separate window. "Separate Window" I mean only article or the component by itself I would not like to have any header frame, menu, banner or anything in separate window.
Right now this is working fine If I want component in Iframe in same page with menu and header attached in same page.
Code: Select all
{wrap component="1" target="2"} http://abc.com/index.php?option=com_contactdirectory&view=contact&catid=28%3Apartners&id=1%3AJohn-smith&Itemid=31{/wrap}
Any help appreciated.
Thanks
What do you exactly want to achieve?
Please start explaining looking at your frontend, clicking on a menu item.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Mar 12, 2009 3:16 pm
Re: jwrapperbot & jtarget 1.5 native — support
I think I have found my solution by just simply trying different way. Actually I was trying to have contact form in Lightbox / Shadowbox. I wanted website visitor to click contact person name and contact form should open in Lightbox / Shadowbox.
Example: Our company sell abc product. Please contact john smith for detail.
Here I wanted John Smith's Contact Form Open in Lightbox or Shadow box right in same page.
Here is a code that Works. I am using "Contact Directory" component. It is not available in joomla extension. I found it on google. check it out.http://forum.joomla.org/viewtopic.php?f=471&t=381025
Thanks for reply. My problem is solved.
Example: Our company sell abc product. Please contact john smith for detail.
Here I wanted John Smith's Contact Form Open in Lightbox or Shadow box right in same page.
Here is a code that Works. I am using "Contact Directory" component. It is not available in joomla extension. I found it on google. check it out.http://forum.joomla.org/viewtopic.php?f=471&t=381025
Code: Select all
<strong> <a rel="lightbox;width=800;height=600" title="Contact John Smith" href="index.php?option=com_contactdirectory&view=contact&catid=28%3Apartners&id=2%3AJohn-Smith&Itemid=31&tmpl=component&targetag=2""><b>John Smith</strong></a>