Joomler!.net - Decided on Joomla!

Wiki or Wordpress? No it is JContentPlus.

Latest Posts

Requiring a login
Avatar abrill 2010/07/07 05:06
We created a new category, added links to it, and it asks for login after clicking on those links...
Re:Display weblinks in a nice table-grid - AllWeblinks plugin and module
Avatar Rex Kramer 2010/05/28 06:28
Hi, i really do like this one for a joomla core replacement (addition): http://extensions.jooml...
Adding a readmore link to mod_ weblink info
Avatar Jeffrey Leitch 2010/05/20 01:02
Hi there. I really like your Weblink Info module. It would be perfect for me except I want to se...
How can one change the display order to a horizontal way?
Avatar Andrew Sanderson 2010/04/22 00:28
I’m struggling of how to display the links in horizontal order instead of vertical order. A put...
Re:Where can I change the link title size?
Avatar Erik 2010/03/30 17:14
Thanks for your reply. I added your two lines to the template css, and added _weblinkinfo to the...

Popular Posts

Google Docs to Joomla 1.0.x with XML-RPC
Avatar Michael Smith 2008/05/14 05:38
Hi. I am trying to post content to my Joomla 1.0.15 site using Google Docs and its support for t...
Joomla 1.5.12 and MT 2.3.0/2.3.1 vs LiveWriter
Avatar Kaz 2009/07/12 19:39
I had a working version of MT on my Joomla site. (dont know which version) today i upgraded to...
Suddenly xmlrpc stopped working
Avatar teddy 2008/04/25 03:02
Hi Joomler, you did a great job with your xmlrpc plugin, and it worked incredibly until yesterday...
in J1.0.12 it Removes the
Avatar theo 2008/11/19 14:50
Well I am using this great plugin/mambot in Joomla 1.5 and Joomla 1.0.12. In joomla 1.5 no pro...
ブログエディタで投稿しよう!
Avatar Joomler! 2007/11/09 12:42
寒いなこのフォーラム 記事にあるようにこちらでブログエディタで投稿できるようにするエクステンションを配布します。これは、不具合や希望を出してもらうのが目的です。 何もなければそのま...

Forum Stats

All times are UTC + 9 hours
Total Topics:261
Total Posts:1254

Forum Online

Total Online:49
Total Guest:49
Bottom
Home » Support » Modules » Free Module » WebLinkInfo » Wrapper
Wrapper
Wrapper
Thursday, 05 November 2009 06:41
0 votes
Is there a way to display your links in a Joomla 1.5 wrapper when they are clicked?
jb
Fresh Boarder
Fresh Boarder
3
2009/11/05
Re:Wrapper
Friday, 06 November 2009 06:50
0 votes
I think that the thing displayed with Wrapper of Joomla is impossible.
However, if as follows is done, it is possible to do.

<?php if(JRequest::getInt('Itemid') == 48 /** Menu ID of your web link **/):?>
	<?php JHTML::_('behavior.mootools');?>
<script type="text/javascript">
window.addEvent('domready', function(){
	if(document.adminForm){
		weblinkWrapper = 'maincolumn';// maincolumn is example of rhuk_milkyway template. It is Element ID that wraped Content.
		document.adminForm.getElements('a').each(function(e, i){
			var href = e.getProperty('href');
			var coordinates = $(weblinkWrapper).getCoordinates();
			e.addEvent('click', function(eve){
				new Event(eve).stop();
				var container = new Element('div').injectAfter($(weblinkWrapper));
				var elem = new Element('input').setProperties({
					'type':'button',
					'class':'button',
					'value':'Close',
					'onclick':"$(weblinkWrapper).remove();$('displaynone').setStyle('display','').setProperty('id',weblinkWrapper);"
				}).injectInside(container);
				new Element('iframe').setProperties({
					'id': 'iframe'+i,
					'src':href,
					'width':'100%',
					'height':'100%'
				}).setStyles({
					'border':'none'
				}).injectInside(container);
				$(weblinkWrapper).setStyle('display', 'none').setProperty('id','displaynone');
				container.setProperty('id', weblinkWrapper).setStyles({
					witdh:coordinates.width,
					height:coordinates.height
				});
			});
		});
	}
});
</script>
<?php endif;?>
Joomler!
Platinum Boarder
Platinum Boarder
489
2007/08/26
Re:Wrapper
Saturday, 07 November 2009 04:34
0 votes
I'm not exactly following where you want to place that code above. If I create a normal menu item for each weblink, then Joomla will allow me to show each weblink in a Wrapper. That is a base Joomla option for any menu item.

I'm sure I am just confused on what you are attempting to do. Should the code above be placed in one of the PHP files found in the "weblinkInfo" directory?

I see where I can edit the mod_weblinkinfo.xml to place "Wrapper" as an option in the dropdown box. However, I can not even begin to figure out what code I am suppose to place in the default.php file to make links appear in a Wrapper.
jb
Fresh Boarder
Fresh Boarder
3
2009/11/05
Re:Wrapper
Saturday, 07 November 2009 06:28
0 votes
The file that added Code was put on the following links.

WEBLINKINFO WITH WRAPPER AND CUTOM WEBLINK TEMPLATE WITH WRAPPER
Joomler!
Platinum Boarder
Platinum Boarder
489
2007/08/26
Re:Wrapper
Saturday, 07 November 2009 10:41
0 votes
Excellent. With a bit of tweaking, I believe this will work. There are some strange quirks, but that is expected with a Beta version that you popped out so quickly. Amazing actually.

This does not affect my use, but some websites go into your wrapper and then jump to full screen. Joomla.org does this on FF and IE8 on my computers. Also, the CLOSE button does not work on IE8 on my work computer, haven't tested on another computer to verify this.

Off to try to implement this with the template I use. Super-duper, excellent support for this module. Thank you very, very, very much for your help. I had already typed up a Rentacoder submission for this, but I will gladly send that money, when I get back to work on Monday, to support this module and website instead.
jb
Fresh Boarder
Fresh Boarder
3
2009/11/05
 
Home » Support » Modules » Free Module » WebLinkInfo » Wrapper
joomler.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries.
joomler.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.