Roby73 wrote:
Try this version of liase, this work with xoops 2.5.6 but now is only in italian language.
metalslug.altervista.org/liaise.zip
anyone know where i can find iaise
i need both xforms and liaise for my project
thank you
Roby73 wrote:
Try this version of liase, this work with xoops 2.5.6 but now is only in italian language.
metalslug.altervista.org/liaise.zip
<table>
<tr>
<th><{$lang_newsarchives}></th>
</tr>
<{foreach item=year from=$years}>
<tr class="even">
<td><{$year.number}></td>
</tr>
<tr class="odd">
<td>
<{foreach item=month from=$year.months}>
<a href="./archive.php?year=<{$year.number}>&month=<{$month.number}>"><{$month.string}> </a>
<{/foreach}>
</td>
</tr>
<{/foreach}>
</table>
<{if $show_articles == true}>
<table>
<tr>
<th><{$lang_articles}></th>
<th align="center"><{$lang_actions}></th>
<th align="center"><{$lang_views}></th>
<th align="center"><{$lang_date}></th>
</tr>
<{foreach item=story from=$stories}>
<tr class="<{cycle values=" even,odd"}>">
<td><{$story.title}></td>
<td align="center">
<a href="<{$story.print_link}>" rel="nofollow"><img src="<{$xoops_url}>/modules/publisher/assets/images/links/print.gif" border="0" alt="<{$lang_printer}>"/></a>
<a href="<{$story.mail_link}>" target="_top"/><img src="<{$xoops_url}>/modules/publisher/assets/images/links/friend.gif" border="0" alt="<{$smarty.const._MD_PUBLISHER_SENDSTORY}>"/></a>
</td>
<td align="center"><{$story.counter}></td>
<td align="center"><{$story.date}></td>
</tr><{/foreach}>
</table>
<div><{$lang_storytotal}></div><{/if}>
- changed class/category.php the public function getCategoryPath to display breadcrumb as list
+ changed class/item.php to display category of article | line 718
+ in class/item.php deleted hardcoded <br><br> | line 248 | public function body | to display body and summary check module preferences at the bottom
- changed item.php to display article title in breadcrumb as last list element | line 186
- in bootstrap.css .panel-heading a{color:inherit} to avoid invisible title
- in bootstrap.css changed font-size to 12px for .breadcrumb
- in search.php added css class to <select> | line 176
- in search.php added css class to <select> | line 191
- in search.php added css class to <input> | line 200 - 230
- changed themes style css - add css for xoopsQuote
- changed /class/pagenav.php to add some style @heyula
- added style to xoops.css for the new pagenav | can also be added in the theme style
- comment out publisher.js from item.php
+ in class/item.php seperating smarty who_when in who and when
+ in class/item.php give titlelink a css class .titlelink | line 683
+ in class/item.php added imgurl, who and when in simpleview
Cifug wrote:
Quote:alain01 wrote:// Determine if video source is XoopsTube for thumbnail
case 200:
$thumb
=
'<img src="' . XOOPS_URL . '/' . $screenshot . '/' . $picurl .'" title="'. $title . '" alt="' . $title . '" style="padding: 0px; border-style: none;" />';
break;
}
return $thumb;
Now just write the fine name of the preview picture in the field "Link of the picture :" (for example "myvideo_01.png")
Thanks Alain01, this worked and the screenshot now shows but it isn't being resized to the thumbnail dimensions. You missed the "width" and "height" tags.
It works like this:// Determine if video source is XoopsTube for thumbnail
case 200:
$thumb
= '<img src="' . XOOPS_URL . '/' . $screenshot . '/' . $picurl . '" width="' . $width . '" height="' . $height . '" title="'. $title . '" alt="' . $title
. '" style="padding: 0px; border-style: none;" />';
break;
}
return $thumb;
}
Cheers,
Marty.
// Determine if video source is XoopsTube for thumbnail
case 200:
$thumb
= '<img src="' . XOOPS_URL . '/' . $screenshot . ' ' . $picurl . '" width="' . $width . '" height="' . $height . '" title="'. $title . '" alt="' . $title
. '" style="padding: 0px; border-style: none;" />';
break;
}
return $thumb;
}
noo-b wrote:
I have uploaded a category image and video ...in the Image and Video Upload Tab
Now .How do i add my own video ? and the screenshot of the video ?
last time in mytube there is option to select the uploaded video and category image
http://s28.postimg.org/3l83moxh9/Untitled.jpg
// $showvideo
// = '
// <script type="text/javascript" src="' . XOOPS_URL . '/modules/' . $xoopsModule->getvar('dirname') . '/flvplayer/flowplayer/flowplayer.min.js"></script>
// <a href="' . XOOPS_URL . '/' . $xoopsModule->getvar('dirname') . '/' . $vidid . '" style="display: block; width: 520px; height: 330px;" id="player"></a>
// <script>
// flowplayer("player", "' . XOOPS_URL . '/modules/' . $xoopsModule->getvar('dirname') . '/flvplayer/flowplayer/flowplayer.swf", {
// clip: {
// autoPlay: ' . $autoplay3 . ',
// autoBuffering: true
// }
// }
// );
// </script>
// ';
$showvideo = '<embed src="' . XOOPS_URL . '/modules/' . $xoopsModule->getvar('dirname'). '/include/mediaplayer.swf" width="425" height="350" allowScriptAccess="always" allowFullScreen="true" flashvars="width=425&height=350&file='
. XOOPS_URL . '/' . $xoopsModuleConfig['videodir'] . '/' . $vidid . '&image=' . XOOPS_URL . '/'
. $xoopsModuleConfig['videoimgdir'] . '/' . $screenshot . '&autostart=' . $autoplay3 . '"></embed>';
$module_handler = & xoops_gethandler('module');
$versioninfo = & $module_handler->get($xoopsModule->getVar('mid'));
if ($head_arr['title'] > '') {
$xoopsTpl->assign('xoops_pagetitle', $versioninfo->getInfo('name') . ': ' . $head_arr['title']);
} else {
$xoopsTpl->assign('xoops_pagetitle', $versioninfo->getInfo('name'));
}