Yuav Ua Li Cas Thiaj Ua Joomla Template

Cov txheej txheem:

Yuav Ua Li Cas Thiaj Ua Joomla Template
Yuav Ua Li Cas Thiaj Ua Joomla Template

Video: Yuav Ua Li Cas Thiaj Ua Joomla Template

Video: Yuav Ua Li Cas Thiaj Ua Joomla Template
Video: How to Create Joomla Template - Create your own Joomla templates 2024, Tej zaum
Anonim

Raws li cov qauv npaj-tsim, lub vev xaib yog tsim nyob rau hauv Joomla. Muaj ntau ntau cov ntsiab lus nyob hauv Is Taws Nem rau lub platform no rau txhua yam ntawm lub xaib thiab cov ncauj lus. Tab sis yog tias koj xav tsim ib qho qauv tshwj xeeb rau koj cov peev txheej, koj tuaj yeem tsim ib tus kheej.

Yuav ua li cas thiaj ua joomla template
Yuav ua li cas thiaj ua joomla template

Cov Lus Qhia

Kauj ruam 1

Hauv cov qauv nplaub tshev, tsim cov templateDetails.xml, cov ntaub ntawv index.php, thiab tseem nyob hauv css subfolder - template.css. Tsim kom lawv siv tus sau ntawv xov xwm ib txwm ua "Notepad", hloov daws teeb meem hauv tus tuav ntaub ntawv. Tsuas yog hloov kho cov ntaub ntawv zoo sib xws twb muaj nyob ntawm lub hosting server. Ua qhov no nrog tus thawj tswj hauv server.

Kauj ruam 2

Raws li cov haujlwm uas cov ntaub ntawv tsim tawm yuav tsum ua, sau lawv cov ncauj lus. Cov ntawv tseem ceeb hu ua index.php qhia txoj hauv kev rau Stylesheet file thiab teeb tsa txoj haujlwm ntawm tus qauv. Cov templateDetails.xml muaj cov ncauj lus qhia txog tus qauv rau Joomla, thiab qhov zoo li ntawm cov khoom tau raug piav qhia los ntawm css / template.css.

Kauj ruam 3

Piav qhia qhov pom ntawm cov ntsiab lus thiab txhua lub vev xaib uas lub ntsiab lus yuav raug siv rau hauv cov ntaub ntawv template.css nyob hauv css nplaub tshev. Txuag qhov hloov pauv, tshawb xyuas qhov tshwm sim. Txhawm rau ua qhov no, ntsaws cov nplooj ntawv hauv lub vev xaib. Siv ntau lub browsers coj los txheeb xyuas cov teeb meem sib xyaw thaum lub sijhawm txhim kho cov ntsiab lus.

Kauj ruam 4

Tshaj tawm cov ntsiab lus cov ntaub ntawv dhau ntawm kev sib tham ntxiv tus qauv thiab qhia lawv qhov chaw siv "Xauj" kev ua haujlwm. Ntxiv rau qhov qauv koj tsim rau koj vaj huam sib luag tswj hwm. Nyem rau "Default" khawm los teeb cov ntsiab lus no rau lub ntsiab lus tseem ceeb.

Kauj ruam 5

Nrog css, koj tuaj yeem tsim tus qauv ntawm txhua yam. Tej zaum lwm cov khoom siv neeg tsim yuav nyiam koj cov presets - muab lawv thiab piv txwv nplooj ntawv tshwm sim ntawm koj lub vev xaib. Khaws cov ntawv luam ntawm cov ntaub ntawv rau koj cov peev txheej ntawm tus tshaj tawm xov xwm. Tsis txhob hnov qab ua qhov no, txwv tsis pub yog tias koj muaj kab mob nyob hauv koj lub computer, lawv tuaj yeem thaiv txoj kev nkag mus saib cov ntaub ntawv. Thiab koj yuav tsum npaj kom zoo rau PC tawg, muaj yav dhau los ua ntawv luam.

Pom zoo: