Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. Hi, This must be something obvious for most of you, but I am still puzzled with the question: what is the best way to insert simplegrid css framework in processwire ? Simplegrid css framework has: 2 folders [css] and [images] and 1 file index.html A standard pw installation has inside the folder templates: home.php - head.inc - foot.inc Would I make the contents of head.inc and foot.inc part of the simplegrid file index.html and then change home.php into something like this: ? include("./index.html"); echo $page->body; I know that this is not the way to do it, that's why how would you pro's make simplegrid css work with processwire and where would you bring in simplegrid's folders [css] - [images] and it's file index.html ? Thanks.
  2. Nice photo manager for materials-products-programs. Which one did you use ? Lots of hard white background. Try a soft color/tint for background.
  3. With all respect for hanna code and tinymce but I find it a complete lost of time to look for hours and hours on the net to find first the right code blocks and then their formats that you have to enter in: theme_advanced_buttons1 and valid_elements and Additional TinyMCE Settings, just to make some simple things work in tinymce. But it doesn't stop there, you still have to hack things in tinymce like using escape codes <p>…</p> http://processwire.com/talk/topic/4436-tinymce-plugin-addcontent/ Soma's solution to work with html templates still gives me hope: http://processwire.com/talk/topic/1655-add-bramus-cssextras-plugin-to-tinymce-inputfield/#entry17210 Heck, sometimes I just want to use my own favorite IDE and copy and paste the code directly into the html source editor of tinymce. But you have to think about your clients too, they still need something like tinymce. Anyway, in the end, too much hassle here too, don't like plugging in scripts and extra tags. http://www.w3avenue.com/2010/01/04/list-of-free-web-based-html-editors-for-your-cms-project/ I stick with tinymce and the solutions found in this forum.
  4. Hi Macrura, What editor do you use in processwire to edit text that is in the body ? How would you realize in the editor you use for example 10 lines of text where these 10 lines each have black foreground text color, where you also need to set the fontsize and fonttype, and these 10 lines are together inside an orange rectangle background color ? I use TinyMCE as my editor in processwire and I added div to the valid_elements in TinyMCE advanced configuration, so I could do this in the html source editor in TinyMCE: <div style="background-color: orange;"> My 10 lines of text with black foreground color. </div> This puts my 10 lines of text inside an orange rectangle background, but this also results in my text black foreground color turning mysteriously from black into a grey color and have to resolve this by using inline style <p style="text-align: center; font: 35pt/6pt Arial, Garamond, Georgia, serif; font-weight: bold; color: #000000;">My text that now stays black</p> I tried to install the CKEditor and have the same problem, I am sure there must be something wrong. It seems I can't give my text in body a black foreground color inside an orange box with TinyMCE in a simple way.
  5. Next problem: When I click on B to format text in Bold, text turns into a grey tone instead of staying black ! (using firefox) Maybe some css collision somewhere in processwire Anyway, if I check the html code in the html editor I see that B uses the <strong> and </strong> tags. (outdated anyway) If I delete the <strong> and </strong> tags and replace them with font-weight:bold; as part of the inline style, all is well, text is Bold and stays black instead of grey toned. Anyone knows where to dig TinyMCE to make it use font-weight: bold; when clicking on B ?
  6. Hey thanks diogo, but look what I found after nightly digging the net and processwire: Go to => Setup => Fields => Edit Field: body => Input => TinyMCE Advanced Configuration Options Replace what is there in theme_advanced_buttons1 with this: formatselect,|,fontselect,fontsizeselect,|,bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,link,unlink,|,image,|,code,|,fullscreen,|,forecolor,backcolor,|,charmap Then you can format text in the body with the more usual wanted. (background - foreground color, font, fontsize, special characters, justifycenter, etc. etc.)
  7. I should not have mentioned the div tag as an example in this context, was just part of trying the html editor. I don't want to make text formatting part of a template but part of the TinyMCE editor. I only want to format background and foreground color for some text in the body, and centering some words. I found out in Setup => Fields => Edit Field:body => TinyMCE Advanced Configuration Options => valid_elements you can add style and center to the following : @[id|class|style|br] and or span[style|color],center, This allows these html tags to be used and at least now I can use back and foreground color and center some words in the rich text editor using the html button. Anyone knows a better solution or how to configure TinyMCE in a way to enable formatting only part of a text a background or foreground color and choosing arial as font or replace it with a plane html editor like in the modx days ? Anyone figured out a working style dropdown added to the button rows ?
  8. Hi, In the admin back end, is it possible to edit body text in pages with all html tag possibilities ? If I open the dropdown list in the rich text editor, under Body there is only: Paragraph-Heading2-Heading3-Heading4-Block Quote-Preformatted. If I click on the html button in the rich text editor a html source editor opens up but when I want to insert div tags or span tags or center tag or whatever html tag, they all disappear when I click on the update button at the bottom of the html source editor. How can I get full html editing with all html tags on in the rich text editor ?
  9. My brother is living there. Life and people are so much more easy there, not the hectic in the west, thai kitchen is fantastic, e.g. you can eat a kwitajouw soup on the corner of every street. Easy living.
  10. Do you make a 3 months visa boarder run or get a stamp for a whole year ?
  11. Ok creative3minds and teppo, thanks for the info and links, working on it. The export profile module seems to be 2.3 compatible as well
  12. Anyone knows a stripped down or empty version of processwire ? Is making empty a default processwire installation by deleting fields and templates, etc the only way ? I know it is not that much work but still wondered if an empty installation exists to give you a clean start. In my case a clean start with simple grid. I remember something having read about profiles as a way to save a processwire website for using that as a start in a next website. Can't find it anymore in the forum.
  13. all right, all right, translation uhm => front end use in processwire, or should i say up front
  14. Not sure here but how do you expect the zipped images to be displayed in the select image dialog ? Some background service or property/config of your editor ? Anyway, did you check write permissions for your file path /site/assets/files/ ? To check if your hosting server accepts automatic unzipping run the following script: first specify a directory to unzip the files to make sure this directory has write permissions <?php $zip = new ZipArchive; $res = $zip->open('my_zip_file.zip'); if ($res === TRUE) { $zip->extractTo('my_extract_to_dir/'); $zip->close(); echo 'ok'; } else { echo 'failed'; } ?>
  15. +1 good found. Useful and practical to keep track of structure of larger sites and keeping a history of edits.
  16. Front end editing for customers/clients is a hot topic since the days of cms. Sooner or later your customer/client is going to ask you how he can edit/change parts of his website him self in a simple way. Examples are changing text or prices for his products. I think nowadays a cms should have included this from the start. Anyway I think markitup is a nice third party solution. http://markitup.jaysalvat.com/home/
  17. PW ist so verdammt gut,
  18. German is more straight and precise different from english. Some german text on neuwaerts from felix made me understand some things more clear. One good example of that is how felix uses the word "Strukturelement" to explain pages in processwire.
  19. The need for composer is actually demonstrating a root problem of a cms or cmf However Processwire is not just another cms or cmf but more like a cme = content management engine that lets me make my own self contained modules without the need for software between me and my code.
  20. Hi, http://processwire.com/talk/topic/3120-24-development-questions/page-2#entry47632
  21. Ok, thanks for mentioning. I haven't touched foundation yet, playing with more simple ones.
  22. Did you use a css framework ?
  23. Felix I much appreciate your writings on your neuwaerts website ! 1. quality content 2. easy to read 3. easy to understand (zum beispiel das gut und einfach erklärende wort strukturelement) for a beginner and designer to catch up with processwire in a short time. I call that writing style talent ! Deserves a place in Community Support. Same for the writings of Teppo about hooks.
×
×
  • Create New...