Would you like to react to this message? Create an account in a few clicks or log in to continue.

Modul Temat aktive nga vizita e fundit!

2 posters

Go down

solved Modul Temat aktive nga vizita e fundit!

Post by AC_Milano Sun 22 Feb 2015, 20:03

Pershendetje Naki,
A kishe pas mundesi me naj dhene kodin qysh me ba nje modul ku anetaret munden me pa temat aktive nga vizita e tyre e fundit ne forum.
Faleminderit!
AC_Milano
AC_Milano

Postime : 64
Kyējet nė forum : 15339
Regjistruar mė : 2010-12-22

Back to top Go down

solved Re: Modul Temat aktive nga vizita e fundit!

Post by Naki Mon 23 Feb 2015, 15:46

Pershendetje Ac_Milano
Vepro keshtu..
Paneli I administrimit > Modules > Portal & Widgets > Gestioni I faqeve te portalit> Krijo nje bllok te personalizuar> Emri I bllokute ( veje si te duash)> Perdor nje table type (JO)>
 dhe ne sourcen e bllokut veje kete kod:
Code:
<script>
jQuery(document).ready(function(){
jQuery('#newTopics').hide();
if(!document.getElementById('logout')) {
jQuery('#loadNewestBlock').hide();}
jQuery('#showNewest').click(function() {
jQuery('#newTopics').slideToggle();
jQuery('#topicShown').load('/search?search_id=newposts a.topictitle');
 });
});
</script>
<style>
/*Topic Load Button*/
#loadNewestBlock{
text-align:center;
margin:10px;
}
#showNewest{
font-size:10px;
font-weight:bold;
color:#fff;
background-color:#257;
border-radius:5px;
padding:10px;
box-shadow:0px -10px 6px rgba(0,0,0, 0.2) inset, 0px 10px 6px rgba(255,255,255, 0.2) inset;
}
#showNewest:hover{
color:#ff8;
background-color:#368;
cursor:pointer;
}
/*Topic Titles*/
#newTopics a.topictitle{
display:block;
font-weight:normal;
padding-top:3px;
padding-left:3px;
border-bottom:1px solid #ddd;
}
#newTopics a.topictitle:hover{
text-decoration:none !important;
}
#newTopics a.topictitle:before{
content:"•";
}
/*Topic Box*/
#lastVisitTitle{
text-align:center;
font-weight:bold;
font-size:10px;
border-bottom:1px solid #ccc;
background:#257;
color:#fff;
padding:3px;
box-shadow:0px 8px 6px rgba(255,255,255, 0.2) inset;
}
#newTopics{
max-height:120px;
overflow-y:auto;
border-radius:5px;
border:1px solid #DDD;
background-color:#F3F3F3;
box-shadow: 0px 0px 0px 1px #fff inset, 0px 0px 3px 1px rgba(128, 128, 128, 0.2) inset;
}
</style><div id="loadNewestBlock"><span id="showNewest" title="Show/Hide">Load Newest Topics</span></div><div id="newTopics"><div id="lastVisitTitle">Topics Since Last Visit</div><span id="topicShown"></span></div>
E tera eshte kjo cka duhet te besh Very Happy
Naki
Naki

Shteti : Republika e Kosovės
Postime : 9124
Kyējet nė forum : 26212
Regjistruar mė : 2007-05-29

https://naki.albanianforum.net

Back to top Go down

solved Re: Modul Temat aktive nga vizita e fundit!

Post by AC_Milano Mon 23 Feb 2015, 20:17

Naki wrote:Pershendetje Ac_Milano
Vepro keshtu..
Paneli I administrimit > Modules > Portal & Widgets > Gestioni I faqeve te portalit> Krijo nje bllok te personalizuar> Emri I bllokute ( veje si te duash)> Perdor nje table type (JO)>
 dhe ne sourcen e bllokut veje kete kod:
