Search Result for: Development Category

Articles

Verify if your on the home page or default page from the menu module

This is yet another way to identify a page in Joomla. This is a very handy code to
Read More

Use code to verify featured pages

<? if(JRequest::getVar('view') == "featured") { ?>   Code to be displayed only on featued page which is also home page <? }
Read More

Branch on ‘Origin/master’ has diverged from local branch

if you have revered a commit and want the remote branch to reflect your revert + latest commits use this bit of code git push -f origin master Note that this will reset your
Read More

What is your current GIT Remote ?

To identify your current GIT remote just use: git remote
Read More

How to transfer email accounts and messages between cPanel servers?

Go to etc/ sub folder Download your site domain file Re-upload the your site domain folder to your new server under etc/ Go to the mail/ sub folder Download your site domain file
Read More

GIT Problem / Error : ‘please enter a commit message to explain why this merge is necessary …’

To handle the following problem use the following steps. press "i" write your merge message press "esc" write ":wq" then press
Read More

Function Reference/get permalink

Use this to add a permalink to the post. <?php echo
Read More

Create a new remote URL origin

Use the following code to add a new remote URL origin for your
Read More

Check git Version

To get the version of git you are running
Read More