I had a request from someone a few days ago; to write something that would "slice and dice" the values held in Full_Name, into sub-sections...i.e;
Gets sliced up into;
* Country => England
* State => West Sussex
* Area => Rudgwick
This gives you quite a bit more "targetting" power on category pages. i.e;
... show something related to "West Sussex"
<%endif%>
I just run this plugin on my test install; and it all seems to work fine. Below is a working example;
* Continent => test
Working on Europe
* Continent => Europe
Working on Europe/England
* Continent => Europe
* Country => England
Working on Europe/England/West Sussex
* Continent => Europe
* Country => England
* State => West Sussex
Working on Europe/England/West Sussex/Rudgwick
* Continent => Europe
* Country => England
* State => West Sussex
* Area => Rudgwick
DONE!!!!
The plugin can be downloaded from this post (attached), or you can find out more details here:
http://www.ultranerds.com/...bin/details/124.html
PLEASE NOTE: There is *NO README* for this plugin.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
Europe/England/West Sussex/RudgwickGets sliced up into;
Code:
* Continent => Europe * Country => England
* State => West Sussex
* Area => Rudgwick
This gives you quite a bit more "targetting" power on category pages. i.e;
Code:
<%if State eq 'West Sussex'%> ... show something related to "West Sussex"
<%endif%>
I just run this plugin on my test install; and it all seems to work fine. Below is a working example;
Code:
Working on test * Continent => test
Working on Europe
* Continent => Europe
Working on Europe/England
* Continent => Europe
* Country => England
Working on Europe/England/West Sussex
* Continent => Europe
* Country => England
* State => West Sussex
Working on Europe/England/West Sussex/Rudgwick
* Continent => Europe
* Country => England
* State => West Sussex
* Area => Rudgwick
DONE!!!!
The plugin can be downloaded from this post (attached), or you can find out more details here:
http://www.ultranerds.com/...bin/details/124.html
PLEASE NOTE: There is *NO README* for this plugin.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!