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
-
- BBCoder II
- Posts: 12
- Joined: 24 May 2010, 02:41
- Local time: Sunday 07:06
- Last active: -
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.
-
- BBCoder IV
- Posts: 153
- Joined: 02 Apr 2010, 18:49
- Local time: Saturday 22:06
- Last active: -
- Location: England
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~
-
- Site Admin
- Posts: 4,295
- Joined: 12 May 2008, 21:26
- Local time: Saturday 23:06
- Last active: Online now
- Favourite EXT: Forum Goal
- Location: Denmark
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 ?
~ The greatest achievement in life is to inspire ~
Regards Stoker
Regards Stoker
-
- BBCoder IV
- Posts: 153
- Joined: 02 Apr 2010, 18:49
- Local time: Saturday 22:06
- Last active: -
- Location: England
-
- Site Admin
- Posts: 4,295
- Joined: 12 May 2008, 21:26
- Local time: Saturday 23:06
- Last active: Online now
- Favourite EXT: Forum Goal
- Location: Denmark
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.
~ The greatest achievement in life is to inspire ~
Regards Stoker
Regards Stoker
-
- BBCoder IV
- Posts: 153
- Joined: 02 Apr 2010, 18:49
- Local time: Saturday 22:06
- Last active: -
- Location: England
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 -->
-
- BBCoder VI
- Posts: 1,015
- Joined: 16 Mar 2010, 16:14
- Local time: Saturday 17:06
- Last active: -
- Location: Don't really know!
-
- BBCoder IV
- Posts: 153
- Joined: 02 Apr 2010, 18:49
- Local time: Saturday 22:06
- Last active: -
- Location: England
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
-
- BBCoder VI
- Posts: 1,015
- Joined: 16 Mar 2010, 16:14
- Local time: Saturday 17:06
- Last active: -
- Location: Don't really know!
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!
-
- Donator
- Posts: 1,429
- Joined: 04 Mar 2010, 23:10
- Local time: Saturday 22:06
- Last active: -
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
secret code:
When I'm writing code, I am building a picture for you to see and use on your screen...
123
might be abc
or thank you
might workWhen I'm writing code, I am building a picture for you to see and use on your screen...