Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > "yget"

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 03-27-2008, 10:42 AM
New Pligger
 
Join Date: Feb 2008
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Angry Please find a solution someone

I have the same problem with the Categories being out of alignment.
I purchased the cobalt template from the Pligg pro shop. I asked for help but basically got a response like " yeah internet explorer 7 is a funny thing"
Web pages can comply and render fine in IE7, so i don't buy that excuse. You pay for something you expect it to work. I also have version 9.9
Please help all that are asking for help here. thank you
Attached Images
File Type: jpg category still a problem.JPG (15.5 KB, 21 views)
Reply With Quote
  #12 (permalink)  
Old 03-27-2008, 10:52 AM
MTO MTO is offline
New Pligger
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
I removed the RSS icons, but I'm very unhappy with that solution.
Reply With Quote
  #13 (permalink)  
Old 03-27-2008, 11:01 AM
New Pligger
 
Join Date: Feb 2008
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by MTO View Post
I removed the RSS icons, but I'm very unhappy with that solution.
well that makes two of us. I hear ya MTO
Reply With Quote
  #14 (permalink)  
Old 03-27-2008, 12:22 PM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 199
Thanks: 4
Thanked 3 Times in 2 Posts
me too.. RSS image it not so necesary
__________________
www.cubaleo.net
Reply With Quote
  #15 (permalink)  
Old 03-27-2008, 04:23 PM
New Pligger
 
Join Date: Feb 2008
Posts: 25
Thanks: 0
Thanked 2 Times in 2 Posts
This worked for me, just replace your existing code by this one

PHP Code:
<div class="tlb">
    
    <
a href="#">{#PLIGG_Visual_Category_Title#}</a>
</div>

<
div id="cats" style="padding-bottom:1px">
    <
ul id="nav-secondary">

            {
section name=thecat loop=$cat_array start=1}
                {if 
$lastspacer eq ""}
                    {
assign var=lastspacer value=$cat_array[thecat].spacercount}
                {/if}

                {if 
$cat_array[thecat].spacercount lt $lastspacer}{$cat_array[thecat].spacerdiff|repeat_count:'</ul>'}{/if}
                {if 
$cat_array[thecat].spacercount gt $lastspacer}<ul style="padding-left:12px">{/if}

                <
a href="{$URL_rsscategory, $cat_array[thecat].auto_id}" target="_blank" style="border:none;">      
          <
img src="{$my_pligg_base}/templates/{$the_template}/images/rss.gif" border="0" style="float:right;padding-right:10px;" alt="RSS" /></a>
        
                {if 
$pagename eq "published"}
                    <
a href="{$URL_maincategory, $cat_array[thecat].safename}" style="padding-bottom:5px;">{$cat_array[thecat].name}</a>
                {else}
                    <
a href="{$URL_queuedcategory, $cat_array[thecat].safename}" style="padding-bottom:5px;">{$cat_array[thecat].name}</a>
                {/if}
    
                {
assign var=lastspacer value=$cat_array[thecat].spacercount}
            {/
section}
    </
ul>
</
div
Goog luck
Reply With Quote
The Following User Says Thank You to yagami For This Useful Post:
  #16 (permalink)  
Old 03-27-2008, 05:10 PM
New Pligger
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Worked for me! Thanks!
Reply With Quote
  #17 (permalink)  
Old 03-27-2008, 08:26 PM
New Pligger
 
Join Date: Feb 2008
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Your a star

Finally, Thanks Yagami. All fixed
Reply With Quote
  #18 (permalink)  
Old 03-28-2008, 01:14 PM
MTO MTO is offline
New Pligger
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks! Thanks! Thanks! Thanks! Thanks! :-)
Thankyou very much!
Reply With Quote
  #19 (permalink)  
Old 04-01-2008, 03:13 PM
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: dafault
 
Join Date: Feb 2008
Posts: 51
Thanks: 14
Thanked 1 Time in 1 Post
Quote:
Originally Posted by yagami View Post
This worked for me, just replace your existing code by this one

PHP Code:
<div class="tlb">
    
    <
a href="#">{#PLIGG_Visual_Category_Title#}</a>
</div>

<
div id="cats" style="padding-bottom:1px">
    <
ul id="nav-secondary">

            {
section name=thecat loop=$cat_array start=1}
                {if 
$lastspacer eq ""}
                    {
assign var=lastspacer value=$cat_array[thecat].spacercount}
                {/if}

                {if 
$cat_array[thecat].spacercount lt $lastspacer}{$cat_array[thecat].spacerdiff|repeat_count:'</ul>'}{/if}
                {if 
$cat_array[thecat].spacercount gt $lastspacer}<ul style="padding-left:12px">{/if}

                <
a href="{$URL_rsscategory, $cat_array[thecat].auto_id}" target="_blank" style="border:none;">      
          <
img src="{$my_pligg_base}/templates/{$the_template}/images/rss.gif" border="0" style="float:right;padding-right:10px;" alt="RSS" /></a>
        
                {if 
$pagename eq "published"}
                    <
a href="{$URL_maincategory, $cat_array[thecat].safename}" style="padding-bottom:5px;">{$cat_array[thecat].name}</a>
                {else}
                    <
a href="{$URL_queuedcategory, $cat_array[thecat].safename}" style="padding-bottom:5px;">{$cat_array[thecat].name}</a>
                {/if}
    
                {
assign var=lastspacer value=$cat_array[thecat].spacercount}
            {/
section}
    </
ul>
</
div
Goog luck
I know its a stupid question but where do you change this code? Specific file name would be splendid
Thanks
__________________
Article and News site
http://www.alap.alapbangladesh.com/
Reply With Quote
  #20 (permalink)  
Old 06-11-2008, 01:53 PM
New Pligger
 
Join Date: Jun 2008
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
80-90% of all users of your and my website use IE. Is that not known to the programmers of Pligg and so many other projects? I believe this is very well known indeed but consistantly ignored. Before wasting my time with such ignorance, I better switch to other software before starting to try fixing something that is apparent "out of the box".
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
[MOD] Categories in header like Digg (useful if you have subcategories) dollars5 Modification Tutorials 139 10-19-2008 10:58 AM
Sidebar Categories Enhancement AddOn AnAlienHolakres3 Modification Tutorials 65 08-30-2008 11:48 PM
I cannot collapse my categories list, help needed ivytony General Help 6 03-27-2008 05:15 PM
Creating a Category List - missing categories revolver General Help 2 11-20-2006 09:57 PM


Search Engine Friendly URLs by vBSEO 3.2.0