JOEL LIPMAN Systems / Automation / AI

Knowledge base / Since 1999

Scripts, systems & field notes.

Practical solutions and technical notes from CRM platforms, workflow automation, APIs, databases and the systems around them.

Advanced search

129 entries / matching PHP

Clear filters
Using MetaMod to hide buttons from logged in users
Joomla

Using MetaMod to hide buttons from logged in users

Source: http://forum.joomla.org/viewtopic.php?f=431&t=401086&p=1693742#p1693742 It's been difficult to find an easy solution to hide menu items from registered users. Finally, I found a solution that works 100% for me using the MetaMod tool without using any template hacks. The instructions on the metamod page are very...

Read note 41,241 hits
Converting SQL date in PHP to European date format and vice-versa
Personal Home Page

Converting SQL date in PHP to European date format and vice-versa

The Issue If you've ever made PHP scripts to process data within a LAMP environment (Linux, Apache, MySQL, PHP) then this happens a lot. In the following example, our HTML form will allow the user to specify a date (so excludes hours, minutes and seconds). For demonstration purposes, I'm going to be using the European...

Read note 25,566 hits
Using a HTML form and PHP to upload a file
Personal Home Page

Using a HTML form and PHP to upload a file

The Issue Basically you have a HTML form with an input field type of 'FILE' (ie. <input type="file" name="file_to_upload" />) and want a PHP file to process this. This example applies to a Linux Apache MySQL PHP (LAMP) environment. The Solution 1. The first thing to do is check that your HTML form is setup to do this:

Read note 37,838 hits
How to make a HTML form post its variables to itself
Hypertext Markup Language

How to make a HTML form post its variables to itself

The Issue You have a PHP page which generates a HTML form. When the user submits the form, you want the same PHP page to process the data. Solution I've seen a lot of people write CGI requests but if you left the action attribute blank, this would do the same thing: <form method="post" action=""> ...

Read note 20,899 hits
View your available module positions
Joomla

View your available module positions

Update for Joomla 2.5.x Note that Joomla versions 1.6 upwards include this as an option in the global configuration settings which you can access using your Joomla admin panel: Template Manager Options Preview Module Positions -> Disabled or Enabled You will still need to suffix the frontend URL with ?tp=1 Joomla 1.5.x...

Read note 27,632 hits
Applying a button and centering it in the RocketTheme Affinity template
Joomla

Applying a button and centering it in the RocketTheme Affinity template

This took me a while to do so I thought I'd document it for future reference. The Issue See the restore default setting link at the bottom of this page in the footer? I wanted to put one of the styled buttons behind it but then found that there's a lot more to do than just that. Instructions Open the templates/rt_affin...

Read note 30,026 hits
Add the website name to the page title in Joomla!
Joomla

Add the website name to the page title in Joomla!

Change Page Title in WebsiteHere are some instructions on changing the page title in Joomla! CMS to display both the actual page title and other stuff. As I like doing this for this particular website (my personal one) in every version of Joomla it's been upgraded to, I've noticed some differences that I've noted down...

Read note 75,586 hits
Hide Menu Item from Registered and Special
Joomla

Hide Menu Item from Registered and Special

Hide Menu Item from Registered and Special Refer to this link if you want to clean out a front-end admin interface with your website's style. The following is from http://forum.joomla.org/viewtopic.php?f=32&t=252258&start=0 at this date/time. Can't simply hide an item but can hide a menu (of course the menu could have...

Read note 25,760 hits

Working principle

Our Purpose

This site exists as a practical knowledge base built from real-world experience across systems, platforms, and technologies since 1999. Much of the content documents solutions, edge cases, and working patterns that were learned through investigation where documentation was incomplete or absent, and is shared to reduce the same friction for others.

27 Years in IT
1021 CRM clients
816 Site articles
30.0m+ Reads / hits

Knowledge base

Search notes

Find matching words in article titles and content.