Did you put the debug line inside your news detail template?
Try putting {get_template_vars} inside there too.
Search found 53 matches
- Mon Oct 12, 2015 3:54 pm
- Forum: CMSMS Core
- Topic: Problems with News and Search page
- Replies: 7
- Views: 3718
- Mon Oct 12, 2015 9:39 am
- Forum: CMSMS Core
- Topic: Problems with News and Search page
- Replies: 7
- Views: 3718
Re: Problems with News and Search page
Just a tip on the <p></p> that's added around content (Magento does the same thing) - if you put your own <div></div> around it, it won't add the <p> - it's not ideal, but it's better than having a paragraph there, which can cause issues in templates. The long url is because pretty URLs isn't turned...
- Fri Oct 09, 2015 8:28 am
- Forum: CMSMS Core
- Topic: assign global vars not working
- Replies: 13
- Views: 16224
Re: assign global vars not working
Yeah, now that UDTs error if you try to grab Smarty for yourself, it's more obvious that you're doing it wrong, whereas that doesn't happen in a plugin file so it's not as clear that it shouldn't be done. It looks like whichever plugin I based the structure of mine on way back when didn't have the s...
- Thu Oct 08, 2015 3:27 pm
- Forum: CMSMS Core
- Topic: assign global vars not working
- Replies: 13
- Views: 16224
Re: assign global vars not working
Just to weigh back in on this, after 2.0.1.1 the {get_var} still seems to be required (for the method I'm currently using to create templates). I'll give a more specific example and hopefully I'm understanding how it should work correctly. I've created quite a few custom tags for CMSMS for our work,...
- Mon Sep 21, 2015 11:15 pm
- Forum: CMSMS Core
- Topic: assign global vars not working
- Replies: 13
- Views: 16224
Re: [fudged] assign global vars not working
Hmm yes, I can confirm assigning variables from a plugin doesn't currently work (sort of). If it's at all helpful, I have a very simple (so far) plugin: function smarty_cms_function_validate_form() { $valid = true; $errors = []; if ($_POST['type'] == 'donate_single') { $donation_amount = preg_replac...
- Mon Sep 21, 2015 2:02 pm
- Forum: The Lounge
- Topic: User-defined Documents
- Replies: 4
- Views: 1589
Re: User-defined Documents
Just tested the first solution - EasyList pages definition combined with search. Beautiful. Works perfectly.
I always forget about the search functionality in EasyList/LI2
I always forget about the search functionality in EasyList/LI2
- Mon Sep 21, 2015 1:50 pm
- Forum: The Lounge
- Topic: User-defined Documents
- Replies: 4
- Views: 1589
Re: User-defined Documents
Interesting. Very interesting. Indeed LI2 (and I think EasyList) has a Pages dropdown field type. So I could perhaps have them choose a document, and a page, and on each page perform a search for which documents match the current page. Very interesting. I didn't even realise you could intercept cont...
- Mon Sep 21, 2015 1:33 pm
- Forum: The Lounge
- Topic: User-defined Documents
- Replies: 4
- Views: 1589
User-defined Documents
I have an interesting query, and I'm looking for a second set of eyes to see if anyone has any other ideas off the top of their heads. I'm creating a website that has a relatively large number of pages, and it could be the case that the editors want to add one or more documents to any of those pages...
- Wed Sep 16, 2015 4:00 pm
- Forum: Modules/Add-Ons
- Topic: CMSMS 2.0 Module Alternatives
- Replies: 5
- Views: 2497
CMSMS 2.0 Module Alternatives
So 2.0 is here and it seems great, but many of the critical modules haven't been updated (and unfortunately, it seems like many of them haven't been updated in a long time and probably never will be). Here's my list of frequently used modules and any (not many) alternatives I've found. Does anyone h...
- Wed Sep 16, 2015 3:33 pm
- Forum: Modules/Add-Ons
- Topic: Any suggestions for alternative to GBFilePicker in 2.0?
- Replies: 11
- Views: 4647
Re: Any suggestions for alternative to GBFilePicker in 2.0?
I was wondering what would replace GBFilePicker too (and AdvancedContent for that matter). Have you tried the {content_image} tag?
I haven't had chance myself yet.
I haven't had chance myself yet.
- Wed Sep 16, 2015 2:54 pm
- Forum: CMSMS Core
- Topic: [Solved] CMSMS 2.0 - Modifiers
- Replies: 3
- Views: 1731
Re: CMSMS 2.0 - Modifiers
Ah ha, you got me. I didn't realise that had changed to .
And of course now it works.
I figured it would be my fault.
Thanks!
Code: Select all
smarty_cms_modifier
Code: Select all
smarty_modifier
And of course now it works.
I figured it would be my fault.
Thanks!
- Wed Sep 16, 2015 2:47 pm
- Forum: CMSMS Core
- Topic: [Solved] CMSMS 2.0 - Modifiers
- Replies: 3
- Views: 1731
Re: CMSMS 2.0 - Modifiers
Few more bits of info:
If I remove the modifier, the template (of course) works OK.
If I put ONLY that section of code (plus {content}) into the page, it comes up with the same error - which makes me think it's not some kind of conflict with another part of the template.
If I remove the modifier, the template (of course) works OK.
If I put ONLY that section of code (plus {content}) into the page, it comes up with the same error - which makes me think it's not some kind of conflict with another part of the template.
- Wed Sep 16, 2015 2:41 pm
- Forum: CMSMS Core
- Topic: [Solved] CMSMS 2.0 - Modifiers
- Replies: 3
- Views: 1731
[Solved] CMSMS 2.0 - Modifiers
I'm finally getting chance to create my first website with 2.0! (woohoo!) I'm in the very early stages and this is a fresh install - so far I'm basically pasting my HTML templates into the system and seeing how my defaults do (or don't) work. I'm not sure that there have been any real changes to the...
- Fri Feb 22, 2013 1:17 am
- Forum: Modules/Add-Ons
- Topic: [solved] Lot of vertical white space after Gallery
- Replies: 2
- Views: 1524
Re: Lot of vertical white space after Gallery
The CSS for galleryclear div is set to clear:both; It's actually putting a lot of space in because it's clearing the news sidebar (which is floated left - notice the gap goes all the way down to the very bottom of the news sidebar, and if you make the news taller, the gap gets taller too). The easie...
- Thu Feb 21, 2013 11:49 pm
- Forum: Modules/Add-Ons
- Topic: Adding ListIt2/ListItExtended items to Sitemap w/ SitemapMS
- Replies: 2
- Views: 1470
Re: Adding ListIt2/ListItExtended items to Sitemap w/ Sitema
I'm not sure which module is causing the error - ListItExtended or SitemapMadeSimple and yeah a broken page isn't much help. Pretty much covered all I know about it - I add that code in, I get a broken page. I take it out, the template submits as normal. But I'll see if I can be really specific abou...