Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 54
  1. #21
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    my admin login also tells me:

    Warning: error_log(/home/a8033afr/public_html/cache/page_parse_time.log) [function.error-log]: failed to open stream: No such file or directory in /home/a8033afr/public_html/admin/includes/classes/logger.php on line 60
    Parse Time: 0.718s

    my site: www.afro-masks.com

  2. #22
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    Sorry my last post didn't had anything to do with zentagcloud, but thispost does.
    I get a blank page and this is the error the error debug utility says:
    [18-Aug-2009 01:14:01] PHP Parse error: syntax error, unexpected T_CLASS in /home/a8033afr/public_html/includes/classes/zentagcloud.php on line 10

    My problem is, there is nothing on line 10 :-(




    <?php
    /*
    @ZenWordCloud
    Author:
    - Nathan Keilar (www.madteckhead.com)

    Version 0.1;

    The is the project page for the ZenTagCloud. Its in development right now, its open source and I'd love input / contributions.
    LINE 10 GOES HERE....????????????????????????
    Note: the current version is not recommended for live online stores (where you have something to loose), however by all means try it out on you test site, have a look at the code and give me feedback.

    p.s. Don't hold me responsible if something breaks.

    What is a Tag Cloud?

    A tag cloud (or weighted list in visual design) can be used as a visual depiction of content tags used on a website. Often, more frequently used tags are depicted in a larger font or otherwise emphasized, while the displayed order is generally alphabetical. Thus both finding a tag by alphabet and by popularity is possible. Selecting a single tag within a tag cloud will generally lead to a collection of items that are associated with that tag.

    Features:
    2/June/07: Displays category titles with random weights
    3/June/07: Tags links to you Zen Cart site category pages.

    Install:

    1. Copy the code from this file to one of the Defined Pages using: Tools > Defined Pages Editor.

    2. Ensure that the Defined Pages module is enables under: Tools > Layout Box Controller

    3. Visit your site, and go to the defined page you pasted the code into. You should see a list of your sites categorie, with random sizes assigned to each one.

    Todo/Wishlist:
    - Save weights to database
    - Add code to ?category's page? so that visits to category's changes weights
    - Incorporate some noise in the category's weights to enable new category's a fair chance.
    - Option to read tags from meta data
    - Option to weight tags my relevance to current tag. (If you like a, you might like b type of thing)

    With some code from:
    - Derek Harvey (www.derekharvey.co.uk)
    - Zen Cart Team (www.zen-cart.com)


    Security Note: I've copied and modified a zen cart function to retrieve data from the db, and I think that by leaving the function embeded with the code if may pose some security risk. I'm open to advice on where to put it for best security practice.

    */

    class wordCloud
    {
    var $gtags = array(); // tags array

    /*
    * PHP 5 Constructor
    *
    * @param array $words
    * @return void
    */

    function __construct($newtags = false)
    {
    if ($newtags !== false && is_array($newtags))
    {
    foreach ($newtags as $key => $value)
    {
    $this->addTag($value[0],$value[1],$value[2]);
    }
    }
    }
    Last edited by lieven23; 18 Aug 2009 at 11:07 AM.

  3. #23
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    I suspect the error should be somewhere here ,but where?

    /*
    * PHP 5 Constructor
    *
    * @param array $words
    * @return void
    */

    function __construct($newtags = false)
    {
    if ($newtags !== false && is_array($newtags))
    {
    foreach ($newtags as $key => $value)
    {
    $this->addTag($value[0],$value[1],$value[2]);
    }
    }
    }

  4. #24
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    found the solution by removing the comments.

  5. #25
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    161
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    Hi, can I adjust the tagcloud to appear in a sidebox? :)

  6. #26
    Join Date
    Jun 2007
    Location
    Zurich, Switzerland
    Posts
    23
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    Quote Originally Posted by Asdesign View Post
    Hi, can I adjust the tagcloud to appear in a sidebox? :)
    It should work, just add the output statements to a sidebox template.

  7. #27
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    161
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    How do I change the length of the cloud? I've got too many keywords appearing right now. :\

  8. #28
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    161
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    Quote Originally Posted by tuor View Post
    It should work, just add the output statements to a sidebox template.
    Kewl, its like I thought it'd be.

    Just wondering tho, do I have to create the sidebox also under modules/sideboxes and insert the output statements there? Or can I just create it under template/sideboxes, insert the output statements and it'll work?

  9. #29
    Join Date
    Jun 2007
    Location
    Zurich, Switzerland
    Posts
    23
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    I'd build the list in modules/sideboxes then pass an array to the template. The original plugin doesn't do this, but it's the right way to go.

  10. #30
    Join Date
    Sep 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: ZenTagCloud Beta Available

    Quote Originally Posted by bigjoed View Post
    Excellent mod. Works great on my site. I'm using the code on the tpl_product_info_display.php file to display only on the product page. What I would like is for the tags to show the keywords for that specific product only.

    Does anybody know or have attempted this?

    Thanks
    I would like to know how to do this, the list is far too log and random....

    It's good that it shows results in search results but i want to limit the tags to the specific products, even if it is just from the meta tags or descriptions.....

    If any one has done this I would appreciate a head start.

 

 
Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  2. v155 BETA feedback for Responsive-Classic in v155-beta
    By picaflor-azul in forum Addon Templates
    Replies: 51
    Last Post: 5 Mar 2016, 09:14 PM
  3. zentagcloud v.2 Admin panel GUI question
    By goalsurfer in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 13 Feb 2011, 03:58 PM
  4. ZenTagCloud -> Alpha for review
    By madteckhead in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Jun 2007, 05:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR