Monday, August 17, 2020

Starting to Learn Wordpress

 I'm gonna start learning wordpress again. I know it's been a while and I'm using Blogger to write everything. 

I don't know where to start but I will create a sample cases, maybe review some plugins or even start a tutorial. I just hope it will make me a faster web development along the way. But now I still not decide it yet. But soon. I need to read some of it's getting started document first. anyway wish me luck. ✊

Wednesday, June 18, 2014

Yii Cheatsheet : Getting Assets Only

Yii::app()->getClientScript()->registerCssFile(
 Yii::app()->getAssetManager()->publish(
  Yii::getPathOfAlias('zii.widgets.assets')).'/detailview'.'/styles.css');


This script will only generate the assets files such as javascript or css style for the widget like cdetailview or any other widget.

This script is found in the framework so if anyone wants to know how to getting styles only from cdetailview or cgridview. this is how.

Thursday, January 24, 2013

Creating Data Picker Using Yii Framework [Part 2]

Read the first Part  :: Contain the database and basic creating / generating models / crud


CJUIDIALOG

In these part 2 I will concentrate on CJuiDialog on how to create pop up button. If you need explanation bit further go to this http://www.yiiframework.com/doc/api/1.1/CJuiDialog/.

Now lets start coding. I will creating button that will open dialog.

Open protected\views\post\_form.php and add this code, if you now javascript it will help.

<input type="button" value="Get List User" name="get_user_btn" onclick="$('#mydialog').dialog('open'); return false;" > 

So you will get
<div class="row">
        <?php echo $form->labelEx($model,'id_user'); ?>
        <?php echo $form->textField($model,'id_user'); ?>
        <input type="button" value="Get List User" name="get_user_btn" onclick="$('#mydialog').dialog('open'); return false;" >
        <?php echo $form->error($model,'id_user'); ?>
    </div>

This image should help

[Creating Button]

Tuesday, March 1, 2011

Creating Data Picker Using Yii Framework [Part 1] Step By Step

Well if you don’t know what is Yii Framework. I recommend just go to the main site http://www.yiiframework.com
And then http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app
This tutorial was meant for programmer who knows and already creating web application using Yii framework.

What we’re going to create and learn.

This tutorial was based on my thread at Yii framework forum : http://www.yiiframework.com/forum/index.php/topic/16797-data-picker/

We will be creating Data Picker. What is data picker ? well the idea was simple, its just like a Date Picker but instead of Date we load Data from database.

Maybe this image will make you understand a little bit.


[IMAGE END SAMPLE]

Tuesday, September 21, 2010

Free DropDownMenu

There are few site that host free dropdownmenu...
this is the only site that i found interesting

http://www.lwis.net/free-css-drop-down-menu/
and
dynamicdrive.com

Friday, August 20, 2010

Drupal : Creating SlideShow

Currently i have been digging this slideshow for drupal. but i still can't get the hang of it.

i really wanna write something about this. but frankly, i can't... for now..

if i found how to create a slideshow on the homepage of drupal website. i'll let you all now.

im trying to figure out the ddblock from drupal. here's the module https://drupal.org/project/ddblock

just a little note.
since i am having problem with the image not showing.
i should check for Administer->Site Configuration->File System
if it said sites/default/files
and @Image Folder setting in Home » Administer » Site building » Blocks said
sites/default/files
it just mean that you should place the image @sites/default/files/sites/default/files/images.jpg
it really took quite a while to figuring this.

another note is : at administer page the image and block is showing but at anonymous user is not showing at all.
Check Permission @Home » Administer » User management
@ddk block module check list the anonymous user.

Saturday, July 31, 2010

TUTORIAL DRUPAL : CREATING HOMEPAGE [part 4]

If this is your first visit then you should know that this is the part 4. You can read the previous part from this link :

TUTORIAL DRUPAL : CREATING HOMEPAGE [part 1]
TUTORIAL DRUPAL : CREATING HOMEPAGE [part 2]
TUTORIAL DRUPAL : CREATING HOMEPAGE [part 3]


Now for the part for of the tutorial. I will create the copyrights thingy at the bottom right of the page.

Lets just see what i’ve done in the analysis. This is what i will try to create.



After few tries this is actually very simple. The field that handle footer like this is located at “Site Information”.
Lets go to “Site Information” just click [Administer->Site configuration->Site Information]. Then just fill the “Footer Message Field”. you can write few HTML code in the field. just like this.



And Thats it. IT IS SIMPLE WHEN YOU KNOW WHERE THE FIELD IS. Actually its preety much spending a hours or two just to find the right field.

Thanks for reading this crap. I appreciate it. ?

please Visit The Previous Tutorial :

TUTORIAL DRUPAL : CREATING HOMEPAGE [part 1]
TUTORIAL DRUPAL : CREATING HOMEPAGE [part 2]
TUTORIAL DRUPAL : CREATING HOMEPAGE [part 3]
TUTORIAL DRUPAL : CREATING HOMEPAGE [part 4]

Starting to Learn Wordpress

 I'm gonna start learning wordpress again. I know it's been a while and I'm using Blogger to write everything.  I don't know...