3.3.x Extensions Database 3.2 / 3.3Custom index page

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Sniper_E
VIP
VIP
Posts: 1161
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by Sniper_E »

I finally got around to setting up my custom index page up. I used clight's instructions and it looks pretty nice. :tumbsyes:
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

clight77
Donator
Donator
Posts: 508
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by clight77 »

Sniper_E wrote: <span title="|15 May 2023|, 03:40">3 years ago</span> I finally got around to setting up my custom index page up. I used clight's instructions and it looks pretty nice. :tumbsyes:
Gonna have a peek :)

User avatar

Sniper_E
VIP
VIP
Posts: 1161
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by Sniper_E »

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...
Image
Very cool extension!
Last edited by Sniper_E 3 years ago, edited 1 time in total.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6549
Joined: 12 years ago
    Android Chrome

Re: Custom index page

Post by dmzx »

Sniper_E wrote: <span title="|16 May 2023|, 22:50">3 years ago</span> 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...
Image
Very cool extension!
Very nice! :thumbup:

User avatar

clight77
Donator
Donator
Posts: 508
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by clight77 »

Image

User avatar

clight77
Donator
Donator
Posts: 508
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by clight77 »

Alpha wrote: <span title="|11 May 2023|, 13:09">3 years ago</span> 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>
Image

If I misread oh well...

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6549
Joined: 12 years ago
    Windows 10 Chrome

Re: Custom index page

Post by dmzx »

Alpha wrote: <span title="|11 May 2023|, 13:09">3 years ago</span> 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
So if you use Contact Admin set it like this:

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>
And
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',
Save all files and clear cache.

User avatar

clight77
Donator
Donator
Posts: 508
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by clight77 »

Works good DM.... THX :)

User avatar

Sniper_E
VIP
VIP
Posts: 1161
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by Sniper_E »

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?

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6549
Joined: 12 years ago
    Android Chrome

Re: Custom index page

Post by dmzx »

Sniper_E wrote: <span title="|19 May 2023|, 21:32">3 years ago</span> 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?
Yes you need to install that ext. also

User avatar

Alpha
Users
Users
Posts: 21
Joined: 3 years ago
    Windows 10 Chrome

régler

Post by Alpha »

Hi, I have a problem with the custom index page extension, I can't access my forum anymore, I contacted my host, and they said, the cron file is missing from the extension, how to do stp for the help thank you

User avatar

martin
Admin
Admin
Posts: 5139
Joined: 12 years ago
    Linux Chrome

Re: Custom index page

Post by martin »

It does not have a cron file your host is telling you lies.
Image

User avatar

clight77
Donator
Donator
Posts: 508
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by clight77 »

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.

User avatar

Fast_Eddie
Users
Users
Posts: 279
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by Fast_Eddie »

How do it get the contact button moved over to where it belongs?

Image
:beers: Retirement 2024!

User avatar

clight77
Donator
Donator
Posts: 508
Joined: 11 years ago
    Windows 10 Chrome

Re: Custom index page

Post by clight77 »

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 ---------------------------------/////////////////////////////

Post Reply Previous topicNext topic