1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Maxssquarev2green Edited

Discussion in 'Themes' started by robin007, Sep 10, 2014.

  1. robin007

    robin007 Well-Known Member

    I have no knowledge in site developing etc... because I am a mechanic.
    But I edited maxssquarev2green theme little bit and it is working high speed.
    but I think this theme have many errors. because I edit the theme.
    anyone check the theme please?

    sorry for my bad English. my language is Tamil, my site language is also Tamil, my language support utf-8.
     
    Last edited: Dec 1, 2014
    shibuya246 likes this.
  2. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    thanks, I will take a look at that and get back to you. maybe we can work some of that into the main code and some into the theme
     
  3. robin007

    robin007 Well-Known Member

    Thank you.
     
  4. robin007

    robin007 Well-Known Member

    bloggers submitting more content and long title it is affect the page beauty . so I trim every content and title in this theme main page using I think PHP code but I am not able to trim the tags. please help.
     
    Last edited: Sep 13, 2014
  5. valMETNG

    valMETNG Administrator Staff Member Admin

    I'm not exactly clear on what you're asking, but I think you want to limit the number of characters in a tag. If so, you want to use the PHP function substr. One way to accomplish this is to modify line 174 of the tags plugin (/content/plugins/tags/tags.php) from this:
    Code:
     echo "<li><a class='label' href='" . $h->url(array('tag' => str_replace(' ', '_', urlencode(trim($tag))))) . "'>" . trim($tag) . "</a></li>";
    to something like this (which would only show the first 10 characters of a tag):
    Code:
     echo "<li><a class='label' href='" . $h->url(array('tag' => str_replace(' ', '_', urlencode(trim($tag))))) . "'>" . substr(trim($tag), 0, 10) . "</a></li>";
     
  6. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    I am looking at your site now. you have 2 files here. the theme with and a plugin file. Did you just make edits to the theme file ?
     
  7. robin007

    robin007 Well-Known Member

  8. robin007

    robin007 Well-Known Member

    can I delete this Thread? because this is unfinished theme.
     
  9. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    On line 391 of css file you may have a slight css error

    Code:
    /* ------------------- [ Single Post ] ------------------- */
    list-style-type:none;
    }
    
     
  10. robin007

    robin007 Well-Known Member

    thanks.

    category nav top horizontal not work.
     
  11. robin007

    robin007 Well-Known Member

    now can I use this theme?
     
  12. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    i think so. is there any problem?
     

Share This Page