Simple Portal
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Re: Simple Portal
Fair enough. Delete my post and winge less. Im trying to give ppl an extra option but perhaps default is the way to go. Pro silver for all.
Re: Simple Portal
Where do I add the edits in portal.php and simpleportal_body.html ?cisco007 » 16 May 2010, 18:46 wrote:the way i did mine was with like Stoker said use nickvergessens mod, and instead of doing the edits to the index.php and index_body.html do the edits to the portal.php and to the simpleportal_body.html! and it should work!
Also am I right to say that the edits for index.php are to be used in portal.php and the edits for index_body.html to be used in simpleportal_body.html ?
~John~
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Simple Portal
Yes, that is exactly what you need to do.Bullseye wrote:Also am I right to say that the edits for index.php are to be used in portal.php and the edits for index_body.html to be used in simpleportal_body.html ?
Board rules! No PM support
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Simple Portal
Open portal.php and find:
Insert the code that originally should have been inserted on index.php BEFORE.
Open simpleportal_body.html and insert the code from index_body.html where you want it.
Read the code comments to understand what is what.
Code: Select all
page_header($user->lang['PORTAL_HEADLINE']);
Open simpleportal_body.html and insert the code from index_body.html where you want it.
Read the code comments to understand what is what.
Board rules! No PM support
Re: Simple Portal
Sorry to be a pain, but I need help with the edits for simpleportal_body.html .........
Where do I need to put this?
Where do I need to put this?
Code: Select all
<!-- IF RECENT_TOPICS_DISPLAY --><!-- INCLUDE recent_topics_body.html --><!-- ENDIF -->
Re: Simple Portal
put it anywhere where you want it to show on the portal!
Re: Simple Portal
Just tried it again and got an error..
I've attached the file in this post, I've added the edit, have I put it in the correct place?
I wanted the recent topics to show under welcome message..
Regards,
John
I've attached the file in this post, I've added the edit, have I put it in the correct place?
I wanted the recent topics to show under welcome message..
Regards,
John
Re: Simple Portal
you got it in the right place, but i can't really tell you what the problem is unless i know what the error says!
- Steve
- BBCoder VI
- Posts: 848
- Joined: 05 Mar 2010, 01:10
- BBCodes: 2000
- Favourite BBCode: p**n tube
- Favourite MOD: Non of Stokers
Re: Simple Portal
Easy he has'nt upload the template file to his templates folder or created it yet.
Code: Select all
General Error
template->_tpl_load_file(): File ./styles/Bullsilver/template/recent_topics_body.html does not exist or is empty