manually installing new plugins and blocks

Permalink
I am testing/developing new blocks and plugins for concrete5 (5.6.1)... but as I am about a week into C5 there are many things I do not know... and can not seem to find the answers to vie google or these forums.

for example...

I have a package called jwPhp... very simple. I have placed it in packages, and I see it appear in my add-functionalty list of enabled packages (but edit does not work)... but how can I install it manually? It does not appear as a block when I do an Add Block. I added an entry manually in the database table 'Packages'.

On a similar note, I truied to install a new block type, following the simple directions here ->http://www.smartwebprojects.net/concrete5-blocks/sharethis/ ... which basicly says put this code in yout concrete/blocks folder... which I did... but again, it does not appear usbale anyway.

Obvio0usly, there is a step I am missing that integrates blocks and packages that is part of the auto-install process, but I need to do it manually at this point as I am just breaking everything and certainly do not want to put my plugin on the concrete5.org list of available plugins.

Thanks

ntisithoj
 
Adreco replied on at Permalink Reply
Adreco
Have you had an opportunity to read this tutorial? http://www.concrete5.org/documentation/developers/blocks/understand...

Also: JordanLev has a free block tool in the marketplace that may be very helpful:
http://www.concrete5.org/marketplace/addons/designer-content/...

It may have what you are looking for.

Best Wishes
Adrian
ntisithoj replied on at Permalink Reply
ntisithoj
hmmm... the docs sez


>>Unzip the block.
done

>>Drag it to your concrete5 blocks/ folder, which
>>will likely be empty.
done, but the directory was full of all the blocks I already have... specifically..

autonav, content, core_scrapbook_display, core_stack_display,
dashboard_app_status, dashboard_featured_addon, dashboard_featured_theme,dashboard_newsflow_latest, dashboard_site_activity, date_archive, date_nav,
external_form, file, flash_content, form, google_map, guestbook, html,image, library_file, next_previous, page_list,
rss_displayer, search,slideshow, survey, tags, video, youtube


>>Login to your concrete5 installation, and go to
>>Dashboard > Stacks & Blocks > Block Types.
done

>>You should see the new block listed as available for
>>installation at the top of the page, under
>>Custom Block Types > Awaiting Installation.
>>(Core block types will be listed below.)

what I see is

Awaiting Installation
No custom block types are awaiting installation.

maybe this is an issue with the beta 5.6.1?

I can confirm the new blosk is there...
./web/concrete/blocks/sharethis
./web/concrete/blocks/sharethis/controller.php
./web/concrete/blocks/sharethis/auto.js
./web/concrete/blocks/sharethis/view.php
./web/concrete/blocks/sharethis/add.php
./web/concrete/blocks/sharethis/icon.png
./web/concrete/blocks/sharethis/edit.php
./web/concrete/blocks/sharethis/db.xml

perms are ok as well.

shoudl I move this to the BETA disussion?
ntisithoj replied on at Permalink Best Answer Reply
ntisithoj
OK, so when the instructions says "unzip into your concrete5 /blocks directory"... they do NOT mean unzip into your concrete/blocks directory, which makes sense, but rather your web/blocks directory... hmm... not very clear instructions, but then I am very new to this.

works now, at least to the point of having it seen by the system
andrestoros replied on at Permalink Reply
Hi ntisithoj. I'm having the same exact problem... How do you solve it?