Code:
<script>
jQuery(document).ready(function(){
jQuery('#newTopics').hide();
if(!document.getElementById('logout')) {
jQuery('#loadNewestBlock').hide();}
jQuery('#showNewest').click(function() {
jQuery('#newTopics').slideToggle();
jQuery('#topicShown').load('/search?search_id=newposts a.topictitle');
 });
});
</script>
<style>
/*Topic Load Button*/
#loadNewestBlock{
text-align:center;
margin:10px;
}
#showNewest{
font-size:10px;
font-weight:bold;
color:#fff;
background-color:#257;
border-radius:5px;
padding:10px;
box-shadow:0px -10px 6px rgba(0,0,0, 0.2) inset, 0px 10px 6px rgba(255,255,255, 0.2) inset;
}
#showNewest:hover{
color:#ff8;
background-color:#368;
cursor:pointer;
}
/*Topic Titles*/
#newTopics a.topictitle{
display:block;
font-weight:normal;
padding-top:3px;
padding-left:3px;
border-bottom:1px solid #ddd;
}
#newTopics a.topictitle:hover{
text-decoration:none !important;
}
#newTopics a.topictitle:before{
content:"•";
}
/*Topic Box*/
#lastVisitTitle{
text-align:center;
font-weight:bold;
font-size:10px;
border-bottom:1px solid #ccc;
background:#257;
color:#fff;
padding:3px;
box-shadow:0px 8px 6px rgba(255,255,255, 0.2) inset;
}
#newTopics{
max-height:120px;
overflow-y:auto;
border-radius:5px;
border:1px solid #DDD;
background-color:#F3F3F3;
box-shadow: 0px 0px 0px 1px #fff inset, 0px 0px 3px 1px rgba(128, 128, 128, 0.2) inset;
}
</style><div id="loadNewestBlock"><span id="showNewest" title="Show/Hide">Load Newest Topics</span></div><div id="newTopics"><div id="lastVisitTitle">Topics Since Last Visit</div><span id="topicShown"></span></div>
E tera eshte kjo cka duhet te besh Very Happy
faleminderit shum Naki kjo eshte ajo qe kam kerkuar  cig
AC_Milano
AC_Milano

Postime : 64
Kyējet nė forum : 15339
Regjistruar mė : 2010-12-22

Back to top Go down

solved Re: Modul Temat aktive nga vizita e fundit!

Post by Naki Tue 24 Feb 2015, 09:17

AC_Milano wrote:
Naki wrote:Pershendetje Ac_Milano
Vepro keshtu..
Paneli I administrimit > Modules > Portal & Widgets > Gestioni I faqeve te portalit> Krijo nje bllok te personalizuar> Emri I bllokute ( veje si te duash)> Perdor nje table type (JO)>
 dhe ne sourcen e bllokut veje kete kod:
Code:
<script>
jQuery(document).ready(function(){
jQuery('#newTopics').hide();
if(!document.getElementById('logout')) {
jQuery('#loadNewestBlock').hide();}
jQuery('#showNewest').click(function() {
jQuery('#newTopics').slideToggle();
jQuery('#topicShown').load('/search?search_id=newposts a.topictitle');
 });
});
</script>
<style>
/*Topic Load Button*/
#loadNewestBlock{
text-align:center;
margin:10px;
}
#showNewest{
font-size:10px;
font-weight:bold;
color:#fff;
background-color:#257;
border-radius:5px;
padding:10px;
box-shadow:0px -10px 6px rgba(0,0,0, 0.2) inset, 0px 10px 6px rgba(255,255,255, 0.2) inset;
}
#showNewest:hover{
color:#ff8;
background-color:#368;
cursor:pointer;
}
/*Topic Titles*/
#newTopics a.topictitle{
display:block;
font-weight:normal;
padding-top:3px;
padding-left:3px;
border-bottom:1px solid #ddd;
}
#newTopics a.topictitle:hover{
text-decoration:none !important;
}
#newTopics a.topictitle:before{
content:"•";
}
/*Topic Box*/
#lastVisitTitle{
text-align:center;
font-weight:bold;
font-size:10px;
border-bottom:1px solid #ccc;
background:#257;
color:#fff;
padding:3px;
box-shadow:0px 8px 6px rgba(255,255,255, 0.2) inset;
}
#newTopics{
max-height:120px;
overflow-y:auto;
border-radius:5px;
border:1px solid #DDD;
background-color:#F3F3F3;
box-shadow: 0px 0px 0px 1px #fff inset, 0px 0px 3px 1px rgba(128, 128, 128, 0.2) inset;
}
</style><div id="loadNewestBlock"><span id="showNewest" title="Show/Hide">Load Newest Topics</span></div><div id="newTopics"><div id="lastVisitTitle">Topics Since Last Visit</div><span id="topicShown"></span></div>
E tera eshte kjo cka duhet te besh Very Happy
faleminderit shum Naki kjo eshte ajo qe kam kerkuar  cig
Me vjen mire qe ju ndihmova.
Pasi u zgjidh problem e konsideroj te mbyllur kete teme
Naki
Naki

Shteti : Republika e Kosovės
Postime : 9124
Kyējet nė forum : 26212
Regjistruar mė : 2007-05-29

https://naki.albanianforum.net

Back to top Go down

solved Re: Modul Temat aktive nga vizita e fundit!

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum