Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Items Manager - ver: 1.4
lloydp Wrote:Is there a dynamic solution to this problem, where the page will ignore 'empty' fields or something?

You have to write that yourself in php.

And you usually have to assign the result to a variable to test it then use something like if(!empty($field))

But there is a bug with image fields, because they return the path to the image even if there is no image set.
I mentioned this previously in this forum.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
Quote:I may just be a little slow...Smile Is the Custom Field information supposed to be saving to the XMLs that are created for each item? I created a couple of custom fields for my items and then added a couple of test items. I fill out the info for the custom fields and then save the items. It adds the new item, then i click on it but it doesn't appear to be saving the custom field info i just typed in... Am i missing something or is it saving that info somewhere else?

Quote:I'm having this same problem. When I try to save in the custom fields, and then go back to that product, the custom fields do not save (nor show up on the web site). For example if you look at the screen capture the "Price" and "Description" does not save. Screen Capture: http://www.nickscipione.com/images/screen-capture.png

i'm still having no luck getting my custom fields to work. Any suggestions on what might be the problem? Do I need to do a fresh installation of the plugin? What files do I need to delete to make sure the update works?

Thanks for your help!
Reply
rtaustin Wrote:i'm still having no luck getting my custom fields to work. Any suggestions on what might be the problem? Do I need to do a fresh installation of the plugin? What files do I need to delete to make sure the update works?

Thanks for your help!

I can only imagine the files aren't being created, maybe a permissions error the plugin isn't catching ?
Item files are created in data/items/ as xml files. Check your folder exists and has write permissions.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
didou038 Wrote:Hi,

I want to create a link directory website where the users can add theirs links in the appropriate category.
Is there a way to do that ?

thanks for your reply !

Did

Any idea ?
Reply
shawn_a Wrote:Can you post what your code is to generate this. No one can help you with just the outcome information.
And give more information, are you using fancyurls ?
Man, did I really wrote "backslash".. Whoops I meant the double forward issue...
cle_hamburg wrote about (see below) and I'm having the same issue and can't find where the problem is...
GS was installed in a clean enviroment with only these plugins for testing etc...

[Image: pluginsd.gif]

cle_hamburg Wrote:I experimenting with your plugin as I am thinking about using it for a property management company's website. Now I face two problems on the preview image. The basic result is, the image is not shown on the item overview page.
I am using
<base href="<?php get_site_url(); ?>">
in my header, what delivers
<base href="http://www.myDomain.de/">
.
Checking this image tag with firebug shows:
<img class="m_pic" src="http://www.myDomain.de//data/uploads/items/">
where I get double backslashes after the domain and the image file is completely missing.
Checking the server, shows that folder "items" exists withing the parent folders "data/uploads" as well as the uploaded image.
Any idea what could be the problem?
Reply
Yeah but that doesn't tell us what you have in your htaccess file, or what your site path is set to.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
This is where GS3.1 is installed...
Code:
http://www.mytestsdomain.com/GetSimple_3.1/

.htaccess
AddDefaultCharset UTF-8
Options -Indexes


# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>


RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /GetSimple_3.1


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
php_value upload_max_filesize 10M
php_value post_max_size 20M


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_URI} =/
RewriteRule ^(.*)$ //GetSimple_3.1$1 [L]


And of course it will be something small, but I can't find it... And solving this would make my life a lot easier.. ;-)
Reply
Its possible your 2 rewrite rules are conflicting.

Also you have 2 // in your second rewrite.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
Hello,

I'm trying to create a nested list like this:
1. Category 1
a. Item 1
b. Item 2
c. Item 3
2. Category 2
a. Item 1
b. Item 2

How can i "link" the categories with the item ?

I hope i made myself clear.


Regards
Reply
shawn_a Wrote:
rtaustin Wrote:i'm still having no luck getting my custom fields to work. Any suggestions on what might be the problem? Do I need to do a fresh installation of the plugin? What files do I need to delete to make sure the update works?

Thanks for your help!

I can only imagine the files aren't being created, maybe a permissions error the plugin isn't catching ?
Item files are created in data/items/ as xml files. Check your folder exists and has write permissions.

The XML file is definately being created. The title saves. Just none of the other custom fields.
Reply
What Ids have you given your fields ?

Do you have screenshots of your customfields setup that we can try to reproduce. I cant imagine why your having issues.

I would definitely start by removing the plugin file and folder and reinstallig it.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
I have two questions about the current capabilities of this plugin.

1. Is it possible to list items by category? I would like to have two pages one that links to items from the products category and one that links to services category.

2. Is there a method, other than alphabetical order, to arrange items in the list.

