[Tutorial] How to install a MODX modification

Discussion forum for MOD Writers regarding MOD Development.
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 11048
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: [Tutorial] How to install a MODX modification

Post by battye »

userkiller wrote:when there 2 file with the same name do you add both of them
Are the files in different directories?
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
themarc
Registered User
Posts: 52
Joined: Fri Dec 31, 2004 1:31 am

Re: [Tutorial] How to install a MODX modification

Post by themarc »

Hi everyone,

I'm getting the idea of MODX and how this all works. I have installed mods in the past and it's thanks to support here that makes all the difference and why I continue to use phpbb. :D For many of us, you make some changes do an upgrade here and there, then come back months later to do something and go, "how did I do that again"?

A few very obvious questions to be prudent before adding a very involved mod for a photo galley by nickvergessen.

1. Can someone recommend a text editor for Mac that "they have used" with MODX successfully. I have researched many recommendations for Mac (textwragler, Smultron, Note Pad Deluxe etc.) but no one who has actually used one for a phpbb mod implementation.
Zero real-life, testimonials.

2. I'm using an intel Mac / Tiger OS X, it comes with TextEdit, will that work? Any things to be wary of?

3. Finally, once I've made changes in a text editor, I assume I will Save As changing to extension .php at the end of the file name and upload to the server. Correct?

Thank in advance as always, most appreciated.
themarc
Registered User
Posts: 52
Joined: Fri Dec 31, 2004 1:31 am

Re: [Tutorial] How to install a MODX modification

Post by themarc »

Point 3. would be most helpful for now...

3. Finally, once I've made changes in a text editor, I assume I will Save As changing to extension .php at the end of the file name and upload to the server. Correct?

:D
Nick**
Registered User
Posts: 128
Joined: Sat Jul 05, 2008 7:32 am

Re: [Tutorial] How to install a MODX modification

Post by Nick** »

Ok, I feel kind of stupid...
But what's the point of MODX?
I'm used to the old fashioned installing of mods...
How is this different? I don't get it... You still have to edit, do sql, copy files, etc.?
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Tutorial] How to install a MODX modification

Post by igorw »

It's a format that's easier to parse using a machine. It also allows multi-language meta data. MODX also contains a packaging specification.
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
g_tech9
Registered User
Posts: 1
Joined: Sun Mar 01, 2009 6:22 pm

Re: [Tutorial] How to install a MODX modification

Post by g_tech9 »

I installed Buttons menu for prosilver the beta version and when i go into my acp and try to go into the .mods tab to change the button links and i get this error

Module file ./../includes/acp/acp_menu.php does not contain correct class [acp_menu]

any help would be great

Thanks
weedgur79
Registered User
Posts: 349
Joined: Mon Dec 22, 2008 3:58 am
Contact:

Re: [Tutorial] How to install a MODX modification

Post by weedgur79 »

Can someone please explain what is meant here by OPERATION.

<find><![CDATA[<td colspan="<!-- IF U_SORT_ACTIVE -->{:%1}<!-- ELSE -->]]></find>
<action type="operation"><![CDATA[{:%1} + 1]]></action>
</edit>
<edit>
<find><![CDATA[<td colspan="<!-- IF U_SORT_ACTIVE -->{:%1}<!-- ELSE -->{:%2}<!-- ENDIF -->"> </td>]]></find>
<action type="operation"><![CDATA[{:%2} + 1]]></action>

I dont have the <td colspan="<!-- IF U_SORT_ACTIVE -->{:%1}<!-- ELSE --> line
but i do have a <td colspan="<!-- IF U_SORT_ACTIVE -->5<!-- ELSE -->4<!-- ENDIF --> line.

what am i supposed to do** make a line like this:
<td colspan="<!-- IF U_SORT_ACTIVE -->{:%1} + 1<!-- ELSE -->
new1978
Registered User
Posts: 24
Joined: Sat Apr 18, 2009 2:21 pm

Re: [Tutorial] How to install a MODX modification

Post by new1978 »

:( Hi everybody!

I need help because i am new to phpbb and just installed one mod, but ia have a problem!

I done everything as the instructions but at the end, ask me to do this
Browse to install/index.php and run the installer

Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"

Refresh your Styles:
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
The problem is that in my ACP there is no choise "Purge the cache" so, i can't accses my board! :(
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 11048
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: [Tutorial] How to install a MODX modification

Post by battye »

new1978 wrote::( Hi everybody!

I need help because i am new to phpbb and just installed one mod, but ia have a problem!

I done everything as the instructions but at the end, ask me to do this
Browse to install/index.php and run the installer

Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"

Refresh your Styles:
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
The problem is that in my ACP there is no choise "Purge the cache" so, i can't accses my board! :(
Are you set as a board founder? Only board founders can purge the cache :)
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: [Tutorial] How to install a MODX modification

Post by momentum »

And you can manually clear the board cache with FTP. Using your client navigate your way to the /cache directory and delete everything except the .htaccess and index.htm files. Those two files are there for security reasons.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)
User avatar
Sajaki
Registered User
Posts: 1390
Joined: Mon Mar 02, 2009 1:41 pm
Location: Amsterdam
Contact:

Re: [Tutorial] How to install a MODX modification

Post by Sajaki »

themarc wrote:
1. Can someone recommend a text editor for Mac that "they have used" with MODX successfully. I have researched many recommendations for Mac (textwragler, Smultron, Note Pad Deluxe etc.) but no one who has actually used one for a phpbb mod implementation.
Zero real-life, testimonials.

2. I'm using an intel Mac / Tiger OS X, it comes with TextEdit, will that work? Any things to be wary of?

3. Finally, once I've made changes in a text editor, I assume I will Save As changing to extension .php at the end of the file name and upload to the server. Correct?
hi,

i think this list may be of use to you :http://www.startrekguide.com/community/ ... 39&t=10297

i use textwrangler for simple php edits, but Zend eclipse for coding work.
for ftp uploading to the server, i use Cyberduck. it's simple and good.
8ui8ui8ui8ui
Registered User
Posts: 6
Joined: Mon Jan 05, 2009 1:24 pm

Re: [Tutorial] How to install a MODX modification

Post by 8ui8ui8ui8ui »

Hi,I need some help with my site.
My question is:How can I put to my site to all my members a miniprofile???? like in this image(arked with red)


Image


When you click it will appear a thing like in this image: (And you can put in it:images or write about you or you're character etc...)


Image

Pls help me.
And if you know how to put other things on other members profile like thoose things in the images tell me how to do them, pls.
Thanks for reading.
LuffyPSP
Registered User
Posts: 7
Joined: Fri May 01, 2009 5:55 pm

Re: [Tutorial] How to install a MODX modification

Post by LuffyPSP »

Does this apply only to the prosilver style only?
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [Tutorial] How to install a MODX modification

Post by tumba25 »

LuffyPSP wrote:Does this apply only to the prosilver style only?
Does what apply only to the prosilver style? MODX is the install file. Install files for styles should use the MODX format.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
mrmax79
Registered User
Posts: 63
Joined: Wed Feb 11, 2009 11:49 pm

Re: [Tutorial] How to install a MODX modification

Post by mrmax79 »

I have had ModX installed for a couple of months, but frankly I am confused.
First which mods are compatible with MODX? I have installed several mods manually no problem, but could I have saved steps by using ModX?

How do I identify which mod is compatible with ModX?

And then how do I use ModX to install that mod?
Locked

Return to “[3.0.x] MOD Writers Discussion”