Tuesday, January 24, 2023

How to Create Menu Tabs in Blogger

 We can create the pages and menu items in the blogger. We can link the pages to the menu items also.  Without the pages also we can create the menu items and show the blogs of the defined labels. In this article we can see how we can do it.




Blogger blogs does not come with the menu tabs as a standard template feature, but you may use the Blogger Pages gadget or the Link List gadget as a workaround to add menu tabs to your blog's home page

Use the Pages gadget to add menu tabs pointing to your blog's static pages, such as the Terms and Conditions, About, and Privacy Policy pages. Add menu tabs that link to other websites, blogs, or your own blog articles by using the Link List gadget.

1. Login to blogger account, and Select the Layout menu item:




2. Click on Add Gadget option



3. Select Pages gadget from the list


4.  You will see the below dialog


5. You can enter the page name and select the page to be displayed.


6. Also if you want to display the items of a particular label, you can do that  by adding search label option. Below image shows all the labels labelled as Android in the page Android:



 That's it, you can save the above dialog And you should save the layout also:


Now you can check your blog, it should display the menu bar as below:




Happy blogging :)

Monday, January 23, 2023

Adding Apps And Websites To Microsoft Teams

We can use this Microsoft Office and its tools for its various applications, including communications, collaboration and file storages.  However, many users in the organizations fail to take advantage of one of the platform's most important features - the ability to customize their environment with the apps and websites of the organization. 

When you have a app or web application you want to share or use by your team. Then you can add this to your Microsoft office 365. Login to office by going to  https://www.office.com/ 
You will see the below screen:




Click on the teams from the left menu icon:



You can create your office staff Team:  by clicking on the create teams icon on the right hand side of the panel:



Click on create Team in the below panel:






I click on staff:





Microsoft enables you to add a wide variety of apps or website to your teams environment. To add the app or website, you need to select the team and the channel where you want to access this app. Now you can add apps or website by clicking on "+" icon of the window. Upon doing so, the service displays the Add Tab dialog as below:












You can select the existing app or click on the website, if you have awebsite to be shaed ith the collaborators:








Once you click on the Save button, you can see the website is opened up. And this tab can be accessed by all the collaborators of the Team:



On its own, Teams is a marvelous tool for increasing communication, collaboration, and productivity. However, as is often the case, some of the best benefits of this tool are realized when we integrate it with other applications or websites. Fortunately, as you see, this is a feature that is exceptionally easy to configure and use. Therefore, if you use Teams, consider how you can take advantage of the opportunity to add apps and websites to increase your productivity. Thank you!













Tuesday, January 17, 2023

Barcode Label Generation in Shopify

 You can use the Retail Barcode Labels app to design and print barcode labels from within Shopify. You also need to have a supported label printer that's connected to your computer. 

You can login to shopify admin panel and go to Settings:



Inside settings-> Select Apps and sales channels




You will see the below screen:


 You can select the barcode generation app from Shopify app store




You can select the required barcode generation app.



It will install this app to your shopify. And then you can go and check your product list:
You can see barcodes created successfully:




You can set the size of the barcodes and theme:





You can select any type of Label and the respective barcodes are generated. you can print those labels.



Tuesday, November 29, 2022

How to change title of Activity in Android ?

When you are using the fragments and activities together in an application, it takes the title for the fragments automatically as the names of the fragments. But for the activities, it takes the app name itself as the title of the activity, So how to change the title of the activity.

 There are two ways to change the title of the activity. 

1. You can do it programmatically through activity by setting the title as below:

public class QuestionActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_question);
setTitle("Questions ?");

}
}

Before:                                       After: 




2. You can do it through androidmanifest.xml by setting the label there.  Open Androidmanifest.xml, in the activity you can add the label as the string or from the string file below to display the title:


<activity
android:name=".QuestionActivity"
android:label="@string/Questions"
android:exported="false" />

Here is the title shown:




That's it. Happy coding


Wednesday, November 23, 2022

"No Application Encryption Key Has Been Specified" Error in Laravel Application

 While creating a new laravel application from the begining, you only need the below things:

  • A terminal
  • PHP-7.0 installed
  • composer installed and available in your path
  • npm installed aad available in your path.

After all the above installed in your computer , You can create a new Laravel project from the command prompt:

composer create-project laravel/laravel  Myapplication

Now you can run:

php artisan serve

This should give you a URL to view, so click on this and open it in your browser. This should show the default Laravel screen or Page. But some time you get a Error in the browser as " No application Encryption Key has been specified" 



This will happen if the application key is empty in .env file or the key is corrupted.
In such case you need to follow the below steps to solve this issue:

1. Generate application key by running the below command in your command prompt:
    php artisan key:generate




2. Now you can see. .env file your app key is set to a key if its empty. or its updated.

3. Now you can run php artisan serve



 4. And go to the browser and check the link, You will be able to see the default laravel page showing



Even if you see the error, you need to clear the cache with the command 
php artisan config:cache

And after this, run php artsan serve and you will be able to see the laravel default page. Hope this helps.