Search found 14 matches

by jpa
Mon Feb 27, 2023 12:25 pm
Forum: Layout and Design (CSS & HTML)
Topic: Pretty URL on NGINX and queries in the URL not working
Replies: 1
Views: 4039

[SOLVED] Re: Pretty URL on NGINX and queries in the URL not working

After some trying and failing, it seems as if I was on the right path all along, but forgot an important & in the string.

When I changed the try_files to the following, it works:

Code: Select all

try_files $uri $uri/ /index.php?page=$request_uri&$args;
by jpa
Fri Feb 24, 2023 12:20 pm
Forum: Layout and Design (CSS & HTML)
Topic: Pretty URL on NGINX and queries in the URL not working
Replies: 1
Views: 4039

Pretty URL on NGINX and queries in the URL not working

I'm sorry if I put this question in the wrong category, but I could not find another, more suitable category. I have moved a CMSMS site from an apache server to a new server that runs NGINX. I set up the NGINX config to allow for pretty URLs as advised: location / { try_files $uri $uri/ /index.php?p...
by jpa
Tue Jan 25, 2022 9:43 am
Forum: CMSMS Core
Topic: cmsms-2.2.16-install.php redirecting to cmsms-2.2.16-install.php/index.php
Replies: 3
Views: 4154

cmsms-2.2.16-install.php redirecting to cmsms-2.2.16-install.php/index.php

Hi, I'm trying to upgrade a CMSMS now running 2.2.15 to the new version. I upgraded to 2.2.15 awhile back with no issues. But this time, when I try to run the https://mydomain.org/cmsms-2.2.16-install.php I'm only redirected to https://mydomain.org/cmsms-2.2.16-install.php/index.php I've tried to re...
by jpa
Fri Sep 25, 2020 8:21 pm
Forum: CMSMS Core
Topic: cms_selflink will not output link on all pages
Replies: 4
Views: 1253

Re: cms_selflink will not output link on all pages

Just found the culprit. Saw it when I took another look at the source code. One way or another the whole page content was put inside a {literal} tag. I removed this tag and put it around only the text that needed it. And violà! Thanks for all your suggestions. I'll get new glasses and show myself ou...
by jpa
Fri Sep 25, 2020 8:01 pm
Forum: CMSMS Core
Topic: cms_selflink will not output link on all pages
Replies: 4
Views: 1253

Re: cms_selflink will not output link on all pages

Thank you for your replay.

When I disable WYSIWYG (or view HTML source) I see the un-encoded tag: <a href="{cms_selflink href='alias'}"> on every occation.

When I save the page with disabled WYSIWYG and view the page, the links are still encoded like %7Bcms_selflink%20href='alias'%7D
by jpa
Fri Sep 25, 2020 7:30 am
Forum: CMSMS Core
Topic: cms_selflink will not output link on all pages
Replies: 4
Views: 1253

cms_selflink will not output link on all pages

I have an issue with cms_selflink within the normal page contents. On most pages, links like: <a href="{cms_selflink href='alias'}"> Works fine, and output the full correct URL to this page. But on some pages, this is the result: https://my.site.no/%7Bcms_selflink%20href='alias'%7D The pag...
by jpa
Tue Sep 07, 2010 12:47 pm
Forum: Modules/Add-Ons
Topic: Statistics module: "total unique" eq "total pageviews", how to fix?
Replies: 0
Views: 683

Statistics module: "total unique" eq "total pageviews", how to fix?

I've installed the statistics module on one of my CMS sites. And the {Statistics} tag have been put on all templates. The problem is that the summary does not differ between unique counts and total counts. I now installed the same version on another CMS site that I have. And here, the numbers differ...
by jpa
Fri Sep 04, 2009 8:49 am
Forum: Modules/Add-Ons
Topic: Lightbox and TinyMCE for multiple images?
Replies: 0
Views: 1160

Lightbox and TinyMCE for multiple images?

I found the topic Simple way of opening images to Lightbox window with TinyMCE This solution works perfect for one single image added by a user via TinyMCE. But how can I make use of the prev/next function when the rel=lightbox is added via the TinyMCE link window? In my non-CMS private web page I u...
by jpa
Thu Jun 18, 2009 6:59 pm
Forum: Modules/Add-Ons
Topic: [answered] menu content based on page template?
Replies: 9
Views: 2833

Re: [answered] menu content based on page template?

Sorry, but where in the menu template do you check for the extra field? [EDIT: wait, I found out on my own  8)] for the benefit of those who might not be able to decipher the menu template so easily... I did not have the time to post what I did earlier, but did not want anyone to spend time in vain...
by jpa
Thu Jun 18, 2009 12:21 pm
Forum: Modules/Add-Ons
Topic: [answered] menu content based on page template?
Replies: 9
Views: 2833

Re: menu content based on page template?

no, you don't have easy access to the template used when creating the menu. I setup my menu to check for the word 'private' in the extra1 field ($node->extra1) and only display it if the user is logged in. Sorry, but where in the menu template do you check for the extra field? [EDIT: wait, I found ...
by jpa
Thu Jun 18, 2009 11:18 am
Forum: Modules/Add-Ons
Topic: [answered] menu content based on page template?
Replies: 9
Views: 2833

Re: menu content based on page template?

ajprog wrote: no, you don't have easy access to the template used when creating the menu.

I setup my menu to check for the word 'private' in the extra1 field ($node->extra1) and only display it if the user is logged in.
Thank you.
That might be a better solution than to use includeprefix. I'll try it out.
by jpa
Thu Jun 18, 2009 9:06 am
Forum: Modules/Add-Ons
Topic: [answered] menu content based on page template?
Replies: 9
Views: 2833

Re: menu content based on page template?

Hi Jpa, finally welcome to the forum. ;) Not sure if this is what you're looking for but here i tried to explain how to create user specific content very easy: Thanks for the welcome :) Not really, but your tip reminded me of another thing I had to solve. To use different content blocks solves the ...
by jpa
Wed Jun 17, 2009 1:09 pm
Forum: Modules/Add-Ons
Topic: [answered] menu content based on page template?
Replies: 9
Views: 2833

[answered] menu content based on page template?

I've used this forum a lot, and usually I've searched and found what I was looking for (thank you :) ), but not this time. I have a web page where different Frontendusers will have access to different pages. The menus must then output different items based on the logged in user's name or group. Menu...

Go to advanced search