Welcome to Geeklog, Anonymous Wednesday, December 04 2024 @ 03:44 am EST
Geeklog Forums
Updated COM_showTopics to use templates
tfm
Anonymous
I didn't like that COM_showTopics didn't use a template for formatting, so today I changed it!
The version I now use is called COM_jmhshowTopics (just to differentiate it from the real thing), and it lives in my lib-custom.php. To implement it, all you have to do is change the single function call to COM_showTopics that lives in lib-custom. Oh, and of course you need to have the template.
I don't know the proper etiquette for this. Will anyone be interested in seeing this? Should I just upload all the code here, or what? Please let me know.
tfm
10
11
Quote
Anonymous
Anonymous
I'm sorry to keep asking stuff like this, but can someone tell me how to upload it? Is there somewhere on the site that allows me to upload php or text files? Or should I just put all the code in some code tags inside of a post?
thanks for any help!
jmh
26
11
Quote
Status: offline
squatty
Forum User
Full Member
Registered: 01/21/02
Posts: 269
You need to login first. Then from the User Functions block click the "Upload a file" link. This will take you to the FileMgmt plugin upload page.
I recommend placing your code into an archive (.zip, .tar, .tar.gz) before uploading. If you upload a .php file, the FileMgmt plugin will try to execute it...not download it. It's also recommended to include a readme or some other form of instructions.---Danny @ squatty.com
In a world without walls and fences, who needs Windows and Gates?
In a world without walls and fences, who needs Windows and Gates?
8
9
Quote
All times are EST. The time is now 03:44 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content