
3.3.x Extensions Database 3.2 / 3.3 ⇒ Custom index page
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: Custom index page
I finally got around to setting up my custom index page up. I used clight's instructions and it looks pretty nice. 

-
- Donator
- Posts: 502
- Joined: 24 Sep 2015, 16:23
Re: Custom index page
Gonna have a peek :)Sniper_E wrote: 15 May 2023, 03:40 I finally got around to setting up my custom index page up. I used clight's instructions and it looks pretty nice.![]()
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: Custom index page
After setting this up I found the layout to be very bulky.
So I trimmed off some of the fat. This is my thin layout...

Very cool extension!
So I trimmed off some of the fat. This is my thin layout...

Very cool extension!
Last edited by Sniper_E on 18 May 2023, 19:25, edited 1 time in total.
-
- Founder
- Posts: 6464
- Joined: 13 Jan 2014, 21:45
Re: Custom index page
Very nice!Sniper_E wrote: 16 May 2023, 22:50 After setting this up I found the layout to be very bulky.
So I trimmed off some of the fat. This is my thin layout...
Very cool extension!

-
- Donator
- Posts: 502
- Joined: 24 Sep 2015, 16:23
Re: Custom index page
Alpha wrote: 11 May 2023, 13:09 dmzx
Hi, sorry i forgot, i managed to fix it, but now i'm stuck inserting my admin contact link, i manage to put it in the code, but when you click on it, it doesn't don't open
I installed Contact Admin, but nothing, I click of course. Contact us, but the contactadmin link does not open, I am lost, please help me
EDIT, the below won't work, as you have to be logged in first :( Sorry.
If I get what you mean, combining 2 ext....
To have Contact Admin (rmcgrr83)ext link show in this ext use this in the ACP instead of mail to, of course you use your own link...
Code: Select all
<div class="contact">
{{ lang('CONTACT_HELP') }}
<a href="https://www.nzbforyou.com/contactadmin"><button class="button button1">{{ lang('CONTACT_US') }}</button></a>
</div>

If I misread oh well...
-
- Founder
- Posts: 6464
- Joined: 13 Jan 2014, 21:45
Re: Custom index page
So if you use Contact Admin set it like this:Alpha wrote: 11 May 2023, 13:09 dmzx
Hi, sorry i forgot, i managed to fix it, but now i'm stuck inserting my admin contact link, i manage to put it in the code, but when you click on it, it doesn't don't open
I installed Contact Admin, but nothing, I click of course. Contact us, but the contactadmin link does not open, I am lost, please help me
Use code in HTML Edit and edit above <p class="cp-text">:
Code: Select all
<div class="register">
Need to contact us?<br>
<a href="{{ U_CONTACTADMIN }}"><button id="register-link">{{ lang('Contact') }}</button></a>
</div>
Open \ext\dmzx\customindexpage\util\cnst.php
Find This may be a partial find and not the whole line
Code: Select all
'app.php/user/reset_password',
Add after Add these lines on a new blank line after the preceding line(s) to find
Code: Select all
'contactadmin',
'app.php/contactadmin',
-
- Donator
- Posts: 502
- Joined: 24 Sep 2015, 16:23
Re: Custom index page
Works good DM.... THX :)
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: Custom index page
Bummer. It didn't work for me. The link still takes me to index page.
It's not picking up the {{ U_CONTACTADMIN }} link and the cnst.php is edited. Cache cleared.
But I see it does work at clight's place. Or would I have to have that contact admin ext for this to work?
It's not picking up the {{ U_CONTACTADMIN }} link and the cnst.php is edited. Cache cleared.
But I see it does work at clight's place. Or would I have to have that contact admin ext for this to work?
-
- Founder
- Posts: 6464
- Joined: 13 Jan 2014, 21:45
Re: Custom index page
Yes you need to install that ext. alsoSniper_E wrote: 19 May 2023, 21:32 Bummer. It didn't work for me. The link still takes me to index page.
It's not picking up the {{ U_CONTACTADMIN }} link and the cnst.php is edited. Cache cleared.
But I see it does work at clight's place. Or would I have to have that contact admin ext for this to work?
-
- Donator
- Posts: 502
- Joined: 24 Sep 2015, 16:23
Re: Custom index page
Dunno if this will work or not..
Go into your FTP
Ext/dmzx
Find the "customindexpage" folder and rename it (don't delete it)
Go to Cache/Production in FTP delete the Production folder only see if that will help.
You can always rename the "customindexpage" back to original name.. Deleting Production folder will cause no harm.
Go into your FTP
Ext/dmzx
Find the "customindexpage" folder and rename it (don't delete it)
Go to Cache/Production in FTP delete the Production folder only see if that will help.
You can always rename the "customindexpage" back to original name.. Deleting Production folder will cause no harm.
-
- Users
- Posts: 279
- Joined: 15 Aug 2015, 20:25
Re: Custom index page
How do it get the contact button moved over to where it belongs?



-
- Donator
- Posts: 502
- Joined: 24 Sep 2015, 16:23
Re: Custom index page
Is it in ACP/Custom index Page/Setting/Language
$lang = array_merge($lang, [
/////////////////////////////------------------------------------------ Edit only below this line ---------------------------------/////////////////////////////
'CUSTOMINDEXPAGE_WELCOME' => 'Welcome to',
'CSSMAGICS' => 'The home of cssmagic',
'CUSTOMINDEXPAGE_ACCOUNT' => 'Don’t have an account yet?',
'CONTACT_HELP' => 'Need help?',
'CONTACT_US' => 'Contact clight77',
'SUPPORT_US' => 'Please consider a donation to support us.',
'CUSTOMINDEXPAGE_COPYRIGHT' => 'Copyright',
'CUSTOMINDEXPAGE_RIGHTS' => 'All rights reserved.',
/////////////////////////////------------------------------------------ Edit only above this line ---------------------------------/////////////////////////////
$lang = array_merge($lang, [
/////////////////////////////------------------------------------------ Edit only below this line ---------------------------------/////////////////////////////
'CUSTOMINDEXPAGE_WELCOME' => 'Welcome to',
'CSSMAGICS' => 'The home of cssmagic',
'CUSTOMINDEXPAGE_ACCOUNT' => 'Don’t have an account yet?',
'CONTACT_HELP' => 'Need help?',
'CONTACT_US' => 'Contact clight77',
'SUPPORT_US' => 'Please consider a donation to support us.',
'CUSTOMINDEXPAGE_COPYRIGHT' => 'Copyright',
'CUSTOMINDEXPAGE_RIGHTS' => 'All rights reserved.',
/////////////////////////////------------------------------------------ Edit only above this line ---------------------------------/////////////////////////////