Thanks
Reply
Good day,

To anyone wanting to browse the uploaded images in the CKEditor, you can use the following changes to add the "Browse" button in the Image dialog box.

Add this in the edit-2.php file in line 107:
Code:
filebrowserBrowseUrl : 'filebrowser.php?type=all',
filebrowserImageBrowseUrl : 'filebrowser.php?type=images',
filebrowserWindowWidth : '730',
filebrowserWindowHeight : '500'

Don't forget the comma in line 105(!)

Also, I've sent a pull request to the github repo with this changes.
Reply
nelmaven Wrote:Good day,

To anyone wanting to browse the uploaded images in the CKEditor, you can use the following changes to add the "Browse" button in the Image dialog box.

Add this in the edit-2.php file in line 107:
Code:
filebrowserBrowseUrl : 'filebrowser.php?type=all',
filebrowserImageBrowseUrl : 'filebrowser.php?type=images',
filebrowserWindowWidth : '730',
filebrowserWindowHeight : '500'

Don't forget the comma in line 105(!)

Also, I've sent a pull request to the github repo with this changes.

Thanks for your addition!
I have uploaded version 1.3 to extend.
Reply
I'm having a bit of trouble with managing the items.
When I edit a item and change its title main field, instead of updating the item, creates a new one. Doesn't seem to happen with other fields though.

Also, is there any way to re-order created items? Like with drag 'n drop?

Thank you
Reply
nelmaven Wrote:I'm having a bit of trouble with managing the items.
When I edit a item and change its title main field, instead of updating the item, creates a new one. Doesn't seem to happen with other fields though.

Also, is there any way to re-order created items? Like with drag 'n drop?

Thank you

Each Item's title decides the name of the xml file. What I need to put into place is a check to see if xml filename has changed, and delete the old xml file and save as new name as usual.

I am working on the ability to drag and drop the items (to order) from the "Manage Items" page, however I doubt it will be released in the next version.
Reply
mikeh Wrote:Thanks for your addition!
I have uploaded version 1.3 to extend.

Maybe correct the changelog?
Change Log

Version 1.1 - 01-29-2011 - Fixed issue where adding or deleting categories reset Items Manager settings - Fixed image uploader path issue on front end

Version 1.2 - 02-06-2011 - Fixed issue where creating/deleting a category reset results page coding.

Version 1.2 - 02-06-2011 - Added file browser to ckeditor (credit: nelmaven)
Reply
Jaywalker Wrote:Maybe correct the changelog?
Done
Reply
I've found a quick fix for the edit issue.

In the IMclass.php file, line 212 I've changed
Code:
$id = clean_urls(to7bits($_POST['post-title'], "UTF-8"));

to

Code:
$id = clean_urls(to7bits($_POST['id'], "UTF-8"));

It seems to work okay for me. Smile
Reply
nelmaven Wrote:I've found a quick fix for the edit issue.

In the IMclass.php file, line 212 I've changed
Code:
$id = clean_urls(to7bits($_POST['post-title'], "UTF-8"));

to

Code:
$id = clean_urls(to7bits($_POST['id'], "UTF-8"));

It seems to work okay for me. Smile
That works too Smile Thanks, I will release version 1.4 a bit later.
Reply
nelmaven Wrote:$id = clean_urls(to7bits($_POST['id'], "UTF-8"));
The above code cause new items to not be named after the title and instead, a random string.
I have left that line alone and added this underneath it:
Code:
$orig_file = ITEMDATA . $_POST['id'] . '.xml';
if(file_exists($orig_file) && $id != $_POST['id'])
{
    unlink($orig_file);
}

Version 1.4 Has Been Uploaded
With the above changes.
Reply
hi dude,
works great!

but how can i sort the posts? I need the posts chronologically.
Reply
Hello Mike,

your plugin has this feature as news manager?:

nm_list_recent ();
nm_list_archives ();
nm_list_categories ();
nm_list_tags ();

Canonicial URL goes with your plugin?


thanks.
Reply
answer you no longer need snout full of GetSimple.
I use WordPress book now,
If I need help on Wordpress, here's my best friend ==>> www.google.com

anyway thank you mike

have fun with GetSimple.
Reply
Hi !

I try to use this plugin but i've got a problem.

On the result page all is good, but when I click on "more detail" ("Voir les détails" in french) that generates a 404 error page.

I don't know where is the problem and how to resolve it.

url : http://cyclehome.artisan-online.fr/les-p...onces.html

Can you help me ? (mp me for backend login if needed) If you need more informations, ask me !

This page is on test step, just to learn how works the plugin
Reply




Users browsing this thread: 1 Guest(s)