Fri, 24 Jul 2009 13:43:23 BST by pijulius, 41025 views
Before asking any questions please have a look on our Howto page as there your question my already be answered, otherwise just ask your question in the comments below and you should receive your answer shortly.
Hi Srx, You can create any kind of template using the "Blocks" section in the admin, there you can define which block should what hold and put them even within each other so this way you should be able to set up any kind of template you would like, the css will be used to add the look to it but the setup of the template can be done with these blocks.
I'm also planing to get some downloadable/installable templates together so you guys can play around with those and see how things work but this is only a plan for the future till then just play around in the Blocks and see what you can do.
Jcore-server installed in mediatemple and operated properly under a specific domain, but jcore-client shows me a blank page; installed on the same machine but in a different domain. Any idea that I'm missing something?
I'm not sure I understand you right but it seems you have jcore server running but jcore client isn't, if that's the case please make sure the paths in the jcore.inc.php are correctly set and point to the jcore server that you have running.
Hope this helps, if it still isn't working please let me know all the steps you have taken to set up things and the directories so I can have a better idea of your setup.
Sorry to get back to you just now but unfortunately I was pretty seek lately, still now fully recovered but anyway, I got myself together to release the new version as promised, anyway, could you please try to download the new installer (just the installer you don't need to download anything else) put it in your /var/www/html/demo/ directory and load http://localhost/demo/install.php in your browser and defined the mysql db/user/pass and hit install and it should work.
If you still notice problems please let me know and I will get back to you asap.
Just one question:
How can I upload pictures from inside the ckeditor when preparing a post? On Your website you say, that this option exists .. Can I activate the direct upload from anywhere?
Unfortunately in the new 0.3 version there is no option to upload pictures directly from ckEditor but it was implemented in 0.2 and 0.1. I have updated the info on the site to let this know but no worries, this feature is planed to be implemented in the next release just I would like to use my own implementation as ckFinder is not what I was hoping for as I don't want to duplicate any code in the jCore Client and that's why I will implement my own using the jCore server's library.
My question is the same with srx, is there any tutorials showing how to create a template for jcore? how to use the module and the block into the template?
1: Go into the admin and in the "Layout Blocks" start defining your blocks or we may say your site structure. You would define blocks for lets say header, menu, footer, main content, side content and so on
2: Go to the Template Editor, there to the CSS editor and just start defining blocks look and place. From css you can make the header to have a different image, change link colors and arrange the blocks as you wish
That's it, with these two things you can make any kind of template you want. If you need to upload images you can do that in the Template Editor -> Upload Images and you can link to them from css using "images/yourimage.png".
For the future I plan to start creating some templates and add a template manager in the admin and then each Block would belong to a template and you will be able to swith easily between templates but first things first.
thanks for your reply. But what I mean is using module in blocks. There seems have no guide or instructions showing how to put the modules into block. I am the web designer as well as web developer. I could write some programmings. Do you understand what I mean?
Anyway, Much thanks.
You can use the same way as you use the in your content, using content codes, for e.g. to display contact module you would enter:
{modules}contact{/modules}
or to display on the search form:
{modules}search/form{/modules}
I know the howto is still missing but I really work a lot to get this system where I want it to be so I don't really have time now to write howtos but I do try to give you guys a good support.
BTW: you can find all available content codes by looking at the displayArguments() function in every class as there are the things a module can separately display (like just the login form and so on) but all modules can be accessed using {modules}modulename{/modules}
Are there any translations yet?? looks like this is a nice server option for me but i need it in dutch. Or point me out where or which files to translate.
At the moment there are no completed translations as it's not planed till 1.0 isn't out but you can start translating what you need yourself, just have a look at http://jcore.net/features/multilanguage-support/multilanguage-support in the comments you should find answers to most of your question and you can use poEdit (poedit.net) to extract all the text to be translated from the php codes.
Auch arbeiten wir an einer neuen Website nur für die deutsche Gemeinschaft, Sebastian (aka Hudlers) leistet eine grose Arbeit mit dieser Seite, es ist immer noch in der Entwicklung, aber Sie können sich bereits an ihn wenden, und er sollte in der Lage, Sie zu Hilfen mit der Deutsch Übersetzungen.
i've a little problem using jcore i always worked with joomla 1.5 cms and i was attracted with this new cms my issue is the following :
iam trying to setup jcore using a Xampp localhost server but the question is i don't really know how to fix the différents Path in the configuration .php files when executing on the navigator i have som Error due to the require_once functions it's seems to be that the path was wrong, and please i want to do it manually no need to the Automatic Script thanks you
Sorry to answer you just now, had some party on new year :) but lets get back to business.
If you just want to set up a site just like with joomla or drupal and not multisites just install jCore Server. When you run the installer select jCore server and for the two paths enter for e.g. the followings:
install path should be also the same
INSTALL_PATH: /Xampp/htdocs/
and that should be all, now if you load http://localhost/ in your browser it should work fine. If you install it in a different location np, just be sure to enter the absolute path for the SITE_PATH and not a relative path.
Hope this helps, please don't hesitate to write if there is anything.
Regards,
On what system do you try to install it? php version? mysql version? the mysql_get_client_info() function is only available starting from PHP >= 4.0.5 but jCore requires PHP >= 5.1 anyway, but what I could imagine and the installer isn't checking for (but will be on next release) is that you don't have php_mysql installed.
On Fedora kind of system just run:
yum install php-mysql mysql-server
and should fix the problem, also run:
yum install php-gd
Hi Lstables, The error seems to be because there are no tables in the defined database. Could you please double check if you have any tables in the database that you have defined in config.inc.php? If not please try to reinstall the system or just create manually the db and run the jcore-server-0.4.sql file within phpmyadmin and that's it.
Yes there is tables in the db, and I have re installed and it's all working now, but thanks for the quick reply. Great app by the way I would like to help develop this further.
Hi Tmy0078, this is exactly why jCore was developed :) you can just simply upload jCore Server to a public place in any domain you want (you don't even need to create a database for it or change the config.inc.php just upload the content) and then install jCore Client for all the client domains you want and just set the right jcore server path and url (if you want you can keep http://jcore.net/ url for start to test).
Our company is working with web content management solutions to rebuild a custom CMS it would be nice to start with joomla or something existing but thats not what corp wanted.
Could you please give me some more information cos it's hard to help you like this, what is the error you get when you try to edit a post for example? how have you set up your client sites? are you using PHP >= 5.1 as in 5.0 there is a bug for method_exists function that go fixed in 5.1.
No error, I log in to client admin and instead of icons like server admin its just a list of link buttons instead. not a major issue though so I click through to users. In users though unlike the server, there is no button or icon or anything for changing it. It still shows the one user admin and the default jcore email address but the buttons for edit and change password are not showing up at all. I have install multiple times. what to do?
also please explain:
To edit client sites I have to do it from their domains, I can not edit/manage all sites by logging on to the servers admin only?
My set up is one server with one database and many clients files will be hosted on the same hosting server but in directories that also display as "addon sites".
So basically the files for clients are hosted in domain X as subdirectories but display on domain Y
Ok, I have the problem. First of all for your be heros.org domain you have specified the JCORE_URL to be http://eutopian lifestyle.com which isn't cos as I can see that is also a jCore client site so the admin css is an empty file there to so your be heros.org isn't able to load the css definitions.
To fix this just simply point your JCORE_URL to the place where you have copied jCore server files and it should work just fine.
Regarding changing the password just go to the admin and click "Users" icon under the "Member Management" section and after you fixed the css you will see a green icon on the right side of the user "Edit" and click on it to change the password.
Ok great, I think all is going well so far. Thank you fo ryour help. I am impressed with the ease of installing multiple sites. I only wish I would managethem all from the servers admin.
I have another problem, I can not figure out how to get rid of the title's display of text in the header. I know that if I simply don't put a title in the global settings area that it goes away, but I want to have a title in the page files for the search engines, what I don't want is to see the text over my header image. However, I do not want to remove the title link completely because I am using it to link my header image to my home page. What do you think I should do?
Aaa, I see, to drop the text from the header just go to the Admin -> Layout Blocks, edit the Header block and in the "Content Options" section just drop the % PAGE_TITLE % part within the "a" html tag and that should be all.
Help I can't log in to BeHeroes.org. each time it try to get anew password it seems to work (no red error message saying 5 times only) except it only takes me to the external login page immediately after working. Try it for your self. The user is Euheroe and the current pass is Pd792099lsR
If you missed the login for more than 5 times you will be banned for 60 minutes so you wont be able to login unless you wait at least an hour. In the meanwhile you will be able to request for a new password but still the login won't work as you are banned for 60 minutes. The system will let you try within this time of interval but will always give you the same answer as in the background it isn't checking if you really entered a correct username/password as then the brute force would still work so it just lets you play around and if you reach 30 tries it will simply ban you for two weeks and you won't be even able to view the site within this two weeks interval as it is giving you a white empty page instead to panish you :)
So once again, request your password check if you reached the 5 login attempts by trying to login and if yes just sit back and wait for an hour and then the login will work. If you want to overcome this limitation you can just simply empty the bfprotectionbans table in the database and that's it.
I'm right now implementing a feature to manage banned users/ip from the admin and also add option to disable these features so if you don't want them you won't be forced to use them and they will be in the 0.5 for sure.
Ok great, so the title thing is taken care of, but I still cant seem to log in to beheroes. I let it sit over night. this morning I applied for a password reset and then used the new password. Once again the same issue, it does not tell me any errors, but it also takes me right back to the lig in screen again and again.
I have tried the hidden method but when I do that the link to the URL for the hidden page does not show the page it gives an error. Here's the link I'm trying to use based on the path listed under the title of the post in Admin http://beheroes.org/thank-you-for-donating-we-really-appreciate-it but if you go see it the content of the thank you post does not display. What to do?
Is there a way to change the link on pictures uploaded to posts where the "read more" button is? That is, instead of it going to a light-box blowup, I want it to go to another URL specific to that post but off site. Any ideas?
Wonderful, Thank you so much. Sorry to be such a bother but one more thing has just come up. whats the deal with partial content? How do I determine what shows up above the fold and what you need to "read more" to see?
Now this is really a good question as I haven't noted this down as I remember, so the Partial Content will show everything that is above the "hr" tag and once clicked the more link will show the rest which is below the hr tag.
You can add hr tags by clicking on the "Insert Horizontal Line" icon in the editor, or if you don't insert a horizontal line the first paragraph will be shown and the rest after you click more.
You can put any content (code) to any block you want in the Admin -> Layout Blocks, just for e.g. edit the Footer block and in the Content Options add your google tracking code, or you could just create a new block at the bottom of the blocks and add the code to it and that's it.
Then just go ahead and edit the template.php in the template/ directory.
BTW: why do you want to add it to the head? scripts like these should always go to the footer of a site and there is no difference if you put it in the body (visible area) as these things won't be shown anyway.
Yes, you're right, it is not possible at the moment to display only one item from a category with content codes but I will add this feature to the new release and the you will be able to do this:
Also, can you tell me how to make the menu horizontal rather than vertical? I have been able to make the menu area wider to fit the page in the CSS but the links are still stacked instead of as a row.
Just add display: inline; or inline-block to the end of your css, for e.g. something like this:
.menu {
display: inline;
}
.menu a {
display: inline;
}
If you create your own template than you wouldn't need the second one as "a"-s are displayed inline by default I just changed it to block in the default template and that's why I wrote the above one.
I think I may have accidentally installed a client into the server directory. Did this wipe out my server? What happens to all my clients if the server does get wiped out?
It depends, have you used the server for displaying a site? or you used only clients to do that? if you used only clients just overwrite the server directory with the original jCore server files and that's it, nothing will be lost, but if you used the server for a site your content will be lost (except files that you uploaded).
The headlines are different for partial posts and fully displayed posts, I like this, but is there a way to maintain the full post headline for a post while making it partial content? I want to do this width just one post not all of them.
I'm not sure I understand it, you mean you would want to have a different headline for a partial content and then don't display that for a selected post? if so you could simply hide the first p tag from css for the selected post for e.g.
.post.selected .post-content > p { display: none; }
Just use css to access them, all entries have different names so you should be able to easily access them by class names and just do for e.g. text-align: center; and for floated elements like buttons you could use display: inline-block;
hi, i was installed it at localhost, but when i want to access the admin area it shown the warning like this:
Warning: include_once(lib/sources/settings.class.php) [function.include-once]: failed to open stream: No such file or directory in C:xampphtdocsteslibsettings.class.php on line 11
Warning: include_once() [function.include]: Failed opening 'lib/sources/settings.class.php' for inclusion (include_path='.;C:xamppphppear;') in C:xampphtdocsteslibsettings.class.php on line 11
Fatal error: Class '_settings' not found in C:xampphtdocsteslibsettings.class.php on line 13
Hi invidel, It seems the JCORE_PATH is not defined right in the jcore.inc.php or if it's a jCore server installation the SITE_PATH is wrong in the config.inc.php. Please double check them and if you still get the problem please let me know and a way I can access your site so we can get to the bottom of this problem.
Could you please let me know the error message you get and the place where you try to upload the image so I can test it out myself. Also please make sure sitefiles/* is writable by apache if you aren't using suphp.
Hmmm, strange, at least there should be an error, do you have windows? if so you don't need to change permissions. Also could you please check if you have GD activated for apache in XAMPP?
BTW: where do you try to upload the picture?: please give me a link like:
http://localhost/admin/?path=admin/content/posts/1/postpictures or something like that so I can also check myself and try to duplicate the problem.
Ok, found the problem, it's because it is a windows platform and paths are set with \ instead of / but I will fix this now and upload the new version and let you know. Thanks for your feedback and sorry for the inconvenience!
Ok, it is fixed now, a re-release has been made and you can download the new fixes/modifications by re-downloading the release. Also a few other fixes have been implemented. Thanks again for your feedback and please let me know if there is anything.
Hi Giulio78, Unfortunately is not that easy for now to install/port over templates as the "Layout Blocks" in the admin have to be set/created so the css/js files point to the right blocks but we do have the plan to integrate a template manager before 1.0 and the with the 1.0 release there will be also downloadable templates available on the site.
but please note that once you run the template.sql file it will overwrite your default blocks for your site so please make a backup before you do anything, also note that you will have to edit the Layout Blocks to change things like the content of the three boxes in the top and so on and create a News menu for the news on the right and index page.
For the dropdown menu just activate dropdownmenu jquery plugin in the Global Settings.
Thank you for the theme and the instructions! ^^
I tried and it works good.
I only have one issue: Lightbox doesn't work :-(
When I click on a thumbnail, the popup appears but the image is not loaded.
http://yfrog.com/jalightboxp
This problem is not related to the JCore theme, it happens even if I use the default theme.
I send you the link of my website to support at jcore dot net so you can check.
My hosting uses "safe mode" but I don't think this is the problem.
Thank you for support.
Giulio78
P.S. Do you have a PSD file of the JCore theme? I would like to modify
the icons of download/develop/support boxes.
Ok, I have fixed the problem, it was because of SAFE_MODE turned on but now it should work. Please redownload jCore server and overwrite the files in the lib/sources/ folder. (BTW: only three of them has been modified files.class.php, pictures.class.php and lastrss.class.php).
Regarding the PSD I will send it to you in email this afternoon once I get home.
hi..i used the template that u gave at http://jcore.net/template/jCore-template.tar.gz
but i tried to changes content on block "copyright" n it doesn't work..it's changed on admin area, but in preview it's not working..
is it allow to make a change on block "copyright"? thanks ^^
If it changed in the admin it means it worked, please verify that Caching is not turned on for the copyright block and try to clean your browser's cache and reload the page if still not working.
You don't need to create a request password form, it's available globally on any link by adding requestpassword=1 as the url argument, for e.g. http://demo.jcore.net/?requestpassword=1
Is there a way to embed a post (displayed as partial content) within another post, so the viewer would see the headline and/or beginning of Post1, then Post2 in partial content form, then the rest of the Post1 content?
I'm not sure why you would want something like this but yes, it is possible :) you would use content code and would have to hide the post2's title/details/links but that's all (you can set display: none in css for that).
For e.g. this is what you would have to do:
In the post1's description after the first paragraph you would add
{posts}menu/path/post2-path{/posts}
and then when shown post1 it would show the header (first paragraph) but after you click more it would show first paragraph + post2 + rest of the post1
----Ignore this question, I've solved it. Server needed a reinstall. -----------
I'm having trouble getting my client to install. It seems to go fine but when you go to the home page "Fatal error: Class 'css' not found in /home3/imuaaloh/public_html/agritecture/template/template.php on line 15"
When I looked up line 15 I got:
"php css::display();"
Sorry for the later answer, had to take some time of :) anyway, I think it has to do with the Security Image Settings in the Global Settings, could you please check the Font Size, Code Length and Font fields? the font field should read "fonts/arial.ttf" and there should be a lib/fonts/arial.ttf in the jCore server. If you'll still have problems just email me with temp login details and I can go in and do some checkings for you.
Regarding the Website field in the comments you would have to extend the comments class and also take care of all tables that use comments as they would have to have a field to store the new data, so please just have a look in the lib/sources/comments.class.php and just extend the required functions for e.g.:
function add($values) {
if ($newid = parent::add($values)) {
sql::run("UPDATE `{". $this->sqlTable . "}` SET `Website` = '".addslashes($values['Website'])."' WHERE `ID` = '".$newid."'")
}
}
and so on, so with a few lines this should work but each mysql table where you store comments would have to be updated or you could do an if to check if its only for posts or whatever you want and update/show the website field only then.
Hope this helps,
ps: Great site, I like what you did with the design, Congratulation!
I tried your site but wasn't able to load the install.php, could you please let me know the error messages you get when you try to run it, or mail me the informations needed to check out myself and fix it for you.
Hi Jagis, Unfortunately that is not possible as I do not want to allow php code execution from any part of the site, but you can easily implement your own module with your own arguments so you could use {modules}yourmodule/your-arguments{/modules} to display whatever you want.
Hi Pijulius, how would you recommend to properly uninstall a client from the database? I'm going to be giving up one of the domains and when the files get deleted from I'd like to cleans the database too. Not knowing about these things I don't want to accidentally delete anything important for the other sites. I Love the support here. This is great!
Hi EarthDruid, Each jCore client uses it's own db (unless you defined the same db for all your clients and used table prefix) so a simple dropping of the database should do the trick as there is no connection between server and client within the database structure (at least not yet) so it should be safe to drop it. Just look up you jcore.inc.php in your client's directory and drop the database defined in SQL_DATABASE or if you used a table prefix drop all tables from SQL_DATABASE which start with the defined string in SQL_PREFIX.
Hope this helps, as usually always do a backup before dropping anything :) and thanks for the kind words!
Hi Invidel, Unfortunately at the moment this is not possible but I have noted your request and will ad this option to the 0.6 release (which should be out in a few weeks) and then you will be able to do this using the content code:
{posts}7{/posts}
to show the latest 7 posts from all menus/categories.
Also till then you could use keywords instead of menu items for your categories and display the keywords cloud using
{posts}keywords{/posts}
or even limit them to x keywords by:
{posts}keywords/21{/posts}
and then each keyword would list only those posts which have it defined in Title, Description, Keywords.
How do I install updated version with out losing anything? If I try to reinstall wont it make me click the check-boxes to override prior database inputs?
Yes, that's right, the install.php will ask you to rewrite the database and files, so don't do that!
First question is what do you want to upgrade? if you are using jCore clients for the websites and jCore server just as a static library (meaning no web site is running directly on it) you just have to copy over all the jCore server files and that's it. All the clients will be upgraded (except the modifications that are version limited).
Now if you would like to upgrade one of the websites that are running on jCore client you would have to go to "Upgrade from 0.x to 0.x" directory and download the following files:
- jCore client upgrade from 0.4 to 0.5 SQL
run this file to upgrade the DB
- jCore modules upgrade from 0.4 to 0.5 SQL
run this file if you have modules installed for the site (it may be errors for modules that you haven't installed so you may need to run the queries separately but you will see comments separating the upgrade queries for every module)
- jCore client upgrade from 0.4 to 0.5 Modified Files
you will have to extract the files and overwrite yours with these, but skip the template.css and template.js files as I'm sure you have your own so you don't want to reset them
- Upgrade sitefiles from 0.4 to 0.5 (PHP)
and lastly run this file to upgrade the uploaded files storage path (this is only needed for this version cos we changed the way we store files but this won't be a case in the future)
Unfortunately as you can see right now it's not that easy to upgrade but I will provide you guys with in integrated upgrade script to the admin so you will be able to upgrade the sites to the newest version from admin. This is planed for 0.7 as 0.6 is already closed (only fixes will be added and small changes as the test phase is going on) but from 0.7 it should be a lot easier.
Help, I trid to run jCore-client-upgrade-from-0.4-to-0.5.sql and got an error: "#1146 - Table 'censored_databaseinfohere.modules' doesn't exist"
I then tried with the modules SQL and it also failed.
I extracted the files for the client and added them to the site minus the template files.
I then tried ot runt he php but got a large list of failures:
Warning: include_once(/var/www/jcore/config.inc.php) [function.include-once]: failed to open stream: No such file or directory in [censored]/upgrade-sitefiles.php on line 15
Warning: include_once() [function.include]: Failed opening '/var/www/jcore/config.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [censored]/upgrade-sitefiles.php on line 15
Warning: include_once(lib/includes.fxn.php) [function.include-once]: failed to open stream: No such file or directory in [censored]/upgrade-sitefiles.php on line 20
Warning: include_once() [function.include]: Failed opening 'lib/includes.fxn.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [censored]/upgrade-sitefiles.php on line 20
Warning: include_once(lib/pictures.class.php) [function.include-once]: failed to open stream: No such file or directory in [censored]/upgrade-sitefiles.php on line 21
Warning: include_once() [function.include]: Failed opening 'lib/pictures.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [censored]/upgrade-sitefiles.php on line 21
Upgrading Post pictures
Fatal error: Class 'url' not found in [censored]/upgrade-sitefiles.php on line 101.
Worse yet now when I try to see my site I get:
Warning: include_once(/var/www/jcore/index.php) [function.include-once]: failed to open stream: No such file or directory in /home3/imuaaloh/public_html/imua-aloha.com/index.php on line 3
Warning: include_once() [function.include]: Failed opening '/var/www/jcore/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/imuaaloh/public_html/imua-aloha.com/index.php on line 3
Sorry to get back to you just now, were you able to fix this? if not please make sure to place the upgrade-sitefiles.php in your jCore client's home directory for e.g. /home3/imuaaloh/public_html/imua-aloha.com and then call it like http://imua-alona.com/upgrade-sitefiles.php
NOTE: Please make sure sitefiles/ directory is writable by apache and all subfolders/files of it too.
I also see you have an error at http://imua-aloha.com did you overwrite the jcore.inc.php (or config.inc.php)? if so please upgrade those to point to your server as you did before.
Hi there, just make sure you have absolute paths defined in your jcore.inc.php or config.inc.php instead of relative paths.
To get the paths just add this line:
echo $_SERVER['SCRIPT_FILENAME'];
to your index.php right before include_once and then load the page and you should see a text at the top which should read the absolute path of your script. Now paste the relevant part from it to your config.inc.php and it should work.
Hope this helps, if not just drop me a letter with some info so I can check out the config file and help you out.
Hi,
in the shopping cart i activated the display picker but none is showing.
And the add to my cart is not active or does it require the enabling of the member module,registration and then purchase?
Great work though.
Hi, nope, the problem could be that you have "0" defined for the Available Quantity in stock so if there are no items in stock the add to cart button won't be shown. If you want to have unlimited items without a stock just leave the Available Quantity field empty and the add to cart with the quantity picker should show up.
After you have created the new menu block and selected a "Block" to display in, just go to the Content Management and when you create a new menu item just select the new menu block in "Menu Block" option and that's it.
Please note for submenus you don't have to create new menu blocks, just when you create the new menu select an owner for it in the "Sub Menu of" section.
hi pijulius, jcore is a fine thing! please tell me, how can i create a user login e.g in the menue section or in the content area? and how could i delete the breadcrumb navigation?
Thanks, happy you like it, to add a login/account block to your site you would have to go into the Admin -> Layout Blocks and create two new blocks as sublock of "Sidebar". One block should be set to display only for "Members" which means only logged in users will see it, and the other one only for "Guests". In the block for "Guests" you define for the content a small html form with login information and for the Members you define a logout link and maybe an account link to the members module.
The easiest way I would recommend to do is go to http://demo.jcore.net/admin and take a look on the Layout Blocks and copy and paste the content of "Login" and "Account" blocks and that's it. That does exactly what you would like to achieve.
ps: you may need to add some parsing from css to have the look match your design.
Regarding the navigation, I'm not sure on which one to you refer but if you just would like to take away the top menu just deactivate the "Header Menu" block in the Layout Blocks and that's it.
Comments (115)
Is there some tutorial for creating custom Templates myself? Not only CSS styling existing one.
Thanks in advance!
I'm also planing to get some downloadable/installable templates together so you guys can play around with those and see how things work but this is only a plan for the future till then just play around in the Blocks and see what you can do.
Cheers,
I'm not sure I understand you right but it seems you have jcore server running but jcore client isn't, if that's the case please make sure the paths in the jcore.inc.php are correctly set and point to the jcore server that you have running.
Hope this helps, if it still isn't working please let me know all the steps you have taken to set up things and the directories so I can have a better idea of your setup.
Cheers,
my settings in config.inc.php
define('SITE_URL_PATH', 'http://localhost/demo/jCore-server-0.2/');
define('SITE_ABSOLUTE_PATH', '/var/www/html/demo/jCore-server-0.2/');
Thanks
Sorry to get back to you just now but unfortunately I was pretty seek lately, still now fully recovered but anyway, I got myself together to release the new version as promised, anyway, could you please try to download the new installer (just the installer you don't need to download anything else) put it in your /var/www/html/demo/ directory and load http://localhost/demo/install.php in your browser and defined the mysql db/user/pass and hit install and it should work.
If you still notice problems please let me know and I will get back to you asap.
Cheers,
Just one question:
How can I upload pictures from inside the ckeditor when preparing a post? On Your website you say, that this option exists .. Can I activate the direct upload from anywhere?
Thanks a lot,
sangallo
Unfortunately in the new 0.3 version there is no option to upload pictures directly from ckEditor but it was implemented in 0.2 and 0.1. I have updated the info on the site to let this know but no worries, this feature is planed to be implemented in the next release just I would like to use my own implementation as ckFinder is not what I was hoping for as I don't want to duplicate any code in the jCore Client and that's why I will implement my own using the jCore server's library.
Cheers,
To create a template you need the followings:
1: Go into the admin and in the "Layout Blocks" start defining your blocks or we may say your site structure. You would define blocks for lets say header, menu, footer, main content, side content and so on
2: Go to the Template Editor, there to the CSS editor and just start defining blocks look and place. From css you can make the header to have a different image, change link colors and arrange the blocks as you wish
That's it, with these two things you can make any kind of template you want. If you need to upload images you can do that in the Template Editor -> Upload Images and you can link to them from css using "images/yourimage.png".
For the future I plan to start creating some templates and add a template manager in the admin and then each Block would belong to a template and you will be able to swith easily between templates but first things first.
Cheers,
Anyway, Much thanks.
{modules}contact{/modules}
or to display on the search form:
{modules}search/form{/modules}
I know the howto is still missing but I really work a lot to get this system where I want it to be so I don't really have time now to write howtos but I do try to give you guys a good support.
BTW: you can find all available content codes by looking at the displayArguments() function in every class as there are the things a module can separately display (like just the login form and so on) but all modules can be accessed using {modules}modulename{/modules}
Thnx in advandge
At the moment there are no completed translations as it's not planed till 1.0 isn't out but you can start translating what you need yourself, just have a look at http://jcore.net/features/multilanguage-support/multilanguage-support in the comments you should find answers to most of your question and you can use poEdit (poedit.net) to extract all the text to be translated from the php codes.
Hope this helps,
ich suche ein deutsches Sprachpakt. Da mein English nicht mehr so dolle ist. Brauche es für den admin bereich. Kann mir einer weiter helfen?
Auch arbeiten wir an einer neuen Website nur für die deutsche Gemeinschaft, Sebastian (aka Hudlers) leistet eine grose Arbeit mit dieser Seite, es ist immer noch in der Entwicklung, aber Sie können sich bereits an ihn wenden, und er sollte in der Lage, Sie zu Hilfen mit der Deutsch Übersetzungen.
Grüße,
http://jcore.eu
iam trying to setup jcore using a Xampp localhost server but the question is i don't really know how to fix the différents Path in the configuration .php files when executing on the navigator i have som Error due to the require_once functions it's seems to be that the path was wrong, and please i want to do it manually no need to the Automatic Script thanks you
Sorry to answer you just now, had some party on new year :) but lets get back to business.
If you just want to set up a site just like with joomla or drupal and not multisites just install jCore Server. When you run the installer select jCore server and for the two paths enter for e.g. the followings:
SITE_URL: http://localhost/
SITE_PATH: /Xampp/htdocs/
install path should be also the same
INSTALL_PATH: /Xampp/htdocs/
and that should be all, now if you load http://localhost/ in your browser it should work fine. If you install it in a different location np, just be sure to enter the absolute path for the SITE_PATH and not a relative path.
Hope this helps, please don't hesitate to write if there is anything.
Regards,
"Fatal error: Call to undefined function mysql_get_client_info() in C:Inetpubwwwrootjcoreinstall.php on line 3408"
any idea how to resolve this
thanks
On what system do you try to install it? php version? mysql version? the mysql_get_client_info() function is only available starting from PHP >= 4.0.5 but jCore requires PHP >= 5.1 anyway, but what I could imagine and the installer isn't checking for (but will be on next release) is that you don't have php_mysql installed.
On Fedora kind of system just run:
yum install php-mysql mysql-server
and should fix the problem, also run:
yum install php-gd
for the graphical library.
Hope this helps, Cheers,
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:xampphtdocscmslibsql.class.php on line 111
Am working locally to test the software, can any one help ? I only used the install.php file to setup.
Cheers
Hope this helps, cheers,
Cheers,
Could you please give me some more information cos it's hard to help you like this, what is the error you get when you try to edit a post for example? how have you set up your client sites? are you using PHP >= 5.1 as in 5.0 there is a bug for method_exists function that go fixed in 5.1.
Let me know how it goes,
also please explain:
To edit client sites I have to do it from their domains, I can not edit/manage all sites by logging on to the servers admin only?
So basically the files for clients are hosted in domain X as subdirectories but display on domain Y
To fix this just simply point your JCORE_URL to the place where you have copied jCore server files and it should work just fine.
Regarding changing the password just go to the admin and click "Users" icon under the "Member Management" section and after you fixed the css you will see a green icon on the right side of the user "Edit" and click on it to change the password.
Let me know how it goes.
I have another problem, I can not figure out how to get rid of the title's display of text in the header. I know that if I simply don't put a title in the global settings area that it goes away, but I want to have a title in the page files for the search engines, what I don't want is to see the text over my header image. However, I do not want to remove the title link completely because I am using it to link my header image to my home page. What do you think I should do?
Thank you again for your help.
So once again, request your password check if you reached the 5 login attempts by trying to login and if yes just sit back and wait for an hour and then the login will work. If you want to overcome this limitation you can just simply empty the bfprotectionbans table in the database and that's it.
I'm right now implementing a feature to manage banned users/ip from the admin and also add option to disable these features so if you don't want them you won't be forced to use them and they will be in the 0.5 for sure.
Hope this helps,
You can add hr tags by clicking on the "Insert Horizontal Line" icon in the editor, or if you don't insert a horizontal line the first paragraph will be shown and the rest after you click more.
BTW: why do you want to add it to the head? scripts like these should always go to the footer of a site and there is no difference if you put it in the body (visible area) as these things won't be shown anyway.
{modules}shopping/yourcategory/youritem{modules}
.menu {
display: inline;
}
.menu a {
display: inline;
}
If you create your own template than you wouldn't need the second one as "a"-s are displayed inline by default I just changed it to block in the default template and that's why I wrote the above one.
.post.selected .post-content > p { display: none; }
and that's it.
Warning: include_once(lib/sources/settings.class.php) [function.include-once]: failed to open stream: No such file or directory in C:xampphtdocsteslibsettings.class.php on line 11
Warning: include_once() [function.include]: Failed opening 'lib/sources/settings.class.php' for inclusion (include_path='.;C:xamppphppear;') in C:xampphtdocsteslibsettings.class.php on line 11
Fatal error: Class '_settings' not found in C:xampphtdocsteslibsettings.class.php on line 13
http://www.thewebsqueeze.com/forum/ApacheIIS-f17/Xampp-Activating-Gd-Library-t1219.html
BTW: where do you try to upload the picture?: please give me a link like:
http://localhost/admin/?path=admin/content/posts/1/postpictures or something like that so I can also check myself and try to duplicate the problem.
i tried here:
http://localhost/tes/admin/?&path=admin/content/menuitems/1/posts
http://localhost/tes/admin/?path=admin/site/template/templateimages
http://localhost/tes/admin/?path=admin/content/contentfiles
I really like the theme used in this website... please can you make it available to download or can you send it to me via email?
Thank you.
Till then you can get the template in gzip file from here:
http://jcore.net/template/jCore-template.tar.gz
but please note that once you run the template.sql file it will overwrite your default blocks for your site so please make a backup before you do anything, also note that you will have to edit the Layout Blocks to change things like the content of the three boxes in the top and so on and create a News menu for the news on the right and index page.
For the dropdown menu just activate dropdownmenu jquery plugin in the Global Settings.
Please let me know if there is anything.
I tried and it works good.
I only have one issue: Lightbox doesn't work :-(
When I click on a thumbnail, the popup appears but the image is not loaded.
http://yfrog.com/jalightboxp
This problem is not related to the JCore theme, it happens even if I use the default theme.
I send you the link of my website to support at jcore dot net so you can check.
My hosting uses "safe mode" but I don't think this is the problem.
Thank you for support.
Giulio78
P.S. Do you have a PSD file of the JCore theme? I would like to modify
the icons of download/develop/support boxes.
Regarding the PSD I will send it to you in email this afternoon once I get home.
but i tried to changes content on block "copyright" n it doesn't work..it's changed on admin area, but in preview it's not working..
is it allow to make a change on block "copyright"? thanks ^^
thanks..
For e.g. this is what you would have to do:
In the post1's description after the first paragraph you would add
{posts}menu/path/post2-path{/posts}
and then when shown post1 it would show the header (first paragraph) but after you click more it would show first paragraph + post2 + rest of the post1
I'm having trouble getting my client to install. It seems to go fine but when you go to the home page "Fatal error: Class 'css' not found in /home3/imuaaloh/public_html/agritecture/template/template.php on line 15"
When I looked up line 15 I got:
"php css::display();"
This is happening to all my new installations.
Sorry for the later answer, had to take some time of :) anyway, I think it has to do with the Security Image Settings in the Global Settings, could you please check the Font Size, Code Length and Font fields? the font field should read "fonts/arial.ttf" and there should be a lib/fonts/arial.ttf in the jCore server. If you'll still have problems just email me with temp login details and I can go in and do some checkings for you.
Regarding the Website field in the comments you would have to extend the comments class and also take care of all tables that use comments as they would have to have a field to store the new data, so please just have a look in the lib/sources/comments.class.php and just extend the required functions for e.g.:
function setupForm(&$form) {
parent::setUpForm($form);
$form->add(
'Website URL',
'Website',
FORM_INPUT_TYPE_TEXT,
fakse);
$form->setStyle('width: 350px;');
}
function add($values) {
if ($newid = parent::add($values)) {
sql::run("UPDATE `{". $this->sqlTable . "}` SET `Website` = '".addslashes($values['Website'])."' WHERE `ID` = '".$newid."'")
}
}
and so on, so with a few lines this should work but each mysql table where you store comments would have to be updated or you could do an if to check if its only for posts or whatever you want and update/show the website field only then.
Hope this helps,
ps: Great site, I like what you did with the design, Congratulation!
Please help.
Hope this helps, as usually always do a backup before dropping anything :) and thanks for the kind words!
{posts}7{/posts}
to show the latest 7 posts from all menus/categories.
Also till then you could use keywords instead of menu items for your categories and display the keywords cloud using
{posts}keywords{/posts}
or even limit them to x keywords by:
{posts}keywords/21{/posts}
and then each keyword would list only those posts which have it defined in Title, Description, Keywords.
Hope this helps,
Cheers
First question is what do you want to upgrade? if you are using jCore clients for the websites and jCore server just as a static library (meaning no web site is running directly on it) you just have to copy over all the jCore server files and that's it. All the clients will be upgraded (except the modifications that are version limited).
Now if you would like to upgrade one of the websites that are running on jCore client you would have to go to "Upgrade from 0.x to 0.x" directory and download the following files:
- jCore client upgrade from 0.4 to 0.5 SQL
run this file to upgrade the DB
- jCore modules upgrade from 0.4 to 0.5 SQL
run this file if you have modules installed for the site (it may be errors for modules that you haven't installed so you may need to run the queries separately but you will see comments separating the upgrade queries for every module)
- jCore client upgrade from 0.4 to 0.5 Modified Files
you will have to extract the files and overwrite yours with these, but skip the template.css and template.js files as I'm sure you have your own so you don't want to reset them
- Upgrade sitefiles from 0.4 to 0.5 (PHP)
and lastly run this file to upgrade the uploaded files storage path (this is only needed for this version cos we changed the way we store files but this won't be a case in the future)
Unfortunately as you can see right now it's not that easy to upgrade but I will provide you guys with in integrated upgrade script to the admin so you will be able to upgrade the sites to the newest version from admin. This is planed for 0.7 as 0.6 is already closed (only fixes will be added and small changes as the test phase is going on) but from 0.7 it should be a lot easier.
Cheers,
I then tried with the modules SQL and it also failed.
I extracted the files for the client and added them to the site minus the template files.
I then tried ot runt he php but got a large list of failures:
Warning: include_once(/var/www/jcore/config.inc.php) [function.include-once]: failed to open stream: No such file or directory in [censored]/upgrade-sitefiles.php on line 15
Warning: include_once() [function.include]: Failed opening '/var/www/jcore/config.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [censored]/upgrade-sitefiles.php on line 15
Warning: include_once(lib/includes.fxn.php) [function.include-once]: failed to open stream: No such file or directory in [censored]/upgrade-sitefiles.php on line 20
Warning: include_once() [function.include]: Failed opening 'lib/includes.fxn.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [censored]/upgrade-sitefiles.php on line 20
Warning: include_once(lib/pictures.class.php) [function.include-once]: failed to open stream: No such file or directory in [censored]/upgrade-sitefiles.php on line 21
Warning: include_once() [function.include]: Failed opening 'lib/pictures.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [censored]/upgrade-sitefiles.php on line 21
Upgrading Post pictures
Fatal error: Class 'url' not found in [censored]/upgrade-sitefiles.php on line 101.
Worse yet now when I try to see my site I get:
Warning: include_once(/var/www/jcore/index.php) [function.include-once]: failed to open stream: No such file or directory in /home3/imuaaloh/public_html/imua-aloha.com/index.php on line 3
Warning: include_once() [function.include]: Failed opening '/var/www/jcore/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/imuaaloh/public_html/imua-aloha.com/index.php on line 3
NOTE: Please make sure sitefiles/ directory is writable by apache and all subfolders/files of it too.
I also see you have an error at http://imua-aloha.com did you overwrite the jcore.inc.php (or config.inc.php)? if so please upgrade those to point to your server as you did before.
To get the paths just add this line:
echo $_SERVER['SCRIPT_FILENAME'];
to your index.php right before include_once and then load the page and you should see a text at the top which should read the absolute path of your script. Now paste the relevant part from it to your config.inc.php and it should work.
Hope this helps, if not just drop me a letter with some info so I can check out the config file and help you out.
in the shopping cart i activated the display picker but none is showing.
And the add to my cart is not active or does it require the enabling of the member module,registration and then purchase?
Great work though.
Let me know if you still having problems.
Please note for submenus you don't have to create new menu blocks, just when you create the new menu select an owner for it in the "Sub Menu of" section.
ps: I will add this filetype now to the core so the next version will have it by default.
The easiest way I would recommend to do is go to http://demo.jcore.net/admin and take a look on the Layout Blocks and copy and paste the content of "Login" and "Account" blocks and that's it. That does exactly what you would like to achieve.
ps: you may need to add some parsing from css to have the look match your design.
Regarding the navigation, I'm not sure on which one to you refer but if you just would like to take away the top menu just deactivate the "Header Menu" block in the Layout Blocks and that's it.
1. Activate "cycle" jquery plugin (which is by default included with jCore) so just add cycle to jQuery Plugins in the Admin->Global Settings
2. Add the following to your template.js
$('.teaserpictures').cycle({
fx: 'fade',
timeout: 5000
});
and that's it, it should work just don't forget css definitions of course.
HTML code should look something like this:
<div class='teaserpictures'>
<img src='picture1' />
<img src='picture2' />
<img src='picture3' />
</div>
You can use div tags with any content instead of img tags if you wish.