Search found 13 matches

by tomphantoo
Thu Jan 11, 2018 10:32 pm
Forum: Developers Discussion
Topic: Staus of URL's created in e.g. CMSModule::CreateReturnLink
Replies: 1
Views: 1667

Staus of URL's created in e.g. CMSModule::CreateReturnLink

Do any of you have experience with, and/or can you suggest a use-case for, CMSModule::CreateReturnLink() ? I'm wondering because the method produces a string with an embedded URL which can be partially -'entitized' (not e.g. urlencoded). I think such anchor would (if actually modified) be unusable v...
by tomphantoo
Fri Oct 06, 2017 10:14 pm
Forum: The Lounge
Topic: Template error upon page re-display
Replies: 0
Views: 909

Template error upon page re-display

I surmise that non-cached UTD- and plugin-generated content cannot survive end-of-browser-session, and so page-re-display in a later session will always fail e.g. in the example below, how is smarty_cms_function_mobile_detect() supposed to re-run, unless the page is re-generated? Should that functio...
by tomphantoo
Wed Apr 15, 2015 6:00 am
Forum: Developers Discussion
Topic: Front-end-initiated action to just do something, not display
Replies: 1
Views: 1803

Front-end-initiated action to just do something, not display

Is there a way to block all changes to the frontend display, after a site url has been requested? Something akin to SuppressAdminOutput() for backend display? I want to be able to just "do something" instead of "display something", after receiving a relevant URL request. Sofar I can't find a way to ...
by tomphantoo
Tue Sep 20, 2011 8:35 am
Forum: Closed Issues
Topic: [closed] Per-backend-user password salting
Replies: 1
Views: 1856

[closed] Per-backend-user password salting

It's good that password salting is coming for backend users. I have 1.10-beta1, and there at least, the process uses the same salt (or none) for everyone. AFAIK, it's more secure to use per-person salting, even when someone malicious can access the tabled password data, hence the individual salts. C...
by tomphantoo
Tue Sep 20, 2011 8:08 am
Forum: Closed Issues
Topic: [closed] Path separators in DisplayImage()
Replies: 1
Views: 1787

[closed] Path separators in DisplayImage()

There are quite a few instances of hardcoded path separator '/' in DisplayImage() (in file class.admintheme.inc.php).

It seems that this func deals with paths, not URL's, and in that case, should the separators be DIRECTORY_SEPARATOR ?

Same for 1.9.
by tomphantoo
Mon Sep 19, 2011 11:28 pm
Forum: Closed Issues
Topic: SetParameters deprecated in 1.10
Replies: 2
Views: 1645

Re: SetParameters deprecated in 1.10

This works for me: after re-crafting module initialization for 1.10

Code: Select all

	//setup for pre-1.10
	function SetParameters()
	{
		$this->InitializeAdmin();
		$this->InitializeFrontend();
	}
by tomphantoo
Sat Sep 03, 2011 10:34 pm
Forum: Layout and Design (CSS & HTML)
Topic: How can I change tab using jquery?
Replies: 0
Views: 935

How can I change tab using jquery?

Upon clicking a relevant link, I'd like to be able to select/activate a tab directly, instead of reloading an entire page, with an 'active-tab-name' parameter. This relates to tabs of an admin page, so jquery is present, in my case, jquery-ui-1.8.4.custom.min.js. The documented approach, something l...
by tomphantoo
Thu Jun 16, 2011 3:25 am
Forum: Modules/Add-Ons
Topic: FEUMailer's email with special character?
Replies: 1
Views: 477

Re: FEUMailer's email with special character?

Mails sent as html need to have this inserted:
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/></head>

I've fixed my mailer module, I'll try to persuade George to agree to this.

Meanwhile, it may be sufficient to send the mail as non-html.
by tomphantoo
Thu Jun 09, 2011 2:02 am
Forum: Modules/Add-Ons
Topic: How to get 'returnto' to work after user logout?
Replies: 4
Views: 1081

Re: How to get 'returnto' to work after user logout? SOLVED

Plowing through the code of the FrontEndUsers module, I found that it effectively ignores the 'returnto' parameter during any logout. I've fixed mine , and would be happy to post the changes. However I also needed, and implemented, some hooks for returning to anywhere after logout, not just to a spe...
by tomphantoo
Mon Apr 25, 2011 1:47 am
Forum: Modules/Add-Ons
Topic: How to get 'returnto' to work after user logout?
Replies: 4
Views: 1081

How to get 'returnto' to work after user logout?

I can't get 'returnto' to work after user logs out. With the setup detailed below, clicking the logout button on the logout page clears the content of that page, and displays the login link in the header, but does not change page. What can I do to fix this? I've tested with omitted parameter(s) (com...
by tomphantoo
Tue Apr 12, 2011 8:38 pm
Forum: CMSMS Core
Topic: Show menu on page that itself is not in menu?
Replies: 4
Views: 1135

Re: Show menu on page that itself is not in menu?

[SOLVED]
My bad - poor design of my menu template.
Sorry to have wasted your time.
by tomphantoo
Tue Apr 12, 2011 11:14 am
Forum: CMSMS Core
Topic: Show menu on page that itself is not in menu?
Replies: 4
Views: 1135

Re: Show menu on page that itself is not in menu?

The page shows as expected, except for the navigation menu. The page-source has none of the relevant ul's li's etc. It's as if the {menu} tag were not there.
by tomphantoo
Tue Apr 12, 2011 6:58 am
Forum: CMSMS Core
Topic: Show menu on page that itself is not in menu?
Replies: 4
Views: 1135

Show menu on page that itself is not in menu?

I have various pages using the same template, which includes a {menu ....}. I want some of those pages not to be accessed via main navigation menus (instead - buttons, links etc), so I disabled the pages' respective 'show in menu' setting. But doing this seems to also prevent any menu being shown on...

Go to advanced search