Security bug discovered in all previous Joomla 1.5 versions. UPDATE NOW!
This will not affect your template layouts or features

More info  

Or fast upgrade

You are here:Templates Club arrow Help and Support arrow Support Forums
Youjoomla Support
Welcome, Guest
Please Login or Register.    Lost Password?
Re:front page (SOLVED) (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:front page (SOLVED)
#3202
Rodder
Senior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
Re:front page 4 Months, 3 Weeks ago Karma: 0  
I have also found that alot of java scripts can interfere with the java in media box (:ieupdate.js ,etc.). Speaking of that, is there a way of turning off the flash backgrounds when using mediabox? Flash show s through the overlay and it looks messy. Do you have any suggestions neo?
 
Logged Logged  
  The administrator has disabled public write access.
#3203
motorbikethailand
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Re:front page 4 Months, 3 Weeks ago Karma: 0  
Trying to get my head around this...When you say news I guess you mean content?

Cant understand why that would make a difference as the videos are working on index page in a module already.

Ok I need to get on with my site so I am going to publich videos only on front page as per the demo version. If a fix comes up where it's possible to show this on other pages then please let me know!
 
Logged Logged  
 
Last Edit: 2008/04/16 10:07 By motorbikethailand.
  The administrator has disabled public write access.
#3204
neo
Admin
Posts: 2618
graph
User Online Now Click here to see the profile of this user
Re:front page 4 Months, 3 Weeks ago Karma: 65  
OK sorry , I will try again,

Mediabox is a CONTENT ONLY mambot. That means that is supposed to be used in NEWS ITEMS, when Joomla has a news item published it calls all mambots that are associated with CONTENT(content is news item) if there is no news item Joomla does not load content mambots since there is no need for them , and so it does not load the mediabox.
 
Logged Logged  
 
Please mark your post as SOLVED if your issue is resolved. Thank you. To mark the post as solved , edit your first post title : NOTE FOR UNANSWERED POST: IF YOUR POST IS NOT ANSWERED WITHIN 48H PLEASE SEND ME AN EMAIL TROUGH OUR CONTACT FORM WITH SUBJECT UNANSWERED POST
  The administrator has disabled public write access.
#3208
motorbikethailand
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Re:front page 4 Months, 3 Weeks ago Karma: 0  
Neo: Obviously your a busy man and dont want to hold you up on this for ever but please tell me what i am doing wrong?

We have worked out that by showing video 1,2 & 3 on all pages the video opens in a new browser on all pages except home page. So I put a link to a you tube video in the content of a news article. That article is published on the front page and the video opens as it should do using the media box but, only on the content article on the front page. Go to the content itslef and it opens in a new browser?

So unless I am doing something wrong regardless of used in news items or not it only works on the front page ragardless of how it is displayed either ina module or news item? The same with pictures it clicks into a new browser.
 
Logged Logged  
 
Last Edit: 2008/04/16 13:06 By motorbikethailand.
  The administrator has disabled public write access.
#3254
neo
Admin
Posts: 2618
graph
User Online Now Click here to see the profile of this user
Re:front page 4 Months, 3 Weeks ago Karma: 65  
sorry I forgot about the mambot load , ok , go to
mambots/content/bot_mb.php

remove lines 15 trough 27

Code:

$linktag=""; $linktag.="<link rel='stylesheet' type='text/css' href='".$mosConfig_live_site."/mambots/content/ bot_mb/css/popbox.css' media='screen'/>\n"; $linktag.="<script type='text/javascript' src='".$mosConfig_live_site."/mambots/content/bot_mb /js/mootools.js'> </script>\n"; $linktag.="<script type='text/javascript' src='".$mosConfig_live_site."/mambots/content/bot_mb /js/popbox.js'> </script>\n"; $linktag.="<script type='text/javascript' src='".$mosConfig_live_site."/mambots/content/bot_mb/ js/moviebox.js'> </script>\n"; $linktag.= "<!--[if lte IE 6]> <link href=\"".$mosConfig_live_site."/mambots/content/bot_mb/ css/ie6fixes.css\" rel=\"stylesheet\" type=\"text/css\" /> <script type=\"text/javascript\" src=\"".$mosConfig_live_site."/mambots/content/bot_mb/js/ ie6minmax.js\"></script> <![endif]--> \n"; $mainframe->addCustomHeadTag($linktag);
 
Logged Logged  
 
Last Edit: 2008/04/17 22:05 By neo.
 
Please mark your post as SOLVED if your issue is resolved. Thank you. To mark the post as solved , edit your first post title : NOTE FOR UNANSWERED POST: IF YOUR POST IS NOT ANSWERED WITHIN 48H PLEASE SEND ME AN EMAIL TROUGH OUR CONTACT FORM WITH SUBJECT UNANSWERED POST
  The administrator has disabled public write access.
#3258
motorbikethailand
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Re:front page (SOLVED) 4 Months, 3 Weeks ago Karma: 0  
Neo, if I was gay I could give you a bit wet juicy kiss, but I'm not so just a big thank you! IT WORKED!

For those of you having the same same problem here is exactly what made videos load properly in media box on every page!

open index.php in your newsline template folder and add this before </head> tag

Code:...


<link rel='stylesheet' type='text/css' href='http://motorbike-asia.com/mambots/content/
bot_mb/css/popbox.css' media='screen'/>
<script type='text/javascript' src='http://motorbike-asia.com/mambots/content/
bot_mb/js/mootools.js'></script>
<script type='text/javascript' src='http://motorbike-asia.com/mambots/content/
bot_mb/js/popbox.js'></script>
<script type='text/javascript' src='http://motorbike-asia.com/mambots/content/
bot_mb/js/moviebox.js'></script>

<!--[if lte IE 6]>
<link href="http://motorbike-asia.com/mambots/
content/bot_mb/css/ie6fixes.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://motorbike-asia.com/mambots/content/
bot_mb/js/ie6minmax.js"></script>
<![endif]-->

Now go to

mambots/content/bot_mb.php and remove lines 15 trough 27


Code:
$linktag=""; $linktag.="<link rel='stylesheet' type='text/css' href='".$mosConfig_live_site."/mambots/content/ bot_mb/css/popbox.css' media='screen'/>\n"; $linktag.="<script type='text/javascript' src='".$mosConfig_live_site."/mambots/content/bot_mb /js/mootools.js'> </script>\n"; $linktag.="<script type='text/javascript' src='".$mosConfig_live_site."/mambots/content/bot_mb /js/popbox.js'> </script>\n"; $linktag.="<script type='text/javascript' src='".$mosConfig_live_site."/mambots/content/bot_mb/ js/moviebox.js'> </script>\n"; $linktag.= "<!--[if lte IE 6]> <link href=\"".$mosConfig_live_site."/mambots/content/bot_mb/ css/ie6fixes.css\" rel=\"stylesheet\" type=\"text/css\" /> <script type=\"text/javascript\" src=\"".$mosConfig_live_site."/mambots/content/bot_mb/js/ ie6minmax.js\"></script> <![endif]--> \n"; $mainframe->addCustomHeadTag($linktag);

I have only tested it on front page and one other page and it seems to work perfectly! I haven't unpublished the media mambot and its working but it should work with it unpublished also. (i think)
 
Logged Logged  
 
Last Edit: 2008/04/18 03:47 By motorbikethailand.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop