D-Speedy

About technology, programming and internet marketing

Thursday, November 12, 2009

How To Rearrange Your Wordpress Navigation Menu

I was wondering how can i rearrange wordpress navigation menu. I usually place the "About" menu at the right most of my page. In wordpress' case it is placed right after "Home" menu. When you add another page, the page's navigation menu will be automatically be placed right beside the "About" menu. I've rearranged mine like this wordpress blog [Cebu, Philippines. The Queen City Of The South]



To do it please follow the simple steps below:

  • 1. Login to your wordpress admin page.
  • 2. On the dashboard, click pages.
    http://cebu.dpjonline.com
  • 3. On the Edit Pages window, click the page you want to rearrange. Do one after the other.
  • 4. At the right part of the edit window, you can find attributes option. Place a number in the "Order" field that corresponds to your page menu location. It is arranged in ascending order from left to right.
    http://cebu.dpjonline.com

To view a working sample, you can visit http://cebu.dpjonline.com

Happy Coding

Thursday, November 5, 2009

How to add a Youtube Video On Your Wordpress Blog Posts

This is how I added a video on my wordpress blog post (http://bisdak.dpjonline.com)

1. Login in to your WP Dashboard.


2. Click Plugins

WP Plugins Window


3. At the new plugins search for youtube

search

4. Look for the youtuber plugin

youtuber

And click the install link at the right most.


5. After the installation click on the activate plugin button

activate

6. Add or Edit your post and insert this lineyoutuberx

anywhere in your post where xxxxx is the youtube video ID.

Good Luck and More Power!!!
http://www.dpjonline.com

Tuesday, October 20, 2009

How to place google adsense with your coppermine gallery

1. Adding a google adsense below your header.

Edit template.html and locate the line {ADMIN_MENU} after that line you can have your 728x90 google adsense

{ADMIN_MENU}
adsense code here

sample site http://kolongo.dpjonline.com

2. Beside the image preview




Open and edit themes.inc.php located at /include/ folder of the coppermine directory.
locate the line {IMAGE}

GOOGLE ADSENSE CODE
{IMAGE}
GOOGLE ADSENSE CODE

sample site http://kolongo.dpjonline.com

Happy Coding !

Saturday, September 26, 2009

How to load pdo_pgsql with WAMPServer

A lot of solutions I've read regarding on how to load pdo_pgsql with WAMPServer but the real and complete solution is to add the php path to the windows environment variables. You can disregard my previous post (here) on how did i do it. It was just a sort of experimentation but it really worked. Now here's the real solution to the problem.

1. right click on my computer and select properties.
2. click on advance system settings
3. on the system properties window click "environment variables"
4. look for system variables frame and click "Path" variable
5. click the "edit" button
6. change the variable value by adding your php root path
mine looks like this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\wamp\bin\php\php5.3.0\

I just added my php root path.
7. restart your wampserver and check mark the pdo_pgsql and php_pgsql extension using the wamp server menu or by editing your php.ini ; just remove the remark for the above extensions.

and you're done! happy coding!

Monday, June 8, 2009

Replace Zend_Loader::registerAutoload() with the new Zend_Loader_Autoloader

Inorder for the project to work with the new Zend loader you must replace the lines

--------------------------------------------
require_once("Zend/Loader.php");
Zend_Loader::registerAutoload();

----------------------------------------------

with theses new lines
---------------------------------------------------------
require_once 'Zend/Loader/Autoloader.php';
$loader = Zend_Loader_Autoloader::getInstance();
$loader->setFallbackAutoloader(true);

------------------------------------------------------

Happy Coding !!!

Wednesday, June 3, 2009

Windows Update error 8024402C (Windows Vista)

When you are running Windows Update in Windows Vista and resulted to Windows Update error 8024402C just follow the following to resolve this problem. I have also noticed that I can not connect to download.microsoft.com

I have just resolved it and here's what I did.

I am connected w/ our DSL Router that serves as our DHCP server. Now my windows vista is acquiring an IP address from this Router.

Router IP : 192.168.1.1
My Windows Vista IP: 192.168.1.5 ; gateway 192.168.1.1; DNS 192.168.1.1

Now I've changed the automatic DNS (192.168.1.1) to my public DNS (from my ISP) It can be found in your DSL Modem system Log. If you can't find it, you may ask your Internet Service Provider.

After doing this, Im able to run windows update and can go to download.microsoft.com

Monday, June 1, 2009

How to configure Vista to work with apache's localhost webdirectory

inorder for windows vista to work w/ apache's http://localhost address you have to edit "hosts" file in windows vista. It can be found at c:\windows\system32\drivers\etc folder.

1. click on start, program, accessories and right click notepad. choose run as administrator.
2. open c:\windows\system32\drivers\etc\hosts file. locate the following lines

127.0.0.1 localhost
::1 localhost

and remark or delete the second line to make it look like
127.0.0.1 localhost

or

127.0.0.1 localhost
#::1 localhost

3. save the file and your apache's http://localhost address will now work as expected