adding a sidebar photo? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: adding a sidebar photo? (/showthread.php?tid=5079) |
adding a sidebar photo? - j*z - 2013-08-18 I'd like my client to be able to add a photos in a column to the right of her page's text. It SEEMS the sidebar would be the way to do it. But at the same time I don't know how she'd add a photo to the sidebar and also there's the complexity of calling a different sidebar from every page of the site. i.e. get_component('sidebar-'.get_page_slug(false)); I'm wondering if I'm making this way more complicated than it needs to be? I've attached an image that shows the basic layout of her site. RE: adding a sidebar photo? - Carlos - 2013-08-18 You could use I18N Custom Fields to add an image field to pages (users will be able to select uploaded images) Then use something like this in the sidebar: Code: <?php if (return_custom_field('image')) { ?> RE: adding a sidebar photo? - Timbow - 2013-08-19 There are many ways of doing this stuff. Not too sure if it is one photo or many, in addition or instead of the existing sidebar content, a thumbnail link or just a small image, or indeed how capable and confident your client might be... ... but I like to use the system for different sidebars here if there is more than one special sidebar. RE: adding a sidebar photo? - j*z - 2013-08-20 Thanks Carlos and Timbow! I'll check out your suggestions. My client (and future client's) will most likely have a pretty basic skills set for this kind of stuff. So I'll need to keep it simple. Ideally I'd have a column that could have more than one photo along with some text. They can certainly upload properly-sized photo to "Files" and then insert it from there. I'd prefer to have the client open one page for editing and within that one page would be two boxes of distinct content (main area and side-bar). I haven't seen anything like that for GetSimple CMS. RE: adding a sidebar photo? - Timbow - 2013-08-20 There is a plugin 'Simple Input Tabs' that will do what you want. It had some issues of conflicts with other plugins but if it's a simple site you should find it works well. Backup first. Otherwise: Copy template.php and rename to make a special template for your sidebar gallery pages. In that template replace <?php get_component('sidebar'); ?> with <?php getPageContent('special'); ?> . Make a page with the slug 'special' . Then you can edit the special sidebar content as a page with the ckeditor, inserting thumbnail to image links or whatever. You might want to configure the ckeditor to make it more useful. HTH RE: adding a sidebar photo? - j*z - 2013-08-20 Thanks Timbow. I'll make a note about Simple Input Tabs. For this project Carlos' suggestion to use I18N Custom Fields is working well for me. I'm able to add a few photo fields to a right-hand column of the page, as well as a field for a block of text. (2013-08-20, 03:21:23)Timbow Wrote: There is a plugin 'Simple Input Tabs' that will do what you want. It had some issues of conflicts with other plugins but if it's a simple site you should find it works well. Backup first. RE: adding a sidebar photo? - j*z - 2013-11-19 Fantastic! Used this plugin "Simple Input Tabs" for another project. Worked great. Thanks again. (2013-08-20, 03:21:23)Timbow Wrote: There is a plugin 'Simple Input Tabs' that will do what you want. It had some issues of conflicts with other plugins but if it's a simple site you should find it works well. Backup first. |