[Solved] Wordgraph/ Tag Cloud


Subject: [Solved] Wordgraph/ Tag Cloud
Hey all,

I would like to have a small customization to the tag cloud/ wordgraph.
Ik you choose and click on a word, you get directed to for example:
http://www.icyphoenix.com/search.php?search_keywords=ownage

I would like to have a different amount of characters (now it is 100 I think...). I would like to change this to 1000. How do I change this?

Thanks in advance

Last edited by OwnageWorld on Fri 07 Aug, 2009 15:58; edited 1 time in total
Subject: Re: Wordgraph/ Tag Cloud
You can change that going to

CMS- 3 columns - Wordgraph

go to edit then submit and you get the options to change number of words.

submit again and it should work.

but 1000 is a huge amount. try with 150-200. if not you will fill up a hole page

Subject: Re: Wordgraph/ Tag Cloud
spydie wrote: [View Post]
You can change that going to

CMS- 3 columns - Wordgraph

go to edit then submit and you get the options to change number of words.

submit again and it should work.

but 1000 is a huge amount. try with 150-200. if not you will fill up a hole page

Thanks for the input!
But that is not really my question...

I would like to know, and especially for the output of a search, how to change that number of characters and how to enable BBCode there (for example: http://www.icyphoenix.com/search.php?search_keywords=ownage).
Now you see standard 100 characters I presume on every post. What I would like to create, is that if someone searches for a word, they can see the whole post including images and videos, making it a hopefully a populair weblog addition.

Subject: Re: Wordgraph/ Tag Cloud
You need to change the link in the block for that.

OPEN blocks/blocks_imp_wordgraph.php
FIND
Code: [Download] [Hide] [Select]
'WORD_SEARCH_URL' => append_sid(SEARCH_MG . '?search_keywords=' . urlencode($word)),

REPLACE WITH
Code: [Download] [Hide] [Select]
'WORD_SEARCH_URL' => append_sid(SEARCH_MG . '?search_keywords=' . urlencode($word) . '&return_chars=10000'),

Subject: Re: Wordgraph/ Tag Cloud
Mighty Gorgon wrote: [View Post]
You need to change the link in the block for that.

OPEN blocks/blocks_imp_wordgraph.php
FIND
Code: [Download] [Hide] [Select]
'WORD_SEARCH_URL' => append_sid(SEARCH_MG . '?search_keywords=' . urlencode($word)),

REPLACE WITH
Code: [Download] [Hide] [Select]
'WORD_SEARCH_URL' => append_sid(SEARCH_MG . '?search_keywords=' . urlencode($word) . '&return_chars=10000'),

Exactly what I wanted and needed! Thank you very much!!!

Works perfect, YEAH!

Subject: Re: [Solved] Wordgraph/ Tag Cloud
thanks for the post... great little addition..

:mrgreen:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 0.1649s (PHP: 34% SQL: 66%)
SQL queries: 16 - Debug On - GZIP Enabled