Link not showing properly

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
badger413
New member
New member
Posts: 43
Joined: 28 Feb 2013, 19:12
Contact:

Link not showing properly

Postby badger413 » 24 Sep 2013, 20:15


User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Link not showing properly

Postby RMcGirr83 » 25 Sep 2013, 00:11


badger413
New member
New member
Posts: 43
Joined: 28 Feb 2013, 19:12
Contact:

Re: Link not showing properly

Postby badger413 » 25 Sep 2013, 06:27

I did what you told me to do and now when I click on gallery this is how it shows

gallery.png


shadows home and gallery at the same time instead of gallery only.

User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Link not showing properly

Postby RMcGirr83 » 25 Sep 2013, 09:35

That's because "Home" is probably using the if script_name = "index" which they both have.

badger413
New member
New member
Posts: 43
Joined: 28 Feb 2013, 19:12
Contact:

Re: Link not showing properly

Postby badger413 » 25 Sep 2013, 16:57

is there a way around this?

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Link not showing properly

Postby steve » 25 Sep 2013, 18:15

Do the same as what u done in gallery index file to your forums index file but use S_IN BORED_INDEX template variable
Steve ©

badger413
New member
New member
Posts: 43
Joined: 28 Feb 2013, 19:12
Contact:

Re: Link not showing properly

Postby badger413 » 25 Sep 2013, 18:49

Can you help me step by step and will this work?

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Link not showing properly

Postby steve » 25 Sep 2013, 19:29

Not tonight , but have a look in this forum at the topic where the sticky topics are and have a read the the topic if statements ;)
Steve ©

badger413
New member
New member
Posts: 43
Joined: 28 Feb 2013, 19:12
Contact:

Re: Link not showing properly

Postby badger413 » 26 Sep 2013, 07:27

Attachments
link2.png
link.png

User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Link not showing properly

Postby RMcGirr83 » 26 Sep 2013, 10:44


badger413
New member
New member
Posts: 43
Joined: 28 Feb 2013, 19:12
Contact:

Re: Link not showing properly

Postby badger413 » 26 Sep 2013, 18:50

what do I do?

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Link not showing properly

Postby steve » 26 Sep 2013, 19:01

'S_IN_BORED_INDEX' => true, just use this in the index.php file for index
Steve ©

badger413
New member
New member
Posts: 43
Joined: 28 Feb 2013, 19:12
Contact:

Re: Link not showing properly

Postby badger413 » 26 Sep 2013, 19:21

Steve, YOU ARE THE MAN. THANK YOU GOOD KIND SIR!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 34 guests