-
Posts
218 -
Joined
-
Last visited
Everything posted by NooseLadder
-
I'm setting up Apeisas shopping cart on a site as we speak. In creating a template to display the shopping cart with $modules->get('ShoppingCart')->renderCart(); I'm finding that when the show cart page is created at this level: Home -show cart -products -product1 -product2 I only get 'No items in cart displayed on the page'. In order to get the cart contents to display I have to have the page 'show cart' as a child of the products, which I don't want. Any ideas?
-
Custom Tabs in Admin - How to hide dropdown by default
NooseLadder replied to NooseLadder's topic in General Support
Thanks Diogo. I should have known to look For anyone else this is the route: Admin > Setup > Fields > Input > How should this field be displayed?- 2 replies
-
- custom tabs
- fieldsetOpen
-
(and 1 more)
Tagged with:
-
Custom Tabs in Admin - How to hide dropdown by default
NooseLadder posted a topic in General Support
I have created custom tabs on some templates using FiledsetOpen/FieldsetClose fields. Is it possible to hide the dropdown by default as currently they open when you edit a page?- 2 replies
-
- custom tabs
- fieldsetOpen
-
(and 1 more)
Tagged with:
-
Process Redirects Module - cannot uninstall
NooseLadder replied to NooseLadder's topic in Modules/Plugins
Thank you Soma. That worked. After deleting the entry ProcessRedirects in the Modules table, I went ahead and unistalled the module from the modules menu and reinstalled it. Great thanks. -
Hi, I have just moved a site from localhost server to live server. I used the Export Site Profile module. Everything seems to have worked ok except that the exported site had the Process Redirect module installed. I keep getting the following error message: Error Exception: Table 'wavybee_pw.ProcessRedirects' doesn't exist SELECT id, redirect_to FROM ProcessRedirects WHERE redirect_from='/site/templates/cookie_control/cookieControl-5.1.min.js' OR redirect_from='/site/templates/cookie_control/cookieControl-5.1.min.js/' (in /home/wavybee/public_html/wire/core/Database.php line 118) #0 /home/wavybee/public_html/site/modules/ProcessRedirects/ProcessRedirects.module(260): Database->query('SELECT id, redi...') #1 /home/wavybee/public_html/wire/core/Wire.php(291): ProcessRedirects->checkRedirects(Object(HookEvent)) #2 /home/wavybee/public_html/wire/core/Wire.php(229): Wire->runHooks('pageNotFound', Array) #3 /home/wavybee/public_html/wire/modules/Process/ProcessPageView.module(89): Wire->__call('pageNotFound', Array) #4 /home/wavybee/public_html/wire/modules/Process/ProcessPageView.module(89): ProcessPageView->pageNotFound() #5 /home/wavybee/public_html/wire/core/Wire.php(269): ProcessPageView->___execute() #6 /home/wavybee/public_html/wire/core/Wire.php(229): Wire->runHook I have tried to uninstall but it won't let me, it says Cannot delete page. The module is NOT showing up in the Admin>Setup menu but the module files are still in the modules>ProcessRedirects folder. I checked the main database. There is a table called processredirects but not ProcessRedirects. Can anyone advise next steps please.
-
Thanks. So basic I overlooked it DOH! Looks interesting thanks.
-
A website user has uploaded an image using the images field on a specific page. I want to download this image. How can I find it on my server amongst the many other images?
-
Just installed this module. Excellent thanks.
-
@adamkiss Thanks for the reply. I had a look at your map on bonetics.com, I like the way you styled it btw, for some reason it (the map) doesn't seem to resize either in a browser or on a mobile device (I quickly checked using an HTC Wildfire 240 x 320px). Edit: I see that the rest of the site resizes down to 320px but below that it reverts to a larger screen display. So checking the map at 320px I still get the scrolling problem with your map that I also have on the one I have implemented.
-
Thanks Martijn, but I have already set that. The rest of the site scales as required, it's just the Google map that is a problem. As I said earlier, the map scales on my desktop pc when I resize the browser but when displayed on a mobile device it doesn't.
-
Hi and thanks for the replies. The module didn't seem to produce an iframe, so I resorted to adding the code provided by Google Maps (iframe). I also used the method from the CSS-Tricks article (Thanks Martijn). The css as follows: .map_container { position:relative; padding-bottom:56.25%; /* 16:9 */ padding-top:25px; height:0; max-width:90%; margin:0 auto; } .map_container iframe { position:absolute; top:0; left:0; width:100%; height:100%; } HTML <div class="map_container"> <iframe> ---Google code here-- </iframe> <!-- end .map_container --></div> This makes the map responsive in my desktop browsers but when I view on a mobile (I tried a HTC Wildfire and Blackberry) the map is displayed at full dimensions, so you have to scroll horizontally and vertically. I'm not sure if this is due to the code or to Google maps?
-
I'm using the GMAP module to display a Google map. I'm using the default display method <?php echo $page->map; ?>. I would like to have the map resize responsively. Any ideas how to go about this. Would I have to manually code the map?
-
I can confirm as well that height:auto works without making the other changes.
-
What to do about short-life pages and search engines?
NooseLadder replied to NooseLadder's topic in General Support
Yes of course, I should have known that, DOH! Thanks for the reminder. Yes this makes sense. After all its another page that's (potentially) indexed by the search engines, so why remove that opportunity for users to find your site! Yes you are right and from traditional marketing/sales in general. I have used micro data markup before; I used to run an ecommerce site and I obtained customer's reviews and used the micro data markup (rich snippets) to 'highlight' the reviews so that they got indexed as reviews in Google. It works well. Data Highlighter looks interesting, I'm not sure yet, but I might stick to micro data markup as I have dabbled with it before. -
I have pages that will be created and will only have a short life before they are deleted. They are showing upcoming events/diary dates. When the event/date has passed the page will be deleted. I'm looking for some recommendations on how to handle these pages in PW and what to do about them possibly getting indexed by search engines and then being deleted. (404). Not sure about using rel="noindex" or rel="nofollow". If this is the way to go can they be applied to certain pages only upon creation? Maybe it could be handled by .htaccess to automatically apply a 301 redirect to these pages but I would not know if that is possible and how to make it happen. This raises another question: If deleting the pages is the right thing to do (awaiting recommendations) then how can I automate page deletion by date, so that when the date of the event has passed the page is deleted? I look forward to your comments.
-
Where should the live installation go?
NooseLadder replied to NooseLadder's topic in General Support
That's great thanks. -
I've installed PW and built a site in the following directory: public_html/folder so if I go to url www.mysite.com/folder I get the homepage. The root directory currently has a holding page index.php. I assume that when I am ready to go live I will need to move everything from public_html/folder to public_html and make sure everything flows down from there. Is that correct?
-
I agree with all that everyone has said so far and would also like to thank Ryan for this and also everyone else who continues to contribute. I consider my programming skills mediocre at best and when I first joined the forum and saw the level of expertise here, I was a bit hesitant to ask questions. But I have quickly come to realise that no matter what level you are at you will always get the help you need without ridicule and I feel comfortable asking for help now. I am working on my first full-blown site in PW now and hope to share the finished item with you soon. I have spent many hours on it mainly due to my own learning curve for PW, but I have learned a lot along the way. This is a site for my local community and I am doing it for free. Everyone I have spoken with here has been very positive about it, so I just hope that it gets the use that it's intended for.
-
ProcessWire Conference 2013 / London / Cambridge
NooseLadder replied to ryan's topic in News & Announcements
More effects of the whisky no doubt! -
Dropdown list using Field Type Page - Changing selection
NooseLadder replied to NooseLadder's topic in General Support
Thanks for your help. -
Dropdown list using Field Type Page - Changing selection
NooseLadder replied to NooseLadder's topic in General Support
I think I have solved this. I have changed the code to: <?php foreach($page->children("template=category_item, sort=date") as $event) { echo "<div class='event_listing'> <h2>{$event->title}</h2> <p><strong>Group:</strong> {$event->category->title}</p> //this line changed and second foreach removed <p><strong>Starting:</strong> {$event->date}</p> <p><strong>Description:</strong> {$event->description}</p> <p><strong>Contact Name:</strong> {$event->contact_name}</p> <p><strong>Telephone:</strong> {$event->telephone}</p> <p><strong>Email:</strong> {$event->email_address}</p> </div>"; } ?> -
Dropdown list using Field Type Page - Changing selection
NooseLadder replied to NooseLadder's topic in General Support
It was set as multiple so I changed it to single page and what happens is that the category title (see comment in code below) is no longer displayed on the page view. I have 4 category pages (category1, category2, category3, category4) and the code below is displaying 13 duplicates from each page. Maybe it's my code on the page view. <?php foreach($page->children("template=category_item, sort=date") as $event) { foreach($event->categories as $category) { echo "<div class='event_listing'> <h2>{$event->title}</h2> <p><strong>Group:</strong> {$category->title}</p> //this is not displayed with the field set to Select and single page <p><strong>Starting:</strong> {$event->date}</p> <p><strong>Description:</strong> {$event->description}</p> <p><strong>Contact Name:</strong> {$event->contact_name}</p> <p><strong>Telephone:</strong> {$event->telephone}</p> <p><strong>Email:</strong> {$event->email_address}</p> </div>"; }} ?> -
I have set up a dropdown list for backend use: Created pages: Categories (template called categories) - category1 (template called category_item) - category2 - category3 Created field called category with page type = page and Input > Parent of selectable pages = Categories and Input > Template of selectable pages = category_item and Input field type = Select. I create a template including the field category, and create a page using this template and select the required option (category1) from the dropdown and save. If I go back and change the option to a different one (category2) from the original and save I find that both options are now assigned to that page (category1 | category2). If I change this to Field Type = AsmSelect I can see the two options listed in the page content area and can now delete the one not required. Is that how filed type = Select is supposed to work?
-
Idea for a community site - history timeline like Facebook
NooseLadder replied to NooseLadder's topic in General Support
Thanks for al your replies. MatthewSchenker: It looks like you will make time to start this before me as I am currently tied up on something else. It will be good to collaborate. I am also new to PW and consider myself an amature in this area, but will be glad to contribute as much as possible. I agree it would be good to incorporate this aspect as well and thanks for the links. I'll take a look at them shortly. How should we progress on this? Keep this thread going or something else? -
Hi, I'm currently building a Community website in PW and now planning 'history of the village' pages. This is where members of the community will send in stories, memories, photos etc. I was wondering how easy it would be to create a timeline like the one in Facebook, where the items are displayed by the date they occurred (not date added to timeline). Unlike Facebook the posts will have to be moderated (like Wordpress comments) before they appear on the timeline. I have no idea how to go about this so any thoughts will be greatly appreciated.