Joomler!.net - Decided on Joomla!

デル株式会社

Jboard is Multiple Board!

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 rexkramer 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 Jet 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 a7tx42 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 leeue 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

ja purity template - need to customize css
Avatar webrp 2008/12/20 13:06
hi 1st of all thank you for this usefull module! I love this thumbnail feature. I have it o...
weblink does not display
Avatar insight 2009/02/20 09:40
hi I am using weblink module based on Joomla 1.5.9, but I cannot see this module works on my s...
WebLink Info New Version(Test)
Avatar Joomler! 2008/09/23 09:05
少し前に作成してあって放置していたものです。 旧バージョンとの違い 並び順に指定順を追加 カラム数を指定し横並びもできる なぜ、ここかというとちゃんと確認していな...
showing the links in a different order than avail.
Avatar posternb 2008/09/13 18:17
Hi there. I would like to have my links show in the backend order, instead of random, new, or mo...
Wrapper
Avatar Lexchess 2009/11/05 06:41
Is there a way to display your links in a Joomla 1.5 wrapper when they are clicked?

Forum Stats

All times are UTC + 9 hours
Total Topics:201
Total Posts:1131
New Members:
Avatar sfosseen Avatar JimJo

Forum Online

Total Online:79
Total Guest:79
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?
Lexchess
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
476
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.
Lexchess
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
476
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.
Lexchess
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.