Search found 24 matches
- Sun Jul 15, 2012 1:39 pm
- Forum: Layout and Design (CSS & HTML)
- Topic: [SOLVED] Display content img if exists, else display default
- Replies: 2
- Views: 1547
Re: Display content img if it exists, else display default i
Solution: {assign var=page_illustration value=$content_obj->GetPropertyValue('image')} {if $page_illustration == '-1'} <img src="/uploads/images/default.jpg" alt="" /> {else} <img src="/uploads/images/{$content_obj->GetPropertyValue('image')}" alt="" /> {/if}
- Fri Jul 13, 2012 9:12 pm
- Forum: Layout and Design (CSS & HTML)
- Topic: [SOLVED] Display content img if exists, else display default
- Replies: 2
- Views: 1547
[SOLVED] Display content img if exists, else display default
In my template, I want to display the Content Image if one is specified. If none is specified, I want to display a default image. I'm inputting the content image here: http://content.screencast.com/users/minneapolisite/folders/Jing/media/24568fe8-57ed-4912-9b6a-830ba4c9d1c6/2012-07-13_1610.png This ...
- Thu Jun 23, 2011 5:08 pm
- Forum: CMSMS Core
- Topic: Security question regarding plugins/function.embed.php file
- Replies: 2
- Views: 948
Re: Security question regarding plugins/function.embed.php f
Thanks for the fast response. I guess I'm still wondering what it's doing there?
All of my CMS MS sites have recently been repeatedly hit with a Mass Meshing Injection and I'm just making sure I cover all my bases trying to protect against future attack.
All of my CMS MS sites have recently been repeatedly hit with a Mass Meshing Injection and I'm just making sure I cover all my bases trying to protect against future attack.
- Thu Jun 23, 2011 4:15 pm
- Forum: CMSMS Core
- Topic: Security question regarding plugins/function.embed.php file
- Replies: 2
- Views: 948
Security question regarding plugins/function.embed.php file
I downloaded the latest version of cmsmadesimple-1.9.4.2-full and am confused why plugins/function.embed.php it includes an iframe that points to http://www2.romanianoffice.ro/forum/index.php . Does anyone know what the deal is? Here is the full code of the file: <?php #CMS - CMS Made Simple #(c)200...
- Fri Apr 22, 2011 1:24 pm
- Forum: CMSMS Core
- Topic: Javasript Injection on various PHP pages
- Replies: 2
- Views: 1085
Re: Javasript Injection on various PHP pages
Thanks for the fast reply. My computer possibly had keyloggers on it at one point, but it is clean now (I have recently run the latest version of Spybot S&D and Malwarebytes Anti-Malware, and run Symantec Anti-Virus at all times. I just re-ran Spybot this morning to double-check and it came up c...
- Fri Apr 22, 2011 1:11 pm
- Forum: CMSMS Core
- Topic: Javasript Injection on various PHP pages
- Replies: 2
- Views: 1085
Javasript Injection on various PHP pages
Over the past two weeks I have had several of my CMS MS sites hacked. Whatever it is, it's inserting a <__script__> tag at the head of my PHP files (for sure index.php, admin/login.php, and admin/index.php, possibly more that I haven't found yet). The scripts always look like this, but with a differ...
- Tue Mar 01, 2011 10:29 pm
- Forum: CMSMS Core
- Topic: [SOLVED] Fresh install, index.php not created, getting 404
- Replies: 4
- Views: 1792
Re: [SOLVED] Fresh install, index.php not created, getting 4
The difference between the base and full is only that the full includes all admin language files where base includes only english admin file, sounds like your default index.php didn't make it the first time... ::) Hmmm, I think you're right. index.php never made it into the .tar file that I downloa...
- Tue Mar 01, 2011 10:22 pm
- Forum: CMSMS Core
- Topic: [SOLVED] Fresh install, index.php not created, getting 404
- Replies: 4
- Views: 1792
Re: Fresh install, index.php not created, getting 404 errors
Thanks for the super fast reply! I feel really dumb--I downloaded the cmsmadesimple-1.9.3- base .tar.gz install file, NOT the cmsmadesimple-1.9.3- full .tar.gz file. Now that I uploaded the files that were missing from the base file, everything is working swimmingly. Where is the smiley face that co...
- Tue Mar 01, 2011 10:11 pm
- Forum: CMSMS Core
- Topic: [SOLVED] Fresh install, index.php not created, getting 404
- Replies: 4
- Views: 1792
[SOLVED] Fresh install, index.php not created, getting 404
I did a fresh install of the newest release of CMSMS. The install seemed to go perfectly and the admin panel works great. It seems that CMSMS did not come with an index.php file and the install process did not generate one. Does anyone know what could be going on?
- Tue Mar 01, 2011 4:07 pm
- Forum: CMSMS Core
- Topic: [SOLVED] How to use page images (as defined on Page:Options)
- Replies: 10
- Views: 2803
Re: How to use page images (as defined on Page:Options)
uniqu3, you are my hero! That works great.
Thank you!
- Tue Mar 01, 2011 3:05 pm
- Forum: CMSMS Core
- Topic: [SOLVED] How to use page images (as defined on Page:Options)
- Replies: 10
- Views: 2803
Re: How to use page images (as defined on Page:Options)
Hm, that suggestion didn't work. 
- Fri Feb 25, 2011 4:45 pm
- Forum: CMSMS Core
- Topic: [SOLVED] How to use page images (as defined on Page:Options)
- Replies: 10
- Views: 2803
Re: How to use page images (as defined on Page:Options)
Follow-up question: I currently am using this code: {capture assign="page_illustration"} <img src="/uploads/images/{$content_obj->GetPropertyValue('image')}" alt="" class="illustration" /> {/capture} {if !empty($page_illustration)} {$page_illustration} {/if} B...
- Thu Jan 27, 2011 6:03 pm
- Forum: CMSMS Core
- Topic: [SOLVED] How to use page images (as defined on Page:Options)
- Replies: 10
- Views: 2803
Re: How to use page images (as defined on Page: Options tab)
Success! You are a peach! 
- Thu Jan 27, 2011 12:54 pm
- Forum: CMSMS Core
- Topic: [SOLVED] How to use page images (as defined on Page:Options)
- Replies: 10
- Views: 2803
Re: How to use page images (as defined on Page: Options tab)
Yes, {$content_obj->GetPropertyValue('image')} was exactly what I needed! One follow-up question: how would I wrap an "if" statement around it so the code only shows up if there is an image defined? {if _____________} <img src="/uploads/images/{$content_obj->GetPropertyValue('image')}...
- Thu Jan 27, 2011 5:46 am
- Forum: CMSMS Core
- Topic: [SOLVED] How to use page images (as defined on Page:Options)
- Replies: 10
- Views: 2803
[SOLVED] How to use page images (as defined on Page:Options)
I want to make these images: http://content.screencast.com/users/minneapolisite/folders/Jing/media/23caac48-b1b6-4b39-bc58-582453e37551/2011-01-26_2343.png Show up in the templates: http://content.screencast.com/users/minneapolisite/folders/Jing/media/b00a5640-3ad6-45d4-b037-da9482a5215a/2011-01-26_...
