Search found 5 matches
- Mon May 31, 2010 9:57 pm
- Forum: The Lounge
- Topic: Pages not in Menu, but in Sitemap
- Replies: 3
- Views: 2109
Re: Pages not in Menu, but in Sitemap
I was using {sitemap} along with CMS Made Simple 1.7.1 Escada . Sorry for not having pointed that out, as I was unaware of {site_mapper} . As for what I was hoping to achieve, site_mapper doesn't do much better. It no longer shows those second-level pages in the wrong section, but in fact, doesn't s...
- Mon May 31, 2010 9:26 pm
- Forum: Modules/Add-Ons
- Topic: Formbuilder and $_SERVER["HTTP_REFERER"]
- Replies: 0
- Views: 881
Formbuilder and $_SERVER["HTTP_REFERER"]
Here's what I am trying to achieve: I would want to use formbuilder to create a kind of smart form that recognizes from which page it was called. step 1) make $_SERVER["HTTP_REFERER"] (which is the page from which the form was called) available using a hidden input element, so that it can ...
- Sun May 30, 2010 9:26 pm
- Forum: The Lounge
- Topic: Pages not in Menu, but in Sitemap
- Replies: 3
- Views: 2109
Pages not in Menu, but in Sitemap
I think it were good, if visibility in the menu were distinct from visibility in the sitemap . At the moment, I have a toplevel section(/page) set to non-visible, but all pages below it to visible. The sitemap does not show the hidden section, but outputs indented 2nd-level pages, however, under the...
- Sun May 30, 2010 8:48 pm
- Forum: The Lounge
- Topic: Conditional Template - Smarty and Arrays
- Replies: 1
- Views: 1817
Conditional Template - Smarty and Arrays
I would like to conditionally hide elements in a template based on whether or not a page-alias is in a predefined array, like so... {if (in_array($page_alias,$someArray))} show this {/if} My problem is: How and where would I best define that array? $someArray=array( 'alias1', 'alias2', 'alias3','al...
- Thu May 27, 2010 10:18 am
- Forum: Developers Discussion
- Topic: HasUsableLink() for PageLink
- Replies: 0
- Views: 1006
HasUsableLink() for PageLink
Hi CMSMS Community, I just added a simple pagelink to the menu which however only generated as plain-text in the sitemap. So I figured that I want to change... function HasUsableLink() { return false; } ....on line 39 in \lib\classes\contenttypes\PageLink.inc.php to... function HasU...