Search found 34 matches

by atz6975
Wed Nov 25, 2020 11:06 pm
Forum: The Lounge
Topic: New but not so new
Replies: 3
Views: 5445

Re: New but not so new

Code: Select all

#header a {
    font-size: 4vw;
}
by atz6975
Thu Feb 27, 2020 10:19 am
Forum: CMSMS Core
Topic: Page_attr / getchildren enhancement (v2.2.x vs 2.3)
Replies: 0
Views: 1137

Page_attr / getchildren enhancement (v2.2.x vs 2.3)

Hi, I haven't tested v2.3 yet and I hope this is not already done there. I've based content navigation in templates on child structure in our cms (head, child, sub-child) and as advised by people here (deprecated menu module). I find it very pleasant for dev and much more practical for editors too. ...
by atz6975
Thu Dec 26, 2019 10:30 am
Forum: CMSMS Core
Topic: Smarty Template inheritance, duplicate content documentation
Replies: 0
Views: 1263

Smarty Template inheritance, duplicate content documentation

Hi, I ran into this same issue : viewtopic.php?f=8&t=80100&hilit=extends I'm gratefull that somebody took the time to report this and save me the headache. Here is my little contribution to the documentation update on the Templating subject (v2.2.x or v2.3). Feel free to inherit/extend/repla...
by atz6975
Tue Dec 17, 2019 7:39 am
Forum: Modules/Add-Ons
Topic: Quick update on status
Replies: 0
Views: 1076

Quick update on status

Hi, I don't care so much about what is best and not. But I do appreciate a List Manager in any of my simple web sites. I often think about replacing Lise with News/Posts but the simplicity of Lise is so enjoyable, especially for small content lists So I was about to ask how is the update to 2.3 comi...
by atz6975
Thu Mar 21, 2019 9:46 pm
Forum: General Discussion
Topic: [SOLVED] CMSMS behind proxy, client Ip and https
Replies: 7
Views: 9931

Re: CMSMS behind proxy, client Ip and https

For completion,
the CMS APP test for https_request also needs to test HTTP_X_FORWARDED_PROTO for 'https' presence.
One could set $SERVER['HTTPS'] to "on" in index too. But not very elegant (same for REMOTE_ADDR).
by atz6975
Thu Mar 07, 2019 9:11 pm
Forum: General Discussion
Topic: [SOLVED] CMSMS behind proxy, client Ip and https
Replies: 7
Views: 9931

Re: [SOLVED] CMSMS behind proxy, client Ip and https

Hi dev Team, please let me revive this topic as I checked last release code (2.2.10 mentioned some minor get_real_ip love...). You still check for empty REMOTE_ADDR....too bad as this requires further configuration in proxies to empty it. I doubt it is an accountable practice. I'm not sure why it wo...
by atz6975
Wed Jan 16, 2019 3:34 pm
Forum: General Discussion
Topic: [SOLVED] CMSMS behind proxy, client Ip and https
Replies: 7
Views: 9931

Re: [SOLVED] CMSMS behind proxy, client Ip and https

Sorry was sick. The IP is used in forms and maintenance management in my knowledge of CMSMS. While the proxy allows me to set maintenance mode on IP also and can mitigate the issue, Form Builder gets fooled by the current client IP management and wrongfully reports the proxy IP. Same would go for IP...
by atz6975
Tue Jan 15, 2019 2:04 am
Forum: General Discussion
Topic: [SOLVED] CMSMS behind proxy, client Ip and https
Replies: 7
Views: 9931

[SOLVED] CMSMS behind proxy, client Ip and https

Own reply here.....You actually "attempt to retrieve the IP address...and attempt to compensate for proxy servers" in get_real_ip() function. Now I have to find why it doesn't work. My guess is because you expect the ["REMOTE_ADDR"], to be empty, when it is not (it is the proxy's...
by atz6975
Tue Jan 15, 2019 1:45 am
Forum: General Discussion
Topic: [SOLVED] CMSMS behind proxy, client Ip and https
Replies: 7
Views: 9931

Re: CMSMS behind proxy, client Ip and https

Hi, thx for taking the time. I might have chosen bad word...specify. I was wondering how would CMSMS "know" where to look for the IP address because right now it doesn't look for it. So "specifying" the $_SERVER (or as you rightfully mention, the header) variable name to look for...
by atz6975
Tue Jan 15, 2019 1:08 am
Forum: General Discussion
Topic: [SOLVED] CMSMS behind proxy, client Ip and https
Replies: 7
Views: 9931

[SOLVED] CMSMS behind proxy, client Ip and https

Hi, just setup cmsms (2.2.8 ) behind haproxy. Is there a way in config to specify a server variable ($_SERVER["HTTP_X_FORWARDED_FOR"]) or some custom function to retrieve the source client ip address? The first usage would be to put the site in maintenance and second would be to get the ri...
by atz6975
Sat Mar 23, 2013 6:20 pm
Forum: Developers Discussion
Topic: Route is called twice with showtemplate=false ?
Replies: 2
Views: 2701

Re: Route is called twice with showtemplate=false ?

Fixed and tested with 1.11.5.
Thanks.
by atz6975
Wed Mar 20, 2013 5:54 pm
Forum: Developers Discussion
Topic: Route is called twice with showtemplate=false ?
Replies: 2
Views: 2701

Re: Route is called twice with showtemplate=false ?

Hi I jump on the wagon....
I use Goran's post to use CGFeedback and Jquery.
Where shall I put the static trick?
re-re-edit : I'm not sure if I understand where to put it by myself....

Thanks for your help.
by atz6975
Fri Mar 01, 2013 3:29 pm
Forum: The Lounge
Topic: ANOMALY : UDT runs after Template save
Replies: 5
Views: 3209

[SOLVED] : UDT runs after Template save

YES!
I had a feeling it was odd...and thanks for the fix.

Is cmsms()->set_variable('content-type', 'application/json'); a good idea to set the content to json?
by atz6975
Fri Mar 01, 2013 12:15 pm
Forum: The Lounge
Topic: ANOMALY : UDT runs after Template save
Replies: 5
Views: 3209

Re: ANOMALY : UDT runs after Template save

Here is some fun info.... I used Postman Chrome extension and I built a page with only UDT call. UDT simple logic is : delay( 1s), error_log( time()) Template of page is : {process_pagedata}{content} Page content is : {UDT} If I post Url : /page I get one write in file If I post Url : /page?showtemp...
by atz6975
Fri Mar 01, 2013 5:58 am
Forum: The Lounge
Topic: ANOMALY : UDT runs after Template save
Replies: 5
Views: 3209

Re: ANOMALY : UDT runs after Template save

I understand now....
And I'm going to sort out the double execution...unless you can help me without knowing my code ::)

Edited : because it is two different issues and I don't want to make anybody angry...

Go to advanced search