Author Topic: path image sama snipet  (Read 2445 times)

0 Members and 1 Guest are viewing this topic.

Offline balibabon

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
path image sama snipet
« on: July 26, 2013, 12:39:40 AM »
halo, nanya sedikit nih gan ...

1. bagaimana caranya kita dpetin path images ???

2. bisa minta contoh untuk coding snipet pada modx revo ??

terima kasih gan ...

Offline goldsky

  • tweets @_goldsky
  • Administrator
  • Sr. Member
  • *****
  • Posts: 344
  • Karma: +1/-0
  • Less is more
    • Virtudraft Intermedia Telematika
Re: path image sama snipet
« Reply #1 on: July 26, 2013, 04:56:30 AM »
Image? Bukannya HTML biasa aja, bli?

Bisa begini langsung di HTML-nya:
Code: [Select]
<img src="assets/images/abc.jpg" alt="" />
Kalo pengenalan coding snippet coba liat disini gan:

Kalau yang lengkap, kurang lebih begini:

Kalau mau yang lebih mantap, download aja add-on mana aja dari Package Management, trus bongkar kode2 snippetnya.

Kalo mau liat di Manager, pilih navigasi pohon disebelah kiri (left-tree-navigator :P), Elements > Snippet
Kalo mau liat di code-editor, browsing ke core/components/__[nama-extra/add-on]__/elements/snippets/__nama-snippet__.php
Rico
Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!

Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets | IE 6 must die !

Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

PING ME ON TWITTER @_goldsky

Offline crackers

  • Administrator
  • Full Member
  • *****
  • Posts: 166
  • Karma: +0/-0
Re: path image sama snipet
« Reply #2 on: July 29, 2013, 10:17:01 PM »
dah dijawab sama master goldsky lengkap pula jadi cuma numpang posting aja nih gwe wakakakakkaka

 

term