One of the key features in phpWebSite is the modularity. It's very easy to enhance a installation of phpWebSite with any given phpWebSite module. On the other hand, the modules' look & feel varies quite a bit. Wouldn't it be nice to have at least a slightly more consistent look? I've compiled some more subtle icons for my favourite CMS.
Let's fix that | |
---|---|
Connect to your server. You do have a secure-shell access, do you? Launch mysql with "mysql -u user -p database". user and database name can be found in ~public_html/conf/config.php as well as the password you'll be promted for. The table-contents of phpWebSite are quite... interesting. Consider looking at the image field of, for example, module article by issuing SELECT image FROM mod_controlpanel_link WHERE module="article". See what I mean? Everything is crammed into one attribute called image, instead of eg an attribute for width, an attribute for height, etc. |
Updating the database | |
---|---|
Too bad, but no big problem. Let's issue the following commands to correct all the image sizes to the values 48 x 48 pixels: update mod_controlpanel_link set image="a:4:{s:4:\"name\";s:10:\"quotes.jpg\";s:3:\"alt\";s:26:\"Module Author: Tony Miller\";s:5:\"width\";i:48;s:6:\"height\";i:48;}" where module="quotes"; that's it. |
Comments - Make a comment |
The comments are owned by the poster. We are not responsible for its content. |
AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki
Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread
Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread
Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread