I'm not sure if its because I'm using WAMP on a local server, or if I may have installed Concrete5 wrong. All I know is that when I build my own theme it will not read any of the php and it just displays the php in the source code.
I've always used XAMPP but couldn't get it to work with this so I switched to WAMP so maybe I have a setting turned off?
Which php tags do you use? "<?php" or "<?" ? I think I heard that in recent versions of PHP there will be no support anymore for "<?". At least I think I heard, so please correct me if I'm wrong. ;)
If that doesn't work, then WAMP is not interpreting the PHP. My guess is that it may be a problem with the WAMP setup (i.e. php files not in the right directory, "servers" not running, etc.)
Have you enabled short tags in the php.ini file? A quick Google search or search on the WAMP forums can show you how. Give that a whirl (then restart apache after you make the change).
Does concrete5 work fine with the pre-installed themes on your WAMP setup? If it's just messing up when you install your own theme, then it's probably something going wrong with the way you're building the theme. Without seeing your site / code / theme it's hard to know.
Be sure you're walking through all the steps correctly--I've botched themes before and had to review it. Although this video isn't made using 5.5 or higher, themes built this way should still function properly.
Works fine with all the default themes, watched the video, did what i said to do, even reinstalled c5. I'm am completely baffled, I'm not a complete noob at this stuff either, but this sure has stumped me.
Using <?php echo (); ?> is the same thing as <?= ?>, so it still sounds like there's a short-tags issue going on. But I have run across the issue where the footer_required call is necessary. See this post (towards the end):https://www.concrete5.org/community/forums/documentation_efforts/new...
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.