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

Fireboardについて・・・
Avatar 吉原清一 2007/12/05 00:07
突然の投稿、失礼いたします。 いつもJoomla情報が豊富で役立つJoomlerさんのサイトを見て、勉強させていただいております。ありがとうございます。 素晴らしいCSM,Jooml...
Google翻訳ツールいいですね~
Avatar 吉原清一 2008/03/27 17:53
お疲れ様です^_^ リリースされてたのに気づいたので、 Google翻訳ツール導入してみました!かなりいい感じですね~…。 海外からのお客さんも、これとサイト全文翻訳つければ グロー...
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全般の雑談
Avatar 吉原清一 2008/02/12 17:54
Joomlaに関する雑談スレッドです http://joomlaeasy.net/multithumb-for-joomla-15.html Joomla Easy.netさんの先日の記...
サイトデザインリニューアルおめでとう&お疲れさまです
Avatar 吉原清一 2008/05/13 08:31
お久しぶりです~。ようやくJoomla1.5.3にアップデートできました サイトがいつの間にかカッコヨクなってますね^_^ AjaxVoteがついてて、あれっ、これもう出たんだっ?と思っ...

Forum Stats

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

Forum Online

Total Online:87
Total Guest:87
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.