Jump to content

bramwolf

Members
  • Content Count

    102
  • Joined

  • Last visited

Community Reputation

18 Good

About bramwolf

  • Rank
    Sr. Member
  • Birthday 11/05/1985

Contact Methods

  • Website URL
    http://www.bramwolf.nl

Profile Information

  • Gender
    Male
  • Location
    The Netherlands
  • Interests
    Graphic design, Web development, Playing piano :) Composing

Recent Profile Visitors

1,985 profile views
  1. Hi Guys, In short: I would like to base the template and parent of the imported pages to be based on values in the csv Great work on the module Ryan, it's a very useful extension to Processwire indeed! I was wondering if it would be possible to set multiple templates for the pages that are created, maybe based on a .csv field value? I'm using Padloper for variation products which ends up looking like this: - Parent Product Page ( needs productprarent template ) - Variation child page ( needs variation template ) - Variation child page - Variation child page so In my cvs file I guess I would use something like this? Type template title color price image Parent productparent T-Shirt 5 Child variation T-Shirt Blue templates/img/blue.jpg Child variation T-Shirt Red templates/img/red.jpg Child variation T-Shirt Green templates/img/green.jpg This way I could create a parent of all sets of children, if values aren't filled there the system uses the price of the parent. I was thinking of something in de lines of: if($CsvLine->type == "Child") { $page->parent = $parent($CsvLine->title); } if takes makes any sense :') Do you think something like this could be done? Thanks in advance! Bram
  2. Thanks man Never knew this was possible. I was going for dynamic loading of the title for each page loaded through the iframe but again I don't think that is possible since the frame and page are on different domains. So I just decided to give the iframe the same title as the page loaded. Which is already not bad since a Web alias provided by my host just copied the original url to the title.
  3. Hi Guys, I've been trying to figure out how I can get the iframe to show the title of the page it is loading. I was thinking in the lines of a jQuery script that adds a title attribute to the iframe of maybe a addition to the header line in .htaccess? Does anybody have a clue of this would be possible? Thanks in advace!
  4. Hi Guys, I'm looking for a bit of input to find out what might be the best option for what I'm trying to achieve. What I want to create is one site, approachable from two domains. Domain1 should have the entire normal processwire site, and domain2 should be an almost exact copy of the original but with slight differences. The things that should be different on domein2: - On domain1 there are a lot a vacations available, all of these have their own page with all the info Including a checkbox field. If this field is checked it should be displayed on domein two otherwise it should be skipped - Domain2 should have different contact info on the contact page from domain1 - If the data from domain1 changes, this should automatically be reflected in domain2 It feels to me like I wouldn't need a entire MultiSite since I basically would want to show the site exactly as it is on domain1 but with a few conditions. I was thinking along the lines of: redirecting domain2 to domain1, and have the URL mask domain1. And in the template add something like this: if($_SERVER['SERVER_NAME'] == 'domain2.com'){ $domain2 = true; } if($domain2 == true && $page->checkbox == 1) { // show conditional domain2 content } And for the contact page maybe a second set of fields also embedded into the contact template? Again if $domain2 == true show the second set, otherwise the original set of contact fields. Does anyone think this is indeed the way to go, or have any better ideas of how to approach this? Any insights are greatly appreciated Thanks! Bram
  5. Thanks man! :) the idea js to use a different domain/server/user entirely. The content should be exactly the same, it basicly a rebranded version of site 1. And the only changes are going to be in the template files. Ask for price instead of price from database. Which of your solutions do you think would work best for this case? thanx again :)
  6. Hi Guys, I got the request to copy a site I created in processwire, which shouldn't be too much of a problem, but also to have to content ( Pages, templates and field contents ) loaded from the original site so that they stay in synch. With site one dictating the content on the second. How would I go about realizing that? would I be stuck with continuously importing data from site 1 via cvs export/import or XML feed, or could I link my second site to the database of the first? Also I would like to make small changes in the template of of the second site. For instance Site one hosts a Hotel listing, with price € 300, and on the second Site I would like to change it to "Price on request" with an email link. Could I adjust template files on the hosting of site 2 and still load data from site 1? Hope somebody can help :) Thanks guys!
  7. Hi, I used these emails to send mails to the administrator of the site. So I wanted to send from example.com to info@example.com this just worked. But I was testen from example.com to info@bramwolf.nl, which was outside the domain and thus didn't work. Easiest way to check if the emails will arrive at the admin is to send a test email and ask for a confirmation from the admin email account holder. Good luck
  8. Hey Guys, One of my clients asked me to look at the options for a very complex website, what to use and how to do it. And to be honest i've been thrown in at the deep end a little bit. There is so much software out there and it's kinda hard to try everything out especially in combination with each other, so I thought I would ask if anyone had any experience with such a website and the tools needed to get it up and running. I think the things I'm tryin to achieve are to complex to build solely in ProcessWire since it needs alot of complex modules, but I would love your take in this This is a list of things I would like to achieve within the website: - For one, the website will need dynamic content: news articles, company listings, company profiles, Job application listings ( doesn't have to be a full recruitement module per se ) - Memberships. Two types of memberships, a paid subscription for advertisers/companies that will be listed. And a free membership for visitors with personal interests, interests logging and preferences. - Advertising platform. My clients wants to sell subscriptions to advertisers though a webshop, and place them on the site and place banners on the site for them according to fixed paid-for agreements ( ex. 30.000 presentations of the banner over a period of 2 months ). Here we'll also need to track click throughs and be able to supply documentation about displays and performance of the banners. For this I was thinking about Google's Doubleclick although I haven't found it what it costs on their website. - Marketing automation. My client is looking for a platform that handles marketing automation for the free subscribed members. We would like to be able to segments the users, and target them according to interests, and naturally follow up and our offers. It would make sense to be able to use the same platform for holding the user data, as not to have a client system in our CMS and have a seperate one in our Marketing Automation software. First I was looking for one system to do all of this, but I think it next to impossible to achieve that. So now I'm thinking a good and expandable base CMS with good integration options for 3th party platforms and modules. My goal is not to create all these modules myself considering the complexity of just one of them, but to create a nicely integrated system which covers all attributes using as much pre-exisiting systems as possible for fast delivery and having fully tested and functional systems. Have any of you ever built such a site, or have any ideas what kinds of CMS or platforms you would use to achieve it? I would love to hear your ideas! Thanks in advance, Bram Wolf
  9. Thanks Robin! That did the trick perfectly! I'm adding this to my FormBuilder Readme file, and I think stuff like this should be included in it by standard. Most people say this isn't even possible, now it turns out it is, it would be nice if a hunt for this kind of syntax wouldn't take 2 hours. Thanx again Bram
  10. Any idea how I would go about doing that? Sorry im still pretty nood at PHP, thanks for the help
  11. Thanks LostKobrakai! But sadly to no avail: this: foreach($forms->get("reserveren")->entries->find("id>0")->sort($entry['datum']) as $res){ Return this: Error: Call to a member function sort() on array (line 210 of /public/sites/www.cafepool.nl/site/templates/agenda.php) This error message was shown because you are logged in as a Superuser. Error has been logged. Gr, Bram
  12. Hey Guys, I'm trying to sort the foreach results from FormBuilder but I can't seem to sort it by a field, only by created. How would you go about doing so? This works: foreach($forms->get("reserveren")->entries->find("sort=created") as $res) This is what I need but it doesn''t work: foreach($forms->get("reserveren")->entries->find("sort={$entry['datum']}") as $res) Thanks guys!
  13. Yes! SOLVED This is what I was looking for, quite obvious! But thanks alot // update password field attributes in a login or registration form $passwordField = $fu->form->get("password"); $passwordField->label = "New password label"; $passwordField->description = "Password description";
  14. hi pwFoo, thanks for your reply. I have indeed executed the register en login forms, and they work perfectly fine, the only problem I have is that I don't know which field to target to be able to change the password description text. Would you happen to know which one that is? Thanks Bram
  15. Hi Guys, I've been trying to translate the registration form to dutch and I've managed to do so with Username and Password. But I don't know which field to call for the password description field. Does anybody know which field to point to to change this? "Password must be at least 6 characters and have at least 1 letter and 1 digit. Password may not have whitespace." $usernameField = $fu->form->get("username"); $usernameField->label = "Gebruikersnaam"; $passwordField = $fu->form->get("password"); $passwordField->label = "Wachtwoord"; Thanks! Bram
×
×
  • Create New...