functions_cute_url.php
- angelside
- New member
- Posts: 6
- Joined: 06 Feb 2007, 15:06
- Real name: Sevdin Filiz
- Location: Turkey
- Contact:
functions_cute_url.php
:: Turkish phpBB3 support and development
:: usable version 1.2.2 | :: development version 2.0.0
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [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: functions_cute_url.php
- we're poor!
-
- New member
- Posts: 25
- Joined: 11 Oct 2007, 03:03
- Real name: Mike
- Location: Spokane, WA
- Contact:
Re: functions_cute_url.php
Wow Evil >3 that is a really great script, thanks for posting an example!
- angelside
- New member
- Posts: 6
- Joined: 06 Feb 2007, 15:06
- Real name: Sevdin Filiz
- Location: Turkey
- Contact:
Re: functions_cute_url.php
:: Turkish phpBB3 support and development
:: usable version 1.2.2 | :: development version 2.0.0
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [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: functions_cute_url.php
- we're poor!
- angelside
- New member
- Posts: 6
- Joined: 06 Feb 2007, 15:06
- Real name: Sevdin Filiz
- Location: Turkey
- Contact:
Re: functions_cute_url.php
:: Turkish phpBB3 support and development
:: usable version 1.2.2 | :: development version 2.0.0
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [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: functions_cute_url.php
Yes, however to allow more dynamic handling i'd use $cute_url->get(). Like this you don't have to have a hardcoded ammount of url items.
- we're poor!
- Afterlife(69)
- Member
- Posts: 175
- Joined: 30 Jun 2006, 21:23
- Real name: Dean
- Location: Sydney, Australia
- Contact:
Re: functions_cute_url.php
Life in the house
-
- New member
- Posts: 2
- Joined: 14 Jul 2008, 22:00
- [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: functions_cute_url.php
I have a question regarding template variables and cute_url:
How can I make sure template vars like change according to the website path? E.g. when you're in /path/to/entry/, the variable begins with './', so it will never correctly load stylesheets &c.
It's probably a simple solution but I thought I'd ask.
How can I make sure template vars like change according to the website path? E.g. when you're in /path/to/entry/, the variable begins with './', so it will never correctly load stylesheets &c.
It's probably a simple solution but I thought I'd ask.
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [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: functions_cute_url.php
- we're poor!
-
- New member
- Posts: 2
- Joined: 14 Jul 2008, 22:00
- [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: functions_cute_url.php
Well, it's hacky indeed, but it works
Thanks
Thanks
- SamT
- Past Contributor
- Posts: 79
- Joined: 14 Jun 2009, 16:29
- Real name: Sam
- Location: Sacramento, CA, USA
- Contact:
Re: functions_cute_url.php
Do you have the "fix_url" function?
I have actually been trying to figure out way around using a hook, they make my site significantly slower.
I have actually been trying to figure out way around using a hook, they make my site significantly slower.
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [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: functions_cute_url.php
- we're poor!
-
- Supporter
- Posts: 32
- Joined: 12 Aug 2009, 16:16
- Real name: David
- Contact:
Re: functions_cute_url.php
Alright, I'm having trouble understanding how to use the fix url hook provided recently in this topic. Can you give a walkthrough about it like you did for the functions_cute_url.php file? Thanks!
phpBB.com Development Team Member | |
Please do NOT contact for support via PM or email.
Please do NOT contact for support via PM or email.
Who is online
Users browsing this forum: No registered users and 7 guests