A few issues
Permalink
Hi i am still loving concrete5 and my website is almost ready to go live but i have encountered a few issues that need addressing as detailed below
1) when i click on the "pages and themes" button in the dashboard the page that is produced appears to not have a the css file attached.. and this error is displayed
"Fatal error: Call to a member function getThemeThumbnail() on a non-object in /home/amides/public_html/grp_covers/concrete/single_pages/dashboard/pages/themes/view.php on line 63"
2)when a user has logged in i want to replace the login box with the customer name. which is to be coded directly into the theme
3)I have included a custom form which is designed to reference and external php file (calculate.php) to calculate the users imputed data, but where do i put the file (calculate.php) so that my form can find it? ive tried all of the obvious places... but i get the error at
http://mywebsite/subdirectory/index.php/test/calculate.php...
"No page could be found at this address."
4)I have created a rss feed for the news items on my site but when i click through on the rss feed is does not redirect to the correct page, it includes the subdirectory twice...
http://mywebsite/subdirectory/subdirectory/news_item_title...
5)The search does not work... i recieve the error:
Warning: require_once(Zend/Search/Lucene/Search/Similarity.php) [function.require-once]: failed to open stream: No such file or directory in /home/amides/public_html/grp_covers/concrete/libraries/3rdparty/Zend/Search/Lucene.php on line 59
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene/Search/Similarity.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/amides/public_html/grp_covers/libraries/3rdparty:/home/amides/public_html/grp_covers/concrete/config/../libraries/3rdparty') in /home/amides/public_html/grp_covers/concrete/libraries/3rdparty/Zend/Search/Lucene.php on line 59
And it is right!! there is no such file or directory... what did i miss?
6).... i think thats about it... this is simply the best CMS that i have come across!
7) FYI i am also creating a few themes from scratch just to throw out there for people to play with. but im not sure how to distribute them..
1) when i click on the "pages and themes" button in the dashboard the page that is produced appears to not have a the css file attached.. and this error is displayed
"Fatal error: Call to a member function getThemeThumbnail() on a non-object in /home/amides/public_html/grp_covers/concrete/single_pages/dashboard/pages/themes/view.php on line 63"
2)when a user has logged in i want to replace the login box with the customer name. which is to be coded directly into the theme
3)I have included a custom form which is designed to reference and external php file (calculate.php) to calculate the users imputed data, but where do i put the file (calculate.php) so that my form can find it? ive tried all of the obvious places... but i get the error at
http://mywebsite/subdirectory/index.php/test/calculate.php...
"No page could be found at this address."
4)I have created a rss feed for the news items on my site but when i click through on the rss feed is does not redirect to the correct page, it includes the subdirectory twice...
http://mywebsite/subdirectory/subdirectory/news_item_title...
5)The search does not work... i recieve the error:
Warning: require_once(Zend/Search/Lucene/Search/Similarity.php) [function.require-once]: failed to open stream: No such file or directory in /home/amides/public_html/grp_covers/concrete/libraries/3rdparty/Zend/Search/Lucene.php on line 59
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene/Search/Similarity.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/amides/public_html/grp_covers/libraries/3rdparty:/home/amides/public_html/grp_covers/concrete/config/../libraries/3rdparty') in /home/amides/public_html/grp_covers/concrete/libraries/3rdparty/Zend/Search/Lucene.php on line 59
And it is right!! there is no such file or directory... what did i miss?
6).... i think thats about it... this is simply the best CMS that i have come across!
7) FYI i am also creating a few themes from scratch just to throw out there for people to play with. but im not sure how to distribute them..
#2 you want to get at the user object:
#3 custom forms go in /blocks/exteral_form/forms
#4 huh? that seems odd.. you're talking about the pagelist block? does the block get the link right but not the rss link? that's odd... you have site.php in /config all set right?
#5 yeah we're using lucene from Zend for search today, it sucks. we're not using it for 5.3 so if you're not launching today i'd wait - otherwise have it added to your host..
#6 aww shucks, tell yer friends - thx!
#3 custom forms go in /blocks/exteral_form/forms
#4 huh? that seems odd.. you're talking about the pagelist block? does the block get the link right but not the rss link? that's odd... you have site.php in /config all set right?
#5 yeah we're using lucene from Zend for search today, it sucks. we're not using it for 5.3 so if you're not launching today i'd wait - otherwise have it added to your host..
#6 aww shucks, tell yer friends - thx!
Many thanks
here is an update
1) putting up the thumbnail.png did not correct the problem... although i can now view the graphic on "pages and themes" button but the page remains unformatted.
2) I now have a cool login and log out button :) it shouldn't be too difficult to get the usernames. big thumbs up! cheers
3) OK the custom forms really are not that hard to figure out... i think i have got it!!
4) Im sure that this RSS error is of my doing... im not sure what ive done but i'll let you know once it is working correctly.
5) i'm really looking forward to seeing the new C5!!!
here is an update
1) putting up the thumbnail.png did not correct the problem... although i can now view the graphic on "pages and themes" button but the page remains unformatted.
2) I now have a cool login and log out button :) it shouldn't be too difficult to get the usernames. big thumbs up! cheers
3) OK the custom forms really are not that hard to figure out... i think i have got it!!
4) Im sure that this RSS error is of my doing... im not sure what ive done but i'll let you know once it is working correctly.
5) i'm really looking forward to seeing the new C5!!!
#1) sounds like you might have a deep architecture issue than just a missing thumbnail on your theme. have you read the theme stuff in developer docs? Basically every page MUST have a page type, and then that page type is used to look for a template file in the chosen theme directory.... so.. if you make a page type of "monkeyboobs", and apply a theme of "jungle" - concrete5 is going to look in the /themes/jungle directory (off root, not off /concrete) for a file named monkeyboobs.php to try to render the page.. if it cant find it, it will use default...
#2) yes, you need the user name from the user object - which is something I sadly do not have in my head. Perhaps the API or someone who has spent more time doing actual code than i have as of late.
#3) yes, pretty basic architecture for those custom forms once you figure out where they live..
#4) bummer?
#5) Awesome. here's a sneak peak of the file manager:
http://vimeo.com/3877373
#2) yes, you need the user name from the user object - which is something I sadly do not have in my head. Perhaps the API or someone who has spent more time doing actual code than i have as of late.
#3) yes, pretty basic architecture for those custom forms once you figure out where they live..
#4) bummer?
#5) Awesome. here's a sneak peak of the file manager:
http://vimeo.com/3877373
It says that I'm logged in but I don't know how to get the logout button to show up. any ideas?
this should give you login and logout
i also fixed the issue with the page not displaying.. i had uploaded a default.php file into the raw themes directory....
i have developed a new issue, the register.php shows up blank except the for the c5 banner across the top of the page.. before you ask yes i did play with it and yes im sure that ive broke it...
Q8) how do i reset the register.php file back to how it was originally?
<?php global $u; if ($u -> isLoggedIn ()) { echo "<b>You are logged in</b> and now have access to the members area"; ?> <br /> <br /> <?php echo ' <form class="login_block_form" method="post" action="/index.php/login/-/logout">'; echo ' <input type="submit" class="ccm-input-submit" id="submit" name="submit" value="Sign out >" /> </div> '; echo ' </form> '; } else { echo "<b>Members login:</b>"; ?> <br /><br /> <?php echo '<form class="login_block_form" method="post" action="/index.php/login/-/do_login">'; echo ' <div class="loginTxt"></div> ';
Viewing 15 lines of 24 lines. View entire code block.
i also fixed the issue with the page not displaying.. i had uploaded a default.php file into the raw themes directory....
i have developed a new issue, the register.php shows up blank except the for the c5 banner across the top of the page.. before you ask yes i did play with it and yes im sure that ive broke it...
Q8) how do i reset the register.php file back to how it was originally?
You need a thumbnail.png that is 120px by 90px. You need to place this file in your theme.
If you figure out the rest let me know I'd be interested in how you did it. Especially number 2 and 5