Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to use anchor() to reference an anchor specified by an ID
Post: RE: How to use anchor() to reference an anchor spe...

nc03061981 Wrote: (10-01-2020, 05:44 AM) -- Use anchor with uri = '#AnchorOnPage' [hr] Or use a with href="#AnchorOnPage" -- I would need something like Code: -- uri="aPage/#anchorOnPage/para...
1,896 Views
4 Replies
10-01-2020, 01:25 PM
HardyW
    Thread: How to use anchor() to reference an anchor specified by an ID
Post: How to use anchor() to reference an anchor specifi...

Suppose I have on a page somewhere the statement Code: -- -- How do I use the function anchor(...) or any other one to reference the paragraph (including parameters for the controller)? is thi...
1,896 Views
4 Replies
10-01-2020, 01:49 AM
HardyW
    Thread: [Session] Session IDs do not match
Post: RE: [Session] Session IDs do not match

InsiteFX Wrote: (09-07-2020, 12:30 PM) -- First that I have ever heard of this happening like that. -- Yep, I did also not imagine this. This was the scenario: First request was sent to "www.examp...
3,626 Views
4 Replies
09-07-2020, 01:10 PM
HardyW
    Thread: [Session] Session IDs do not match
Post: RE: [Session] Session IDs do not match

InsiteFX Wrote: (09-06-2020, 03:02 AM) -- It could be because cookies do not update until a page refresh has happened. Refresh the page first then see what you get. -- No, this was not the case. T...
3,626 Views
4 Replies
09-06-2020, 02:13 PM
HardyW
    Thread: [Session] Session IDs do not match
Post: [Session] Session IDs do not match

Suppose I have the following code: PHP Code: -- $session = session(); log_message('debug','Session ID: '.session_id()); log_message('debug','Session array: '.var_export($_SESSION,TRUE)); --  This ...
3,626 Views
4 Replies
09-05-2020, 03:56 AM
HardyW
    Thread: BaseController and controller documentation mismatch
Post: RE: BaseController and controller documentation mi...

Hi Dave, my most famous example is Wikipedia. Wikipedia uses case-sensitive links. And as this is one of the most used sites, I believe, I do not see any issues with using case-sensitive links. Oth...
10,103 Views
13 Replies
04-23-2020, 11:53 AM
HardyW
    Thread: Setting redirection in Config/Routes.php seems to be broken
Post: Setting redirection in Config/Routes.php seems to ...

Suppose I have these route definitions in Config/Routes.php: PHP Code: -- $routes->setAutoRoute(true); /** * -------------------------------------------------------------------- * Route Definition...
893 Views
0 Replies
04-23-2020, 05:03 AM
HardyW
    Thread: BaseController and controller documentation mismatch
Post: RE: BaseController and controller documentation mi...

kilishan Wrote: (04-21-2020, 08:41 PM) -- dave friend Wrote: (04-21-2020, 07:23 PM) -- Someone should fact check me on this, but with CI4 you can name your controller using any character-case scheme...
10,103 Views
13 Replies
04-22-2020, 12:36 PM
HardyW
    Thread: BaseController and controller documentation mismatch
Post: RE: BaseController and controller documentation mi...

Hi, sorry, but it is not the intention to start here a big debate, I just want to clarify some things. It is true that a lot of URL are lowercase but they do not have to be. If you like to follo...
10,103 Views
13 Replies
04-19-2020, 10:23 AM
HardyW
    Thread: BaseController and controller documentation mismatch
Post: RE: BaseController and controller documentation mi...

Yes, I know. But I do not see any benefit of doing so. Calling ucfirst on something is not better than just keeping it. The segments, e.g. names of the controller, are stored in the case-sensitive sec...
10,103 Views
13 Replies
04-18-2020, 11:37 PM
HardyW
    Thread: BaseController and controller documentation mismatch
Post: RE: BaseController and controller documentation mi...

Thanks for the answer (no, I am not using Windows but another non-case-sensitive file system for testing). I never understood CodeIgniter's naming scheme for controllers and the reason for it. The ...
10,103 Views
13 Replies
04-18-2020, 01:45 PM
HardyW
    Thread: lang() third parameter: bug or feature?
Post: RE: lang() third parameter: bug or feature?

At least this behaviour is not documented. I just ran into the same issue. I think that this is a bug.
1,585 Views
1 Replies
04-15-2020, 02:37 PM
HardyW
    Thread: BaseController and controller documentation mismatch
Post: BaseController and controller documentation mismat...

CodeIgniter's official distribution provides the BaseController class. The class name has two uppercase characters. Although  in CodeIgniter's documentation is written (section controllers and Routin...
10,103 Views
13 Replies
04-15-2020, 05:48 AM
HardyW
    Thread: How to make a PDF file of the user guide?
Post: How to make a PDF file of the user guide?

Running make latexpdf results in the error message Quote: -- make: latexmk: No such file or directory -- Running make latex seems to work and produces CodeIgniter.tex. But running pdftex on ...
4,156 Views
4 Replies
03-27-2019, 02:58 AM
HardyW
    Thread: Is it possible to use nested loops in parser templates?
Post: RE: Is it possible to use nested loops in parser t...

ciadmin Wrote: (03-06-2019, 05:37 PM) -- If you want nested variables to also see the level above them, then you need to pass true as a second parameter to the render() call. See https://codeigniter4...
3,342 Views
3 Replies
03-07-2019, 11:01 AM
HardyW
    Thread: Is it possible to use nested loops in parser templates?
Post: Is it possible to use nested loops in parser templ...

I am not sure if nested loops are supported by the parser, at least I am not able to display the following template correctly: Code: --             {header_entries}         {header_title}   ...
3,342 Views
3 Replies
03-06-2019, 03:34 PM
HardyW
    Thread: Additional rule for Validation
Post: RE: Additional rule for Validation

ciadmin Wrote: (03-06-2019, 11:49 AM) -- Doesn't the "alpha_dash" validation rule do this already? See https://codeigniter4.github.io/CodeIgniter4/libraries/validation.html#available-rules -- No, no...
3,314 Views
2 Replies
03-06-2019, 01:18 PM
HardyW
    Thread: The session class has a push method but no pop method
Post: RE: The session class has a push method but no pop...

ciadmin Wrote: (03-06-2019, 11:20 AM) -- 1) Session::push is not part of SessionInterface, and I don't know that it should be relied on 2) Session::push as implemented is intended to merge additio...
6,430 Views
7 Replies
03-06-2019, 12:54 PM
HardyW
    Thread: The session class has a push method but no pop method
Post: RE: The session class has a push method but no pop...

kilishan Wrote: (02-27-2019, 11:06 AM) -- Since the Session drivers work hand-in-hand with core PHP functionality, you don't need special features for this. You can modify $_SESSION directly. So what...
6,430 Views
7 Replies
02-27-2019, 02:29 PM
HardyW
    Thread: The session class has a push method but no pop method
Post: RE: The session class has a push method but no pop...

InsiteFX Wrote: (02-27-2019, 09:43 AM) -- remove or unset --  How do you want to apply remove or unset to session()->get('key')? You get a value back but not a reference. session::push is equiva...
6,430 Views
7 Replies
02-27-2019, 10:53 AM
HardyW

Theme © iAndrew 2016 - Forum software by © MyBB