On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of the first beta of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Make current state

UserPost

2:01 pm
4 Apr 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

1

[I am sorry - but I have had to remove both posts. The second one was 10,000 characters and the first one twice as big! It would probably taker me an hour to edit it. I am happy to try and answer your question but please - no more pasting of anythiung but plain text - Andy]


7:17 am
5 Apr 2008


Aysseline

Member

posts 4

2

I make this:
pcp_list_pages_by_category ('Notre association','None',false,true,'','','');

and I want to have current state when I’m on the current category, like this:

  • Qui sommes-nous
  • How I can add class current from pcp query?

    (I turned visual editor to quicktags, hope there is no problem with my post now)

    9:11 am
    5 Apr 2008


    Yellow Swordfish

    Admin

    Peterborough, England

    posts 5252

    3

    I can not visit the link because it looks to be on your local machine and not public.

    What styling does your 'current state' perform? At the moment (as of the version you have), the plugin WILL optionally make the entry bold if the page is currently being displayed. I assume you want more than that but it would be useful to know a little more detail…

    I have an update in the works (thanks to a user) that assigns classes so you may like to try that out…?

    2:38 pm
    5 Apr 2008


    Aysseline

    Member

    posts 4

    4

    Yes it’s local, sorry ;) and I want more than bold style. But I see that my post don’t see you my code.

    here what I want with unordered list tags :

  • a class asigned to li a:link state. And I hope your update can do what I want. Thanks to give me this code to try it.

    5:03 pm
    5 Apr 2008


    Yellow Swordfish

    Admin

    Peterborough, England

    posts 5252

    5

    A user added classes just a few days ago and I havenlt had a chance to look at it yet but I will send it to you along with his notes to see if that does what you want.


    But… if you want to show the currently displayed page is a different style (as it does bold now but more) then adding a cl;ass to that is just a minutes work so I'll do that before I send it to you. I'll calls the class 'pcpcurrent'.



    Reply to Topic: Make current state

    NOTE: New Posts are subject to administrator approval before being displayed

    Guest Name (Required):

    Guest EMail (Required):

    Guest URL (required)

    Math Required!
    What is the sum of: 8 + 11        (Required)

    Topic Reply:


     
     

    About the Stuff at Yellow Swordfish forum

    Currently Online:

    18 Guests

    Maximum Online: 71

    Forums:

    Groups: 3

    Forums: 16

    Topics: 2068

    Posts: 14091

    Members:

    There are 1003 members

    There are 837 guests


    Yellow Swordfish has made 5252 posts

    Top Posters:

    Mr Papa - 1602

    -Radio- - 558

    ovizii - 114

    jfv - 82

    angelic007 - 72

    Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


    © Simple:Press Forum - Version 3.1.4 (Build 357)