Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
croportal button problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
blackshtef
mi3.crew


Joined: 13 Sep 2003
Posts: 661

PostPosted: 25.10.2009 12:34    Post subject: croportal button problem Add user to your forum ignore list Reply with quote

Ovako, na naslovnici bloga mi se prikazuje dio posta, koji nastavlja sa Read more linkom.
Unutar posta se nalazi croportalov button.

No, ljudi uglavnom otvore post sa read more linkom, pa glasaju. URL koji se tad submita je www.domena.com/blog/ime-posta-123#read-more

No, ako otvorim post klikom na njegov naslov, odnosno, www.domena.com/blog/ime-posta-123 - croportal button je prazan, odnosno nema glasova...

Jel moguće da zbog tog #read-more croportal gleda na to kao na skroz drugi link?
I ako da, jel moguće nešto napraviti da ne gleda tako? Smile
Back to top
View user's profile Send private message Send e-mail MSN Messenger
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 25.10.2009 12:58    Post subject: Add user to your forum ignore list Reply with quote

Da, mozes sam odrediti koji url zelis da se koristi postavljanjem croportal_url js varijable prije
pozivanja same skripte.

Ako ju ne postavis, skripta uzme ono sto je trenutno u browseru otvoreno.
Info & code examples: http://www.croportal.net/api/help

Primjer:
Code:

<script type="text/javascript">
croportal_url = 'URL_KOJI_ŽELIŠ_PREDATI_CROPORTALU';
</script>
<script src="http://www.croportal.net/assets/js/croportal.js" type="text/javascript"></script>


Zasto je tako? Jer je teoretski moguce da linkovi na istom URL-u, ali sa razlicitim anchorima
ucitavaju potpuno drugi sadrzaj (think flash-based siteovi, ajax requestovi, all-in-one-page
siteovi i sl.)

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
blackshtef
mi3.crew


Joined: 13 Sep 2003
Posts: 661

PostPosted: 25.10.2009 13:17    Post subject: Add user to your forum ignore list Reply with quote

ah sooo Smile
zahvaljujem Wink
Back to top
View user's profile Send private message Send e-mail MSN Messenger
sinke



Joined: 02 Oct 2005
Posts: 257
Location: Zagreb

PostPosted: 29.10.2009 22:55    Post subject: Add user to your forum ignore list Reply with quote

Ako si na WP-u (a čini mi se da jesi) - koristi pugin, koristi plugin!!! Laughing

_________________
THE SHTANZIG | Web Do's & Don'ts
Back to top
View user's profile Send private message Visit poster's website Twitter profile
blackshtef
mi3.crew


Joined: 13 Sep 2003
Posts: 661

PostPosted: 02.11.2009 19:09    Post subject: Add user to your forum ignore list Reply with quote

sinke wrote:
Ako si na WP-u (a čini mi se da jesi) - koristi pugin, koristi plugin!!! Laughing
nah, draže mi je to u template stavit direkt Smile
iako pohvale na pluginu Wink
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group