![]() |
|
Mod Options |
![]() |
|||||||||
Frustrated using the Stylevar interface, I wrote a quick interface that allows admins to do the following:
Search by value was one of the key things I wanted to do. Unfortunately, the raw stylevar definitions are not stored, instead it's stored in the database as a serialized PHP array. As I didn't want to unpackage all the stylevars to do a simple search, I cheated. This means that searching for an integer will likely fail (searching for colors, images and strings should work). Installation is simple. Import the xml file product-asp_de_stylevarsearch.xml, then copy the files up in their packaged directories. Likewise, to uninstall the product, uninstall it, and remove the files: includes/xml/cpnav_vbstylevarsearch.xml admincp/searchstylevar.php Hope you find it useful. Changelog .01 - Initial Version .02 - Updated to fix implode error when variable was null .03 - Updated search to search for both the lower and upper case version of the value search. .5 - Updated search to search both hexidecimal and RGB values. Additionally, I'm taking into account the shortcut hexidecimal notation. For example, searches for #FFF will also search #FFFFFF and (255,255,255), along with the lower case versions of these values. .6 - Fixed "headers already sent" bug Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
#16
|
||||
|
||||
very nice indeed
makes life a bit well,, lets just say fun Thanks No members have liked this post.
|
#17
|
|||
|
|||
I don't think we can search stylevars by value in 4.1? We have
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 07:34.